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:
@@ -6,17 +6,17 @@ SootopolisCity_House1_EventScript_22694D:: @ 822694D
|
||||
faceplayer
|
||||
checkflag FLAG_0x079
|
||||
goto_eq SootopolisCity_House1_EventScript_226984
|
||||
msgbox SootopolisCity_House1_Text_2269A1, 4
|
||||
msgbox SootopolisCity_House1_Text_2269A1, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM31
|
||||
compare VAR_RESULT, 0
|
||||
goto_eq SootopolisCity_House1_EventScript_272054
|
||||
setflag FLAG_0x079
|
||||
msgbox SootopolisCity_House1_Text_226A13, 4
|
||||
msgbox SootopolisCity_House1_Text_226A13, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_House1_EventScript_226984:: @ 8226984
|
||||
msgbox SootopolisCity_House1_Text_226A13, 4
|
||||
msgbox SootopolisCity_House1_Text_226A13, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
@@ -25,7 +25,7 @@ SootopolisCity_House1_EventScript_22698E:: @ 822698E
|
||||
faceplayer
|
||||
waitse
|
||||
playmoncry SPECIES_KECLEON, 0
|
||||
msgbox SootopolisCity_House1_Text_226A60, 4
|
||||
msgbox SootopolisCity_House1_Text_226A60, MSGBOX_DEFAULT
|
||||
waitmoncry
|
||||
release
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user