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:
@@ -10,7 +10,7 @@ FortreeCity_House1_EventScript_2162BB:: @ 82162BB
|
||||
copyvar VAR_0x8004, VAR_0x8008
|
||||
specialvar VAR_RESULT, sub_807E73C
|
||||
copyvar VAR_0x8009, VAR_RESULT
|
||||
msgbox FortreeCity_House1_Text_21637B, 5
|
||||
msgbox FortreeCity_House1_Text_21637B, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_eq FortreeCity_House1_EventScript_21633D
|
||||
special sub_81B94B0
|
||||
@@ -29,29 +29,29 @@ FortreeCity_House1_EventScript_2162BB:: @ 82162BB
|
||||
special sub_807F0E4
|
||||
waitstate
|
||||
bufferspeciesname 0, VAR_0x8009
|
||||
msgbox FortreeCity_House1_Text_216440, 4
|
||||
msgbox FortreeCity_House1_Text_216440, MSGBOX_DEFAULT
|
||||
setflag FLAG_0x09B
|
||||
release
|
||||
end
|
||||
|
||||
FortreeCity_House1_EventScript_21633D:: @ 821633D
|
||||
msgbox FortreeCity_House1_Text_21649F, 4
|
||||
msgbox FortreeCity_House1_Text_21649F, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
FortreeCity_House1_EventScript_216347:: @ 8216347
|
||||
bufferspeciesname 0, VAR_0x8009
|
||||
msgbox FortreeCity_House1_Text_216474, 4
|
||||
msgbox FortreeCity_House1_Text_216474, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
FortreeCity_House1_EventScript_216355:: @ 8216355
|
||||
msgbox FortreeCity_House1_Text_2164DB, 4
|
||||
msgbox FortreeCity_House1_Text_2164DB, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
FortreeCity_House1_EventScript_21635F:: @ 821635F
|
||||
msgbox FortreeCity_House1_Text_21653B, 2
|
||||
msgbox FortreeCity_House1_Text_21653B, MSGBOX_NPC
|
||||
end
|
||||
|
||||
FortreeCity_House1_EventScript_216368:: @ 8216368
|
||||
@@ -59,7 +59,7 @@ FortreeCity_House1_EventScript_216368:: @ 8216368
|
||||
faceplayer
|
||||
waitse
|
||||
playmoncry SPECIES_ZIGZAGOON, 0
|
||||
msgbox FortreeCity_House1_Text_216597, 4
|
||||
msgbox FortreeCity_House1_Text_216597, MSGBOX_DEFAULT
|
||||
waitmoncry
|
||||
release
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user