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
@@ -29,17 +29,17 @@ Route110_TrickHousePuzzle6_EventScript_26DDD6:: @ 826DDD6
Route110_TrickHousePuzzle6_EventScript_26DDE1:: @ 826DDE1
trainerbattle 0, TRAINER_SOPHIA, 0, Route110_TrickHousePuzzle6_Text_26DE93, Route110_TrickHousePuzzle6_Text_26DED2
msgbox Route110_TrickHousePuzzle6_Text_26DEF3, 6
msgbox Route110_TrickHousePuzzle6_Text_26DEF3, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle6_EventScript_26DDF8:: @ 826DDF8
trainerbattle 0, TRAINER_BENNY, 0, Route110_TrickHousePuzzle6_Text_26DF55, Route110_TrickHousePuzzle6_Text_26DF8D
msgbox Route110_TrickHousePuzzle6_Text_26DFA0, 6
msgbox Route110_TrickHousePuzzle6_Text_26DFA0, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle6_EventScript_26DE0F:: @ 826DE0F
trainerbattle 0, TRAINER_SEBASTIAN, 0, Route110_TrickHousePuzzle6_Text_26DFD7, Route110_TrickHousePuzzle6_Text_26E004
msgbox Route110_TrickHousePuzzle6_Text_26E048, 6
msgbox Route110_TrickHousePuzzle6_Text_26E048, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle6_Text_26DE26: @ 826DE26