pokeemerald/data/maps/MirageTower_4F/scripts.inc

80 lines
2.1 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
MirageTower_4F_MapScripts:: @ 823AD47
.byte 0
MirageTower_4F_EventScript_23AD48:: @ 823AD48
lock
faceplayer
msgbox MirageTower_4F_Text_23ADF9, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2018-12-22 02:28:24 +01:00
goto_if_eq MirageTower_4F_EventScript_23AD7F
2017-11-10 02:21:31 +01:00
giveitem_std ITEM_ROOT_FOSSIL
closemessage
2018-10-18 21:28:59 +02:00
setflag FLAG_HIDE_MIRAGE_TOWER_ROOT_FOSSIL
setflag FLAG_HIDE_MIRAGE_TOWER_CLAW_FOSSIL
2017-11-10 02:21:31 +01:00
removeobject 1
delay 30
setflag FLAG_CHOSE_ROOT_FOSSIL
2017-11-10 02:21:31 +01:00
goto MirageTower_4F_EventScript_23ADCA
end
MirageTower_4F_EventScript_23AD7F:: @ 823AD7F
msgbox MirageTower_4F_Text_23AE79, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
MirageTower_4F_EventScript_23AD89:: @ 823AD89
lock
faceplayer
msgbox MirageTower_4F_Text_23AE98, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2018-12-22 02:28:24 +01:00
goto_if_eq MirageTower_4F_EventScript_23ADC0
2017-11-10 02:21:31 +01:00
giveitem_std ITEM_CLAW_FOSSIL
closemessage
2018-10-18 21:28:59 +02:00
setflag FLAG_HIDE_MIRAGE_TOWER_CLAW_FOSSIL
setflag FLAG_HIDE_MIRAGE_TOWER_ROOT_FOSSIL
2017-11-10 02:21:31 +01:00
removeobject 2
delay 30
setflag FLAG_CHOSE_CLAW_FOSSIL
2017-11-10 02:21:31 +01:00
goto MirageTower_4F_EventScript_23ADCA
end
MirageTower_4F_EventScript_23ADC0:: @ 823ADC0
msgbox MirageTower_4F_Text_23AF18, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
MirageTower_4F_EventScript_23ADCA:: @ 823ADCA
2019-09-30 07:42:52 +02:00
setvar VAR_0x8004, 1 @ vertical pan
setvar VAR_0x8005, 1 @ horizontal pan
setvar VAR_0x8006, 32 @ num shakes
setvar VAR_0x8007, 2 @ shake delay
special ShakeCamera
2017-11-10 02:21:31 +01:00
waitstate
special DoMirageTowerCeilingCrumble
2017-11-10 02:21:31 +01:00
waitstate
2019-08-05 17:50:29 +02:00
setvar VAR_MIRAGE_TOWER_STATE, 1
2017-12-27 04:20:29 +01:00
clearflag FLAG_LANDMARK_MIRAGE_TOWER
warp MAP_ROUTE111, 255, 19, 59
2017-11-10 02:21:31 +01:00
waitstate
release
end
MirageTower_4F_Text_23ADF9: @ 823ADF9
.string "You found the ROOT FOSSIL.\p"
.string "If this FOSSIL is taken, the ground\n"
.string "around it will likely crumble away…\p"
.string "Take the ROOT FOSSIL anyway?$"
MirageTower_4F_Text_23AE79: @ 823AE79
.string "{PLAYER} left the ROOT FOSSIL alone.$"
MirageTower_4F_Text_23AE98: @ 823AE98
.string "You found the CLAW FOSSIL.\p"
.string "If this FOSSIL is taken, the ground\n"
.string "around it will likely crumble away…\p"
.string "Take the CLAW FOSSIL anyway?$"
MirageTower_4F_Text_23AF18: @ 823AF18
.string "{PLAYER} left the CLAW FOSSIL alone.$"