adds constants, cleans up callstd and msgbox code
* adds some constants for standard script names and messagebox types * replaces some callstd calls with msgbox calls where equivalent * replaces msgbox and callstd calls using raw digits with versions that use the constants
This commit is contained in:
@@ -5,7 +5,7 @@ SootopolisCity_LotadAndSeedotHouse_EventScript_22722B:: @ 822722B
|
||||
special GetSeedotSizeRecordInfo
|
||||
lock
|
||||
faceplayer
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227369, 4
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227369, MSGBOX_DEFAULT
|
||||
special sub_81B94B0
|
||||
waitstate
|
||||
copyvar VAR_RESULT, VAR_0x8004
|
||||
@@ -22,22 +22,22 @@ SootopolisCity_LotadAndSeedotHouse_EventScript_22722B:: @ 822722B
|
||||
end
|
||||
|
||||
SootopolisCity_LotadAndSeedotHouse_EventScript_227272:: @ 8227272
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_2275BC, 4
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_2275BC, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_LotadAndSeedotHouse_EventScript_22727C:: @ 822727C
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227584, 4
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227584, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_LotadAndSeedotHouse_EventScript_227286:: @ 8227286
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227544, 4
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227544, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_LotadAndSeedotHouse_EventScript_227290:: @ 8227290
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227480, 4
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227480, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_ELIXIR
|
||||
compare VAR_RESULT, 0
|
||||
goto_eq SootopolisCity_LotadAndSeedotHouse_EventScript_2272B2
|
||||
@@ -46,7 +46,7 @@ SootopolisCity_LotadAndSeedotHouse_EventScript_227290:: @ 8227290
|
||||
end
|
||||
|
||||
SootopolisCity_LotadAndSeedotHouse_EventScript_2272B2:: @ 82272B2
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227524, 4
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227524, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
@@ -54,7 +54,7 @@ SootopolisCity_LotadAndSeedotHouse_EventScript_2272BC:: @ 82272BC
|
||||
special GetLotadSizeRecordInfo
|
||||
lock
|
||||
faceplayer
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227676, 4
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227676, MSGBOX_DEFAULT
|
||||
special sub_81B94B0
|
||||
waitstate
|
||||
copyvar VAR_RESULT, VAR_0x8004
|
||||
@@ -71,22 +71,22 @@ SootopolisCity_LotadAndSeedotHouse_EventScript_2272BC:: @ 82272BC
|
||||
end
|
||||
|
||||
SootopolisCity_LotadAndSeedotHouse_EventScript_227303:: @ 8227303
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227896, 4
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227896, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_LotadAndSeedotHouse_EventScript_22730D:: @ 822730D
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227867, 4
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227867, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_LotadAndSeedotHouse_EventScript_227317:: @ 8227317
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_22782A, 4
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_22782A, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_LotadAndSeedotHouse_EventScript_227321:: @ 8227321
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_22776C, 4
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_22776C, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_ELIXIR
|
||||
compare VAR_RESULT, 0
|
||||
goto_eq SootopolisCity_LotadAndSeedotHouse_EventScript_227343
|
||||
@@ -95,21 +95,21 @@ SootopolisCity_LotadAndSeedotHouse_EventScript_227321:: @ 8227321
|
||||
end
|
||||
|
||||
SootopolisCity_LotadAndSeedotHouse_EventScript_227343:: @ 8227343
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_22780A, 4
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_22780A, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_LotadAndSeedotHouse_EventScript_22734D:: @ 822734D
|
||||
special GetSeedotSizeRecordInfo
|
||||
lockall
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227617, 4
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_227617, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
SootopolisCity_LotadAndSeedotHouse_EventScript_22735B:: @ 822735B
|
||||
special GetLotadSizeRecordInfo
|
||||
lockall
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_2278F2, 4
|
||||
msgbox SootopolisCity_LotadAndSeedotHouse_Text_2278F2, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user