pokeemerald/data/maps/DesertUnderpass/scripts.inc

35 lines
814 B
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
DesertUnderpass_MapScripts:: @ 823AF37
2019-04-05 01:28:37 +02:00
map_script MAP_SCRIPT_ON_TRANSITION, DesertUnderpass_OnTransition
2017-11-10 02:21:31 +01:00
.byte 0
2019-04-05 01:28:37 +02:00
DesertUnderpass_OnTransition: @ 823AF3D
2017-12-27 04:20:29 +01:00
setflag FLAG_LANDMARK_DESERT_UNDERPASS
2017-11-10 02:21:31 +01:00
end
DesertUnderpass_EventScript_23AF41:: @ 823AF41
lock
faceplayer
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_CHOSE_CLAW_FOSSIL, DesertUnderpass_EventScript_23AF57
goto_if_set FLAG_CHOSE_ROOT_FOSSIL, DesertUnderpass_EventScript_23AF68
2017-11-10 02:21:31 +01:00
release
end
DesertUnderpass_EventScript_23AF57:: @ 823AF57
giveitem_std ITEM_CLAW_FOSSIL
removeobject 1
release
end
DesertUnderpass_EventScript_23AF68:: @ 823AF68
giveitem_std ITEM_ROOT_FOSSIL
removeobject 1
release
end
DesertUnderpass_Text_23AF79:: @ 823AF79
.string "{PLAYER} found the ROOT FOSSIL.$"
DesertUnderpass_Text_23AF93:: @ 823AF93
.string "{PLAYER} found the CLAW FOSSIL.$"
2017-11-10 02:21:31 +01:00