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:
Melody
2018-12-02 03:37:46 -05:00
parent 145047d438
commit c557ac61ae
354 changed files with 4538 additions and 4531 deletions
+4 -4
View File
@@ -5,21 +5,21 @@ MossdeepCity_House1_EventScript_221FD6:: @ 8221FD6
lock
faceplayer
bufferleadmonspeciesname 0
msgbox MossdeepCity_House1_Text_22200F, 4
msgbox MossdeepCity_House1_Text_22200F, MSGBOX_DEFAULT
specialvar VAR_RESULT, GetPokeblockNameByMonNature
compare VAR_RESULT, 0
goto_eq MossdeepCity_House1_EventScript_221FFC
msgbox MossdeepCity_House1_Text_22201D, 4
msgbox MossdeepCity_House1_Text_22201D, MSGBOX_DEFAULT
release
end
MossdeepCity_House1_EventScript_221FFC:: @ 8221FFC
msgbox MossdeepCity_House1_Text_222068, 4
msgbox MossdeepCity_House1_Text_222068, MSGBOX_DEFAULT
release
end
MossdeepCity_House1_EventScript_222006:: @ 8222006
msgbox MossdeepCity_House1_Text_222099, 2
msgbox MossdeepCity_House1_Text_222099, MSGBOX_NPC
end
MossdeepCity_House1_Text_22200F: @ 822200F