Command	X	Y	Width	Height	NewX	NewY	Click	Draw	Condition	Format	NewWidth	NewHeight	Canvas	NewCanvas	Comment
erase canvas													SpLeft

STAGE Read

SCREEN					ScreenW	ScreenH			ReadRightSide						READ RIGHT SIDE

; Spells Top
	474	244	160	29				+						SpLeft
	484	255	1	1			+	-			160	29		SpLeft
icon UI-SpMskL							-	and						SpLeft
if empty	5												Game.PartyBuffs
icon %sSpBgL	1		22		1		-	+		ui				SpLeft
if empty	6												Game.PartyBuffs	
icon %sSpBgL	23		22		23		-	+		ui				SpLeft
if empty	0												Game.PartyBuffs	
icon %sSpBgL	47		22		47		-	+		ui				SpLeft
if empty	17												Game.PartyBuffs	
icon %sSpBgL	68		22		68		-	+		ui				SpLeft
if empty	12												Game.PartyBuffs	
icon %sSpBgL	90		22		90		-	+		ui				SpLeft
if empty	4												Game.PartyBuffs	
icon %sSpBgL	109		30		109		-	+		ui				SpLeft
if empty	1												Game.PartyBuffs	
icon %sSpBgL	140				140		-	+		ui				SpLeft
if

STAGE DrawView

SCREEN															RECOVER
			0	0					NoRecover					SpLeft
recover													SpLeft

STAGE DrawViewUI
SCREEN					ScreenW	ScreenH			MainMenuLike=0						DRAW VIEW
							+						SpLeft

STAGE Read

if									SmallDialog and btn>1						spellbook screen
var h	344														it got redefined since this section
pcx %sBtnS2					R-(btnW-btnSep)*(btn+3)-bx	h+dh-by				ui				Dialog	LTR to the left of attack spell
pcx %sBtnS3					R-(btnW-btnSep)*(btn+2)-bx	h+dh-by				ui				Dialog	(or quick spell if not present)
pcx %sBtnS4					R-(btnW-btnSep)*(btn+1)-bx	h+dh-by				ui				Dialog
pcx %sBtnS5					R-(btnW-btnSep)*btn-bx	h+dh-by				ui				Dialog
	518-24	416	1	1	R-(btnW-btnSep)*(btn+3)-bx	h+dh-by	+	-			55	17 + NoPartyDlg		Dialog	+1 to XY to ensure it's clickable
	518+30	416	1	1	R-(btnW-btnSep)*(btn+2)-bx	h+dh-by	+	-			55	17 + NoPartyDlg		Dialog	+1 to XY to ensure it's clickable
	518+30+24	416	1	1	R-(btnW-btnSep)*(btn+1)-bx	h+dh-by	+	-			55	17 + NoPartyDlg		Dialog	+1 to XY to ensure it's clickable
	518+30+24*2	416	1	1	R-(btnW-btnSep)*btn-bx	h+dh-by	+	-			55	17 + NoPartyDlg		Dialog	+1 to XY to ensure it's clickable
if

SCREEN					fw	fh			MidDialog and s13 and Game.HouseScreen=98						confirm order screen
	519	410	75	26	DlgBtnX0	DlgBtnY+40	+	+	MidDialog and s13 and Game.HouseScreen=98					Dialog	order button
