pokeemerald/data/maps/Route114_FossilManiacsTunnel/scripts.inc

94 lines
3.1 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
Route114_FossilManiacsTunnel_MapScripts:: @ 822AF28
map_script 3, Route114_FossilManiacsTunnel_MapScript1_22AF33
map_script 1, Route114_FossilManiacsTunnel_MapScript1_22AF49
.byte 0
Route114_FossilManiacsTunnel_MapScript1_22AF33: @ 822AF33
2018-12-22 03:32:45 +01:00
call_if_set FLAG_SYS_GAME_CLEAR, Route114_FossilManiacsTunnel_EventScript_22AF3D
2017-11-10 02:21:31 +01:00
end
Route114_FossilManiacsTunnel_EventScript_22AF3D:: @ 822AF3D
setobjectxyperm 1, 6, 5
setobjectmovementtype 1, 8
return
Route114_FossilManiacsTunnel_MapScript1_22AF49: @ 822AF49
2018-12-22 03:32:45 +01:00
call_if_unset FLAG_SYS_GAME_CLEAR, Route114_FossilManiacsTunnel_EventScript_22AF53
2017-11-10 02:21:31 +01:00
end
Route114_FossilManiacsTunnel_EventScript_22AF53:: @ 822AF53
setmetatile 6, 1, 617, 1
setmetatile 6, 2, 617, 1
return
Route114_FossilManiacsTunnel_EventScript_22AF66:: @ 822AF66
lockall
applymovement 1, Route114_FossilManiacsTunnel_Movement_2725A6
applymovement EVENT_OBJ_ID_PLAYER, Route114_FossilManiacsTunnel_Movement_2725AA
2017-11-10 02:21:31 +01:00
waitmovement 0
msgbox Route114_FossilManiacsTunnel_Text_22B1F7, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
setvar VAR_0x40CC, 2
releaseall
end
Route114_FossilManiacsTunnel_EventScript_22AF87:: @ 822AF87
lock
faceplayer
2018-12-22 02:28:24 +01:00
goto_if_set FLAG_0x10B, Route114_FossilManiacsTunnel_EventScript_22AFC6
2017-11-10 02:21:31 +01:00
checkitem ITEM_ROOT_FOSSIL, 1
compare VAR_RESULT, 1
2018-12-22 02:28:24 +01:00
goto_if_eq Route114_FossilManiacsTunnel_EventScript_22AFBC
2017-11-10 02:21:31 +01:00
checkitem ITEM_CLAW_FOSSIL, 1
compare VAR_RESULT, 1
2018-12-22 02:28:24 +01:00
goto_if_eq Route114_FossilManiacsTunnel_EventScript_22AFBC
msgbox Route114_FossilManiacsTunnel_Text_22AFD0, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route114_FossilManiacsTunnel_EventScript_22AFBC:: @ 822AFBC
msgbox Route114_FossilManiacsTunnel_Text_22B0D6, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route114_FossilManiacsTunnel_EventScript_22AFC6:: @ 822AFC6
msgbox Route114_FossilManiacsTunnel_Text_22B1CC, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
Route114_FossilManiacsTunnel_Text_22AFD0: @ 822AFD0
2018-12-07 16:41:08 +01:00
.string "I'm the FOSSIL MANIAC…\n"
.string "I'm a nice guy who loves FOSSILS…\p"
2017-11-10 02:21:31 +01:00
.string "Do you want a FOSSIL?\p"
.string "But the FOSSILS around these parts all\n"
.string "belong to me… None for you…\p"
2018-12-07 16:41:08 +01:00
.string "If you can't bear to go without\n"
2017-11-10 02:21:31 +01:00
.string "a FOSSIL, look in a desert where there\l"
.string "are boulders and sand that may hide\l"
.string "FOSSILS…$"
Route114_FossilManiacsTunnel_Text_22B0D6: @ 822B0D6
2018-12-07 16:41:08 +01:00
.string "You found a FOSSIL, didn't you?\n"
.string "That's so nice… It's so dreamy…\p"
2017-11-10 02:21:31 +01:00
.string "What are you going to do with that\n"
.string "FOSSIL?\p"
2018-12-07 16:41:08 +01:00
.string "From what I've heard, DEVON is doing\n"
2017-11-10 02:21:31 +01:00
.string "research on reviving POKéMON from\l"
.string "FOSSILS…\p"
.string "I love my FOSSILS, so I would never\n"
.string "do anything like that…$"
Route114_FossilManiacsTunnel_Text_22B1CC: @ 822B1CC
.string "FOSSILS are so… Wonderful…\n"
2018-12-07 16:41:08 +01:00
.string "It's so dreamy…$"
2017-11-10 02:21:31 +01:00
Route114_FossilManiacsTunnel_Text_22B1F7: @ 822B1F7
.string "Oh…\n"
2018-12-07 16:41:08 +01:00
.string "It's not safe that way…\p"
2017-11-10 02:21:31 +01:00
.string "I was digging away, you see…\n"
.string "When the whole wall collapsed…\p"
2018-12-07 16:41:08 +01:00
.string "I think there's a giant cavern\n"
2017-11-10 02:21:31 +01:00
.string "underneath now…\p"
2018-12-07 16:41:08 +01:00
.string "But I've left it alone because I don't\n"
2017-11-10 02:21:31 +01:00
.string "think there are any FOSSILS there…$"