summaryrefslogtreecommitdiff
path: root/data/scripts/magma_chimney.inc
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-02-07 00:40:22 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2018-02-07 00:40:22 -0500
commitdcd35c895cb1c5680f92360cb084e6924ed3b76f (patch)
treee3b12bfd9f67e1237832602f03fe5bfd7380ab0b /data/scripts/magma_chimney.inc
parenteff6795887cc27f2c5139df9a6da70f4f02338b4 (diff)
parentc79d259508d47a8b5bde5b9060b8fe8c6989bd44 (diff)
Merge branch 'master' into unk_text_8095904
Diffstat (limited to 'data/scripts/magma_chimney.inc')
-rw-r--r--data/scripts/magma_chimney.inc16
1 files changed, 7 insertions, 9 deletions
diff --git a/data/scripts/magma_chimney.inc b/data/scripts/magma_chimney.inc
index d104b52d4..ed81e6628 100644
--- a/data/scripts/magma_chimney.inc
+++ b/data/scripts/magma_chimney.inc
@@ -1,10 +1,8 @@
MtChimney_EventScript_1B2C95:: @ 81B2C95
lock
faceplayer
- checkflag FLAG_EVIL_LEADER_PLEASE_STOP
- call_if 0, MtChimney_EventScript_1B2CB9
- checkflag FLAG_EVIL_LEADER_PLEASE_STOP
- call_if 1, MtChimney_EventScript_1B2CC2
+ call_if_unset FLAG_EVIL_LEADER_PLEASE_STOP, MtChimney_EventScript_1B2CB9
+ call_if_set FLAG_EVIL_LEADER_PLEASE_STOP, MtChimney_EventScript_1B2CC2
closemessage
applymovement 1, MtChimney_Movement_1A083D
waitmovement 0
@@ -37,7 +35,7 @@ MtChimney_EventScript_1B2CCB:: @ 81B2CCB
.endif
applymovement 2, MtChimney_Movement_1A0839
waitmovement 0
- playse 21
+ playse SE_PIN
applymovement 2, MtChimney_Movement_1A0833
waitmovement 0
applymovement 2, MtChimney_Movement_1A0835
@@ -68,9 +66,9 @@ MtChimney_EventScript_1B2CCB:: @ 81B2CCB
setobjectxyperm 1, 10, 12
addobject 1
compare FACING, 4
- call_if 1, MtChimney_EventScript_1B2D7D
+ call_if_eq MtChimney_EventScript_1B2D7D
compare FACING, 2
- call_if 1, MtChimney_EventScript_1B2D88
+ call_if_eq MtChimney_EventScript_1B2D88
applymovement 255, MtChimney_Movement_1A083F
waitmovement 0
.ifdef SAPPHIRE
@@ -80,9 +78,9 @@ MtChimney_EventScript_1B2CCB:: @ 81B2CCB
.endif
closemessage
compare FACING, 4
- call_if 1, MtChimney_EventScript_1B2D93
+ call_if_eq MtChimney_EventScript_1B2D93
compare FACING, 2
- call_if 1, MtChimney_EventScript_1B2D9E
+ call_if_eq MtChimney_EventScript_1B2D9E
removeobject 1
setflag FLAG_HIDE_OTEHR_TEAM_MT_CHIMNEY
setflag FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY