summaryrefslogtreecommitdiff
path: root/data/maps/Route20
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-01-12 17:04:23 -0500
committerGitHub <noreply@github.com>2020-01-12 17:04:23 -0500
commit92d99d4fd2e5579372b9f4cc39468000553ba3a8 (patch)
tree4ff8e60d1ad6a25dad888a4e78011624b46ad9ec /data/maps/Route20
parent15ff7eb2f87032797f6ce9ef9bb471c468b48a36 (diff)
parent0676e732869d0e62322b001cbab57b8500361005 (diff)
Merge pull request #207 from GriffinRichards/sync-script
Sync scripts with pokeemerald
Diffstat (limited to 'data/maps/Route20')
-rw-r--r--data/maps/Route20/scripts.inc12
1 files changed, 5 insertions, 7 deletions
diff --git a/data/maps/Route20/scripts.inc b/data/maps/Route20/scripts.inc
index be0098a71..a034c3610 100644
--- a/data/maps/Route20/scripts.inc
+++ b/data/maps/Route20/scripts.inc
@@ -1,12 +1,10 @@
Route20_MapScripts:: @ 816823B
- map_script 3, Route20_MapScript1_168241
+ map_script MAP_SCRIPT_ON_TRANSITION, Route20_OnTransition
.byte 0
-Route20_MapScript1_168241:: @ 8168241
- checkflag FLAG_STOPPED_SEAFOAM_B3F_CURRENT
- call_if FALSE, EventScript_168254
- checkflag FLAG_STOPPED_SEAFOAM_B4F_CURRENT
- call_if FALSE, EventScript_16826D
+Route20_OnTransition:: @ 8168241
+ call_if_unset FLAG_STOPPED_SEAFOAM_B3F_CURRENT, EventScript_168254
+ call_if_unset FLAG_STOPPED_SEAFOAM_B4F_CURRENT, EventScript_16826D
end
EventScript_168254:: @ 8168254
@@ -30,5 +28,5 @@ EventScript_16826D:: @ 816826D
return
Route20_EventScript_168280:: @ 8168280
- msgbox gUnknown_81882D1, 3
+ msgbox gUnknown_81882D1, MSGBOX_SIGN
end