summaryrefslogtreecommitdiff
path: root/data/maps/Route129
diff options
context:
space:
mode:
authorMelody <melody@pallet.town>2018-12-02 03:37:46 -0500
committerMelody <melody@pallet.town>2018-12-02 03:37:46 -0500
commitc557ac61aef788f1630d3960dd2366bf000db8e0 (patch)
tree305dfa97c9dbceaa197cc3de648d69962a14c26d /data/maps/Route129
parent145047d4389c68052ed8a5f4c1760238112004f3 (diff)
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
Diffstat (limited to 'data/maps/Route129')
-rw-r--r--data/maps/Route129/scripts.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/maps/Route129/scripts.inc b/data/maps/Route129/scripts.inc
index 170d87e56..c9cb8a305 100644
--- a/data/maps/Route129/scripts.inc
+++ b/data/maps/Route129/scripts.inc
@@ -33,26 +33,26 @@ Route129_MapScript2_1F72E2: @ 81F72E2
Route129_EventScript_1F72EC:: @ 81F72EC
trainerbattle 0, TRAINER_CHASE, 0, Route129_Text_2A2F66, Route129_Text_2A2F9D
- msgbox Route129_Text_2A2FB9, 6
+ msgbox Route129_Text_2A2FB9, MSGBOX_AUTOCLOSE
end
Route129_EventScript_1F7303:: @ 81F7303
trainerbattle 0, TRAINER_ALLISON, 0, Route129_Text_2A2FF2, Route129_Text_2A3034
- msgbox Route129_Text_2A3048, 6
+ msgbox Route129_Text_2A3048, MSGBOX_AUTOCLOSE
end
Route129_EventScript_1F731A:: @ 81F731A
trainerbattle 0, TRAINER_REED, 0, Route129_Text_2A30CD, Route129_Text_2A30F1
- msgbox Route129_Text_2A3114, 6
+ msgbox Route129_Text_2A3114, MSGBOX_AUTOCLOSE
end
Route129_EventScript_1F7331:: @ 81F7331
trainerbattle 0, TRAINER_TISHA, 0, Route129_Text_2A314E, Route129_Text_2A317D
- msgbox Route129_Text_2A31A6, 6
+ msgbox Route129_Text_2A31A6, MSGBOX_AUTOCLOSE
end
Route129_EventScript_1F7348:: @ 81F7348
trainerbattle 0, TRAINER_CLARENCE, 0, Route129_Text_2A3204, Route129_Text_2A3239
- msgbox Route129_Text_2A3252, 6
+ msgbox Route129_Text_2A3252, MSGBOX_AUTOCLOSE
end