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,12 +6,12 @@ MossdeepCity_House4_EventScript_222DD8:: @ 8222DD8
|
||||
faceplayer
|
||||
checkflag FLAG_SYS_GAME_CLEAR
|
||||
goto_eq MossdeepCity_House4_EventScript_222DED
|
||||
msgbox MossdeepCity_House4_Text_222E31, 4
|
||||
msgbox MossdeepCity_House4_Text_222E31, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_House4_EventScript_222DED:: @ 8222DED
|
||||
msgbox MossdeepCity_House4_Text_222E73, 4
|
||||
msgbox MossdeepCity_House4_Text_222E73, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
@@ -22,12 +22,12 @@ MossdeepCity_House4_EventScript_222DF7:: @ 8222DF7
|
||||
compare VAR_RESULT, 0
|
||||
goto_eq MossdeepCity_House4_EventScript_222E14
|
||||
special GetSecretBaseNearbyMapName
|
||||
msgbox MossdeepCity_House4_Text_222ECC, 4
|
||||
msgbox MossdeepCity_House4_Text_222ECC, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_House4_EventScript_222E14:: @ 8222E14
|
||||
msgbox MossdeepCity_House4_Text_222EF7, 4
|
||||
msgbox MossdeepCity_House4_Text_222EF7, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
@@ -36,7 +36,7 @@ MossdeepCity_House4_EventScript_222E1E:: @ 8222E1E
|
||||
faceplayer
|
||||
waitse
|
||||
playmoncry SPECIES_SKITTY, 0
|
||||
msgbox MossdeepCity_House4_Text_222F31, 4
|
||||
msgbox MossdeepCity_House4_Text_222F31, MSGBOX_DEFAULT
|
||||
waitmoncry
|
||||
release
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user