Document Fossil Maniac and Berry Master route houses

This commit is contained in:
GriffinR
2019-11-06 14:06:06 -05:00
committed by huderlem
parent 7d5d12877e
commit fbc3eee1f2
15 changed files with 165 additions and 146 deletions
@@ -1,61 +1,61 @@
Route114_FossilManiacsTunnel_MapScripts:: @ 822AF28
map_script MAP_SCRIPT_ON_TRANSITION, Route114_FossilManiacsTunnel_OnTransition
map_script MAP_SCRIPT_ON_LOAD, Route114_FossilManiacsTunnel_MapScript1_22AF49
map_script MAP_SCRIPT_ON_LOAD, Route114_FossilManiacsTunnel_OnLoad
.byte 0
Route114_FossilManiacsTunnel_OnTransition: @ 822AF33
call_if_set FLAG_SYS_GAME_CLEAR, Route114_FossilManiacsTunnel_EventScript_22AF3D
call_if_set FLAG_SYS_GAME_CLEAR, Route114_FossilManiacsTunnel_EventScript_MoveFossilManiac
end
Route114_FossilManiacsTunnel_EventScript_22AF3D:: @ 822AF3D
Route114_FossilManiacsTunnel_EventScript_MoveFossilManiac:: @ 822AF3D
setobjectxyperm 1, 6, 5
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_DOWN
return
Route114_FossilManiacsTunnel_MapScript1_22AF49: @ 822AF49
call_if_unset FLAG_SYS_GAME_CLEAR, Route114_FossilManiacsTunnel_EventScript_22AF53
Route114_FossilManiacsTunnel_OnLoad: @ 822AF49
call_if_unset FLAG_SYS_GAME_CLEAR, Route114_FossilManiacsTunnel_EventScript_CloseDesertUnderpass
end
Route114_FossilManiacsTunnel_EventScript_22AF53:: @ 822AF53
Route114_FossilManiacsTunnel_EventScript_CloseDesertUnderpass:: @ 822AF53
setmetatile 6, 1, METATILE_Fallarbor_RedRockWall, 1
setmetatile 6, 2, METATILE_Fallarbor_RedRockWall, 1
return
Route114_FossilManiacsTunnel_EventScript_22AF66:: @ 822AF66
Route114_FossilManiacsTunnel_EventScript_ManiacMentionCaveIn:: @ 822AF66
lockall
applymovement 1, Common_Movement_WalkInPlaceFastestUp
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
msgbox Route114_FossilManiacsTunnel_Text_22B1F7, MSGBOX_DEFAULT
msgbox Route114_FossilManiacsTunnel_Text_NotSafeThatWay, MSGBOX_DEFAULT
setvar VAR_FOSSIL_MANIAC_STATE, 2
releaseall
end
Route114_FossilManiacsTunnel_EventScript_22AF87:: @ 822AF87
Route114_FossilManiacsTunnel_EventScript_FossilManiac:: @ 822AF87
lock
faceplayer
goto_if_set FLAG_RECEIVED_REVIVED_FOSSIL_MON, Route114_FossilManiacsTunnel_EventScript_22AFC6
goto_if_set FLAG_RECEIVED_REVIVED_FOSSIL_MON, Route114_FossilManiacsTunnel_EventScript_PlayerRevivedFossil
checkitem ITEM_ROOT_FOSSIL, 1
compare VAR_RESULT, 1
goto_if_eq Route114_FossilManiacsTunnel_EventScript_22AFBC
compare VAR_RESULT, TRUE
goto_if_eq Route114_FossilManiacsTunnel_EventScript_PlayerHasFossil
checkitem ITEM_CLAW_FOSSIL, 1
compare VAR_RESULT, 1
goto_if_eq Route114_FossilManiacsTunnel_EventScript_22AFBC
msgbox Route114_FossilManiacsTunnel_Text_22AFD0, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq Route114_FossilManiacsTunnel_EventScript_PlayerHasFossil
msgbox Route114_FossilManiacsTunnel_Text_LookInDesertForFossils, MSGBOX_DEFAULT
release
end
Route114_FossilManiacsTunnel_EventScript_22AFBC:: @ 822AFBC
msgbox Route114_FossilManiacsTunnel_Text_22B0D6, MSGBOX_DEFAULT
Route114_FossilManiacsTunnel_EventScript_PlayerHasFossil:: @ 822AFBC
msgbox Route114_FossilManiacsTunnel_Text_DevonCorpRevivingFossils, MSGBOX_DEFAULT
release
end
Route114_FossilManiacsTunnel_EventScript_22AFC6:: @ 822AFC6
msgbox Route114_FossilManiacsTunnel_Text_22B1CC, MSGBOX_DEFAULT
Route114_FossilManiacsTunnel_EventScript_PlayerRevivedFossil:: @ 822AFC6
msgbox Route114_FossilManiacsTunnel_Text_FossilsAreWonderful, MSGBOX_DEFAULT
release
end
Route114_FossilManiacsTunnel_Text_22AFD0: @ 822AFD0
Route114_FossilManiacsTunnel_Text_LookInDesertForFossils: @ 822AFD0
.string "I'm the FOSSIL MANIAC…\n"
.string "I'm a nice guy who loves FOSSILS…\p"
.string "Do you want a FOSSIL?\p"
@@ -66,7 +66,7 @@ Route114_FossilManiacsTunnel_Text_22AFD0: @ 822AFD0
.string "are boulders and sand that may hide\l"
.string "FOSSILS…$"
Route114_FossilManiacsTunnel_Text_22B0D6: @ 822B0D6
Route114_FossilManiacsTunnel_Text_DevonCorpRevivingFossils: @ 822B0D6
.string "You found a FOSSIL, didn't you?\n"
.string "That's so nice… It's so dreamy…\p"
.string "What are you going to do with that\n"
@@ -77,11 +77,11 @@ Route114_FossilManiacsTunnel_Text_22B0D6: @ 822B0D6
.string "I love my FOSSILS, so I would never\n"
.string "do anything like that…$"
Route114_FossilManiacsTunnel_Text_22B1CC: @ 822B1CC
Route114_FossilManiacsTunnel_Text_FossilsAreWonderful: @ 822B1CC
.string "FOSSILS are so… Wonderful…\n"
.string "It's so dreamy…$"
Route114_FossilManiacsTunnel_Text_22B1F7: @ 822B1F7
Route114_FossilManiacsTunnel_Text_NotSafeThatWay: @ 822B1F7
.string "Oh…\n"
.string "It's not safe that way…\p"
.string "I was digging away, you see…\n"