Merge pull request #880 from GriffinRichards/doc-trickhouse

Document Trick House scripts
This commit is contained in:
huderlem
2019-11-09 08:48:49 -06:00
committed by GitHub
25 changed files with 1275 additions and 1269 deletions

View File

@@ -3,6 +3,6 @@ Route110_TrickHouseCorridor_MapScripts:: @ 826B903
.byte 0
Route110_TrickHouseCorridor_OnTransition: @ 826B909
setvar VAR_TRICK_HOUSE_STATE, 1
setvar VAR_TRICK_HOUSE_ENTER_FROM_CORRIDOR, 1
end

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHouseEnd_EventScript_26AD17",
"script": "Route110_TrickHouseEnd_EventScript_TrickMaster",
"flag": "FLAG_HIDE_TRICK_HOUSE_END_MAN"
}
],
@@ -52,7 +52,7 @@
"elevation": 3,
"var": "VAR_TEMP_2",
"var_value": "0",
"script": "Route110_TrickHouseEnd_EventScript_26B041"
"script": "Route110_TrickHouseEnd_EventScript_TrickMasterExitTrigger"
}
],
"bg_events": [

View File

@@ -1,13 +1,13 @@
Route110_TrickHouseEnd_MapScripts:: @ 826ACAF
map_script MAP_SCRIPT_ON_RESUME, Route110_TrickHouseEnd_MapScript1_26ACC4
map_script MAP_SCRIPT_ON_RESUME, Route110_TrickHouseEnd_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, Route110_TrickHouseEnd_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route110_TrickHouseEnd_MapScript2_26ACF5
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, Route110_TrickHouseEnd_MapScript2_26ACDE
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route110_TrickHouseEnd_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, Route110_TrickHouseEnd_OnWarp
.byte 0
Route110_TrickHouseEnd_MapScript1_26ACC4: @ 826ACC4
Route110_TrickHouseEnd_OnResume: @ 826ACC4
compare VAR_TEMP_1, 1
call_if_eq Route110_TrickHouseEnd_EventScript_26AD0D
call_if_eq Route110_TrickHouseEnd_EventScript_SetDoorClosedMetatile
end
Route110_TrickHouseEnd_OnTransition: @ 826ACD0
@@ -16,306 +16,306 @@ Route110_TrickHouseEnd_OnTransition: @ 826ACD0
special SetTrickHouseEndRoomFlag
end
Route110_TrickHouseEnd_MapScript2_26ACDE: @ 826ACDE
map_script_2 VAR_TEMP_2, 0, Route110_TrickHouseEnd_EventScript_26ACE8
Route110_TrickHouseEnd_OnWarp: @ 826ACDE
map_script_2 VAR_TEMP_2, 0, Route110_TrickHouseEnd_EventScript_SetTrickMasterPos
.2byte 0
Route110_TrickHouseEnd_EventScript_26ACE8:: @ 826ACE8
Route110_TrickHouseEnd_EventScript_SetTrickMasterPos:: @ 826ACE8
addobject 1
showobjectat 1, MAP_ROUTE110_TRICK_HOUSE_END
turnobject 1, DIR_EAST
end
Route110_TrickHouseEnd_MapScript2_26ACF5: @ 826ACF5
map_script_2 VAR_TEMP_1, 0, Route110_TrickHouseEnd_EventScript_26ACFF
Route110_TrickHouseEnd_OnFrame: @ 826ACF5
map_script_2 VAR_TEMP_1, 0, Route110_TrickHouseEnd_EventScript_CloseDoor
.2byte 0
Route110_TrickHouseEnd_EventScript_26ACFF:: @ 826ACFF
Route110_TrickHouseEnd_EventScript_CloseDoor:: @ 826ACFF
setvar VAR_TEMP_1, 1
call Route110_TrickHouseEnd_EventScript_26AD0D
call Route110_TrickHouseEnd_EventScript_SetDoorClosedMetatile
special DrawWholeMapView
end
Route110_TrickHouseEnd_EventScript_26AD0D:: @ 826AD0D
Route110_TrickHouseEnd_EventScript_SetDoorClosedMetatile:: @ 826AD0D
setmetatile 10, 1, METATILE_GenericBuilding_TrickHouse_Door_Closed, 1
return
Route110_TrickHouseEnd_EventScript_26AD17:: @ 826AD17
Route110_TrickHouseEnd_EventScript_TrickMaster:: @ 826AD17
lock
faceplayer
msgbox Route110_TrickHouseEnd_Text_26B08D, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_YouveMadeItToMe, MSGBOX_DEFAULT
setvar VAR_TEMP_2, 1
switch VAR_TRICK_HOUSE_LEVEL
case 0, Route110_TrickHouseEnd_EventScript_26AD84
case 1, Route110_TrickHouseEnd_EventScript_26ADC0
case 2, Route110_TrickHouseEnd_EventScript_26ADFC
case 3, Route110_TrickHouseEnd_EventScript_26AE38
case 4, Route110_TrickHouseEnd_EventScript_26AE74
case 5, Route110_TrickHouseEnd_EventScript_26AEB0
case 6, Route110_TrickHouseEnd_EventScript_26AEEC
case 7, Route110_TrickHouseEnd_EventScript_26AF28
case 0, Route110_TrickHouseEnd_EventScript_CompletedPuzzle1
case 1, Route110_TrickHouseEnd_EventScript_CompletedPuzzle2
case 2, Route110_TrickHouseEnd_EventScript_CompletedPuzzle3
case 3, Route110_TrickHouseEnd_EventScript_CompletedPuzzle4
case 4, Route110_TrickHouseEnd_EventScript_CompletedPuzzle5
case 5, Route110_TrickHouseEnd_EventScript_CompletedPuzzle6
case 6, Route110_TrickHouseEnd_EventScript_CompletedPuzzle7
case 7, Route110_TrickHouseEnd_EventScript_CompletedPuzzle8
end
Route110_TrickHouseEnd_EventScript_26AD84:: @ 826AD84
msgbox Route110_TrickHouseEnd_Text_26B0BC, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_26B73D, MSGBOX_DEFAULT
Route110_TrickHouseEnd_EventScript_CompletedPuzzle1:: @ 826AD84
msgbox Route110_TrickHouseEnd_Text_AllNightToPlantTrees, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
giveitem_std ITEM_RARE_CANDY
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_26AFEF
msgbox Route110_TrickHouseEnd_Text_26B7EF, MSGBOX_DEFAULT
compare VAR_RESULT, FALSE
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
closemessage
call Route110_TrickHouseEnd_EventScript_26AFCF
call Route110_TrickHouseEnd_EventScript_TrickMasterExit
release
end
Route110_TrickHouseEnd_EventScript_26ADC0:: @ 826ADC0
msgbox Route110_TrickHouseEnd_Text_26B13B, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_26B73D, MSGBOX_DEFAULT
Route110_TrickHouseEnd_EventScript_CompletedPuzzle2:: @ 826ADC0
msgbox Route110_TrickHouseEnd_Text_AllNightToMakeMaze, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
giveitem_std ITEM_TIMER_BALL
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_26AFEF
msgbox Route110_TrickHouseEnd_Text_26B7EF, MSGBOX_DEFAULT
compare VAR_RESULT, FALSE
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
closemessage
call Route110_TrickHouseEnd_EventScript_26AFCF
call Route110_TrickHouseEnd_EventScript_TrickMasterExit
release
end
Route110_TrickHouseEnd_EventScript_26ADFC:: @ 826ADFC
msgbox Route110_TrickHouseEnd_Text_26B1AD, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_26B73D, MSGBOX_DEFAULT
Route110_TrickHouseEnd_EventScript_CompletedPuzzle3:: @ 826ADFC
msgbox Route110_TrickHouseEnd_Text_AllNightToPreparePanels, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
giveitem_std ITEM_HARD_STONE
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_26AFEF
msgbox Route110_TrickHouseEnd_Text_26B7EF, MSGBOX_DEFAULT
compare VAR_RESULT, FALSE
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
closemessage
call Route110_TrickHouseEnd_EventScript_26AFCF
call Route110_TrickHouseEnd_EventScript_TrickMasterExit
release
end
Route110_TrickHouseEnd_EventScript_26AE38:: @ 826AE38
msgbox Route110_TrickHouseEnd_Text_26B223, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_26B73D, MSGBOX_DEFAULT
Route110_TrickHouseEnd_EventScript_CompletedPuzzle4:: @ 826AE38
msgbox Route110_TrickHouseEnd_Text_AllNightToShoveBoulders, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
giveitem_std ITEM_SMOKE_BALL
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_26AFEF
msgbox Route110_TrickHouseEnd_Text_26B7EF, MSGBOX_DEFAULT
compare VAR_RESULT, FALSE
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
closemessage
call Route110_TrickHouseEnd_EventScript_26AFCF
call Route110_TrickHouseEnd_EventScript_TrickMasterExit
release
end
Route110_TrickHouseEnd_EventScript_26AE74:: @ 826AE74
msgbox Route110_TrickHouseEnd_Text_26B293, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_26B73D, MSGBOX_DEFAULT
Route110_TrickHouseEnd_EventScript_CompletedPuzzle5:: @ 826AE74
msgbox Route110_TrickHouseEnd_Text_AllNightToMakeMechadolls, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
giveitem_std ITEM_TM12
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_26AFEF
msgbox Route110_TrickHouseEnd_Text_26B7EF, MSGBOX_DEFAULT
compare VAR_RESULT, FALSE
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
closemessage
call Route110_TrickHouseEnd_EventScript_26AFCF
call Route110_TrickHouseEnd_EventScript_TrickMasterExit
release
end
Route110_TrickHouseEnd_EventScript_26AEB0:: @ 826AEB0
msgbox Route110_TrickHouseEnd_Text_26B315, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_26B73D, MSGBOX_DEFAULT
Route110_TrickHouseEnd_EventScript_CompletedPuzzle6:: @ 826AEB0
msgbox Route110_TrickHouseEnd_Text_AllNightToInstallDoors, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
giveitem_std ITEM_MAGNET
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_26AFEF
msgbox Route110_TrickHouseEnd_Text_26B7EF, MSGBOX_DEFAULT
compare VAR_RESULT, FALSE
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
closemessage
call Route110_TrickHouseEnd_EventScript_26AFCF
call Route110_TrickHouseEnd_EventScript_TrickMasterExit
release
end
Route110_TrickHouseEnd_EventScript_26AEEC:: @ 826AEEC
msgbox Route110_TrickHouseEnd_Text_26B365, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_26B73D, MSGBOX_DEFAULT
Route110_TrickHouseEnd_EventScript_CompletedPuzzle7:: @ 826AEEC
msgbox Route110_TrickHouseEnd_Text_AllNightSettingUpArrows, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
giveitem_std ITEM_PP_MAX
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_26AFEF
msgbox Route110_TrickHouseEnd_Text_26B7EF, MSGBOX_DEFAULT
compare VAR_RESULT, FALSE
call_if_eq Route110_TrickHouseEnd_EventScript_BagFull
msgbox Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou, MSGBOX_DEFAULT
closemessage
call Route110_TrickHouseEnd_EventScript_26AFCF
call Route110_TrickHouseEnd_EventScript_TrickMasterExit
release
end
Route110_TrickHouseEnd_EventScript_26AF28:: @ 826AF28
msgbox Route110_TrickHouseEnd_Text_26B3AB, MSGBOX_DEFAULT
Route110_TrickHouseEnd_EventScript_CompletedPuzzle8:: @ 826AF28
msgbox Route110_TrickHouseEnd_Text_AllNightPolishingFloors, MSGBOX_DEFAULT
closemessage
compare VAR_FACING, DIR_SOUTH
call_if_eq Route110_TrickHouseEnd_EventScript_26B015
call_if_eq Route110_TrickHouseEnd_EventScript_TrickMasterFaceAwaySouth
compare VAR_FACING, DIR_NORTH
call_if_eq Route110_TrickHouseEnd_EventScript_26B020
call_if_eq Route110_TrickHouseEnd_EventScript_TrickMasterFaceAwayNorth
compare VAR_FACING, DIR_WEST
call_if_eq Route110_TrickHouseEnd_EventScript_26B02B
call_if_eq Route110_TrickHouseEnd_EventScript_TrickMasterFaceAwayWest
compare VAR_FACING, DIR_EAST
call_if_eq Route110_TrickHouseEnd_EventScript_26B036
call_if_eq Route110_TrickHouseEnd_EventScript_TrickMasterFaceAwayEast
delay 30
msgbox Route110_TrickHouseEnd_Text_26B3FA, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_FountainOfIdeasRunDry, MSGBOX_DEFAULT
closemessage
applymovement 1, Common_Movement_FacePlayer
waitmovement 0
delay 30
msgbox Route110_TrickHouseEnd_Text_26B485, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_DefeatedMePreferWhichTent, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
call Route110_TrickHouseEnd_EventScript_26AFA5
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_26B002
msgbox Route110_TrickHouseEnd_Text_26B69A, MSGBOX_DEFAULT
call Route110_TrickHouseEnd_EventScript_26AFCF
call Route110_TrickHouseEnd_EventScript_ChooseTent
compare VAR_RESULT, FALSE
call_if_eq Route110_TrickHouseEnd_EventScript_NoRoomForTent
msgbox Route110_TrickHouseEnd_Text_LeavingOnJourney, MSGBOX_DEFAULT
call Route110_TrickHouseEnd_EventScript_TrickMasterExit
special ResetTrickHouseEndRoomFlag
release
end
Route110_TrickHouseEnd_EventScript_26AFA5:: @ 826AFA5
Route110_TrickHouseEnd_EventScript_ChooseTent:: @ 826AFA5
multichoice 0, 0, MULTI_TENT, 1
switch VAR_RESULT
case 0, Route110_TrickHouseEnd_EventScript_26AFBF
goto Route110_TrickHouseEnd_EventScript_26AFC7
case 0, Route110_TrickHouseEnd_EventScript_GiveRedTent
goto Route110_TrickHouseEnd_EventScript_GiveBlueTent
Route110_TrickHouseEnd_EventScript_26AFBF:: @ 826AFBF
Route110_TrickHouseEnd_EventScript_GiveRedTent:: @ 826AFBF
givedecoration_std DECOR_RED_TENT
return
Route110_TrickHouseEnd_EventScript_26AFC7:: @ 826AFC7
Route110_TrickHouseEnd_EventScript_GiveBlueTent:: @ 826AFC7
givedecoration_std DECOR_BLUE_TENT
return
Route110_TrickHouseEnd_EventScript_26AFCF:: @ 826AFCF
applymovement 1, Route110_TrickHouseEnd_Movement_269E36
Route110_TrickHouseEnd_EventScript_TrickMasterExit:: @ 826AFCF
applymovement 1, Route110_TrickHouse_Movement_TrickMasterSpin
waitmovement 0
playse SE_W153
applymovement 1, Route110_TrickHouseEnd_Movement_269E3F
applymovement 1, Route110_TrickHouse_Movement_TrickMasterJumpAway
waitmovement 0
removeobject 1
addvar VAR_TRICK_HOUSE_LEVEL, 1
return
Route110_TrickHouseEnd_EventScript_26AFEF:: @ 826AFEF
Route110_TrickHouseEnd_EventScript_BagFull:: @ 826AFEF
call Common_EventScript_BagIsFull
msgbox Route110_TrickHouseEnd_Text_26B760, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_NoRoomForThis, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 1
return
Route110_TrickHouseEnd_EventScript_26B002:: @ 826B002
Route110_TrickHouseEnd_EventScript_NoRoomForTent:: @ 826B002
call Common_EventScript_NoRoomForDecor
msgbox Route110_TrickHouseEnd_Text_26B615, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_NoRoomInPC, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 1
return
Route110_TrickHouseEnd_EventScript_26B015:: @ 826B015
Route110_TrickHouseEnd_EventScript_TrickMasterFaceAwaySouth:: @ 826B015
applymovement 1, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
return
Route110_TrickHouseEnd_EventScript_26B020:: @ 826B020
Route110_TrickHouseEnd_EventScript_TrickMasterFaceAwayNorth:: @ 826B020
applymovement 1, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
return
Route110_TrickHouseEnd_EventScript_26B02B:: @ 826B02B
Route110_TrickHouseEnd_EventScript_TrickMasterFaceAwayWest:: @ 826B02B
applymovement 1, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
return
Route110_TrickHouseEnd_EventScript_26B036:: @ 826B036
Route110_TrickHouseEnd_EventScript_TrickMasterFaceAwayEast:: @ 826B036
applymovement 1, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
return
Route110_TrickHouseEnd_EventScript_26B041:: @ 826B041
Route110_TrickHouseEnd_EventScript_TrickMasterExitTrigger:: @ 826B041
lockall
turnobject 1, DIR_WEST
playse SE_PIN
applymovement 1, Common_Movement_ExclamationMark
waitmovement 0
delay 20
applymovement 1, Route110_TrickHouseEnd_Movement_26B08B
applymovement 1, Route110_TrickHouseEnd_Movement_TrickMasterSurprise
waitmovement 0
playse SE_W153
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
msgbox Route110_TrickHouseEnd_Text_26B8BD, MSGBOX_DEFAULT
msgbox Route110_TrickHouseEnd_Text_YoureIgnoringMe, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, Route110_TrickHouseEnd_Movement_26B089
applymovement EVENT_OBJ_ID_PLAYER, Route110_TrickHouseEnd_Movement_KeepPlayerInRoom
waitmovement 0
delay 4
turnobject 1, DIR_EAST
releaseall
end
Route110_TrickHouseEnd_Movement_26B089: @ 826B089
Route110_TrickHouseEnd_Movement_KeepPlayerInRoom: @ 826B089
walk_down
step_end
Route110_TrickHouseEnd_Movement_26B08B: @ 826B08B
Route110_TrickHouseEnd_Movement_TrickMasterSurprise: @ 826B08B
jump_in_place_left
step_end
Route110_TrickHouseEnd_Text_26B08D: @ 826B08D
Route110_TrickHouseEnd_Text_YouveMadeItToMe: @ 826B08D
.string "Aak!\n"
.string "You've made it to me?\l"
.string "Hmmm… You're sharp!$"
Route110_TrickHouseEnd_Text_26B0BC: @ 826B0BC
Route110_TrickHouseEnd_Text_AllNightToPlantTrees: @ 826B0BC
.string "It took me all night to plant all those\n"
.string "trees…\p"
.string "You're almost my equal in greatness by\n"
.string "one, two, three, four, five, six places!$"
Route110_TrickHouseEnd_Text_26B13B: @ 826B13B
Route110_TrickHouseEnd_Text_AllNightToMakeMaze: @ 826B13B
.string "It took me all night to make the maze…\p"
.string "You're almost my equal in greatness by\n"
.string "one, two, three, four, five places!$"
Route110_TrickHouseEnd_Text_26B1AD: @ 826B1AD
Route110_TrickHouseEnd_Text_AllNightToPreparePanels: @ 826B1AD
.string "It took me all night to prepare\n"
.string "the wall panels…\p"
.string "You're almost my equal in greatness by\n"
.string "one, two, three, four places!$"
Route110_TrickHouseEnd_Text_26B223: @ 826B223
Route110_TrickHouseEnd_Text_AllNightToShoveBoulders: @ 826B223
.string "It took me all night to shove in those\n"
.string "boulders…\p"
.string "You're almost my equal in greatness by\n"
.string "one, two, three places!$"
Route110_TrickHouseEnd_Text_26B293: @ 826B293
Route110_TrickHouseEnd_Text_AllNightToMakeMechadolls: @ 826B293
.string "It took me all night to make MECHADOLLS\n"
.string "and another to think up the quiz…\p"
.string "You're almost my equal in greatness by\n"
.string "one, two places!$"
Route110_TrickHouseEnd_Text_26B315: @ 826B315
Route110_TrickHouseEnd_Text_AllNightToInstallDoors: @ 826B315
.string "It took me all night to install\n"
.string "the doors…\p"
.string "You're almost my equal in greatness!$"
Route110_TrickHouseEnd_Text_26B365: @ 826B365
Route110_TrickHouseEnd_Text_AllNightSettingUpArrows: @ 826B365
.string "It took me all night setting up arrows…\p"
.string "You're my equal in greatness!$"
Route110_TrickHouseEnd_Text_26B3AB: @ 826B3AB
Route110_TrickHouseEnd_Text_AllNightPolishingFloors: @ 826B3AB
.string "It took me all night polishing floors…\p"
.string "You're above me in greatness!\n"
.string "Possibly…$"
Route110_TrickHouseEnd_Text_26B3FA: @ 826B3FA
Route110_TrickHouseEnd_Text_FountainOfIdeasRunDry: @ 826B3FA
.string "Wh-what should I do?\n"
.string "My fountain of ideas for tricks has\l"
.string "run dry…\p"
.string "Perhaps it is time I toured the country\n"
.string "on a quest to devise new tricks…$"
Route110_TrickHouseEnd_Text_26B485: @ 826B485
Route110_TrickHouseEnd_Text_DefeatedMePreferWhichTent: @ 826B485
.string "I hate to admit defeat, but you have\n"
.string "bested me!\p"
.string "Still, you must have been reeled in by\n"
@@ -331,13 +331,13 @@ Route110_TrickHouseEnd_Text_26B485: @ 826B485
.string "a RED TENT and a BLUE TENT.\l"
.string "Which do you prefer?$"
Route110_TrickHouseEnd_Text_26B615: @ 826B615
Route110_TrickHouseEnd_Text_NoRoomInPC: @ 826B615
.string "What? No room in your PC?\n"
.string "What am I to make of that?\p"
.string "I wish I could say that, but I am much\n"
.string "too kind and caring, so come back later!$"
Route110_TrickHouseEnd_Text_26B69A: @ 826B69A
Route110_TrickHouseEnd_Text_LeavingOnJourney: @ 826B69A
.string "… … … … … …\p"
.string "I am leaving on a journey of discovery.\n"
.string "A quest in search of new tricks.\p"
@@ -345,17 +345,17 @@ Route110_TrickHouseEnd_Text_26B69A: @ 826B69A
.string "entertain me again.\p"
.string "And now, farewell!$"
Route110_TrickHouseEnd_Text_26B73D: @ 826B73D
Route110_TrickHouseEnd_Text_YouHaveEarnedThisReward: @ 826B73D
.string "Fine!\n"
.string "You have earned this reward!$"
Route110_TrickHouseEnd_Text_26B760: @ 826B760
Route110_TrickHouseEnd_Text_NoRoomForThis: @ 826B760
.string "What? Have you no room for this?\n"
.string "What manner of items do you carry?\p"
.string "But fine, since you've reached me,\n"
.string "your reward will be with me till later.$"
Route110_TrickHouseEnd_Text_26B7EF: @ 826B7EF
Route110_TrickHouseEnd_Text_MakeNewTricksToStumpYou: @ 826B7EF
.string "Scrub that smug smirk from your face!\n"
.string "It's much too early to think you've won!\p"
.string "I'll make new tricks to stump you, I will.\n"
@@ -363,7 +363,7 @@ Route110_TrickHouseEnd_Text_26B7EF: @ 826B7EF
.string "Come back for the next exciting\n"
.string "installment!$"
Route110_TrickHouseEnd_Text_26B8BD: @ 826B8BD
Route110_TrickHouseEnd_Text_YoureIgnoringMe: @ 826B8BD
.string "Now, now! You're ignoring me now?\n"
.string "Now that, I consider heartbreaking!$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHouseEntrance_EventScript_269D3B",
"script": "Route110_TrickHouseEntrance_EventScript_TrickMaster",
"flag": "FLAG_HIDE_TRICK_HOUSE_ENTRANCE_MAN"
}
],
@@ -57,36 +57,36 @@
"x": 4,
"y": 7,
"elevation": 3,
"var": "VAR_TRICK_HOUSE_ENTRANCE_STATE_1",
"var": "VAR_TRICK_HOUSE_BEING_WATCHED_STATE",
"var_value": "0",
"script": "Route110_TrickHouseEntrance_EventScript_26A3F8"
"script": "Route110_TrickHouseEntrance_EventScript_TrickMasterHiding"
},
{
"type": "trigger",
"x": 5,
"y": 6,
"elevation": 3,
"var": "VAR_TRICK_HOUSE_ENTRANCE_STATE_1",
"var": "VAR_TRICK_HOUSE_BEING_WATCHED_STATE",
"var_value": "0",
"script": "Route110_TrickHouseEntrance_EventScript_26A3F8"
"script": "Route110_TrickHouseEntrance_EventScript_TrickMasterHiding"
},
{
"type": "trigger",
"x": 6,
"y": 6,
"elevation": 3,
"var": "VAR_TRICK_HOUSE_ENTRANCE_STATE_1",
"var": "VAR_TRICK_HOUSE_BEING_WATCHED_STATE",
"var_value": "0",
"script": "Route110_TrickHouseEntrance_EventScript_26A3F8"
"script": "Route110_TrickHouseEntrance_EventScript_TrickMasterHiding"
},
{
"type": "trigger",
"x": 7,
"y": 7,
"elevation": 3,
"var": "VAR_TRICK_HOUSE_ENTRANCE_STATE_1",
"var": "VAR_TRICK_HOUSE_BEING_WATCHED_STATE",
"var_value": "0",
"script": "Route110_TrickHouseEntrance_EventScript_26A3F8"
"script": "Route110_TrickHouseEntrance_EventScript_TrickMasterHiding"
}
],
"bg_events": [
@@ -96,7 +96,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "Route110_TrickHouseEntrance_EventScript_26A0D3"
"script": "Route110_TrickHouseEntrance_EventScript_Door"
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "6",
"script": "Route110_TrickHousePuzzle1_EventScript_26B948",
"script": "Route110_TrickHousePuzzle1_EventScript_Sally",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_TrickHousePuzzle1_EventScript_26B95F",
"script": "Route110_TrickHousePuzzle1_EventScript_Eddie",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_TrickHousePuzzle1_EventScript_26B976",
"script": "Route110_TrickHousePuzzle1_EventScript_Robin",
"flag": "0"
},
{
@@ -241,7 +241,7 @@
"y": 16,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route110_TrickHousePuzzle1_EventScript_26B92B"
"script": "Route110_TrickHousePuzzle1_EventScript_Scroll"
}
]
}

View File

@@ -1,79 +1,79 @@
Route110_TrickHousePuzzle1_MapScripts:: @ 826B90F
map_script MAP_SCRIPT_ON_LOAD, Route110_TrickHousePuzzle1_MapScript1_26B915
map_script MAP_SCRIPT_ON_LOAD, Route110_TrickHousePuzzle1_OnLoad
.byte 0
Route110_TrickHousePuzzle1_MapScript1_26B915: @ 826B915
Route110_TrickHousePuzzle1_OnLoad: @ 826B915
compare VAR_TRICK_HOUSE_PUZZLE_1_STATE, 2
goto_if_eq Route110_TrickHousePuzzle1_EventScript_26B921
goto_if_eq Route110_TrickHousePuzzle1_EventScript_OpenDoor
end
Route110_TrickHousePuzzle1_EventScript_26B921:: @ 826B921
Route110_TrickHousePuzzle1_EventScript_OpenDoor:: @ 826B921
setmetatile 13, 1, METATILE_TrickHousePuzzle_Stairs_Down, 0
end
Route110_TrickHousePuzzle1_EventScript_26B92B:: @ 826B92B
Route110_TrickHousePuzzle1_EventScript_Scroll:: @ 826B92B
lockall
compare VAR_TRICK_HOUSE_PUZZLE_1_STATE, 0
goto_if_eq Route110_TrickHousePuzzle1_EventScript_26B93D
goto Route110_TrickHousePuzzle1_EventScript_26A3DB
goto_if_eq Route110_TrickHousePuzzle1_EventScript_FoundScroll
goto Route110_TrickHousePuzzle_EventScript_ReadScrollAgain
end
Route110_TrickHousePuzzle1_EventScript_26B93D:: @ 826B93D
Route110_TrickHousePuzzle1_EventScript_FoundScroll:: @ 826B93D
setvar VAR_TRICK_HOUSE_PUZZLE_1_STATE, 1
goto Route110_TrickHousePuzzle1_EventScript_26A3E5
goto Route110_TrickHousePuzzle_EventScript_FoundScroll
end
Route110_TrickHousePuzzle1_EventScript_26B948:: @ 826B948
trainerbattle_single TRAINER_SALLY, Route110_TrickHousePuzzle1_Text_26B9FB, Route110_TrickHousePuzzle1_Text_26BA3F
msgbox Route110_TrickHousePuzzle1_Text_26BA57, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle1_EventScript_Sally:: @ 826B948
trainerbattle_single TRAINER_SALLY, Route110_TrickHousePuzzle1_Text_SallyIntro, Route110_TrickHousePuzzle1_Text_SallyDefeat
msgbox Route110_TrickHousePuzzle1_Text_SallyPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle1_EventScript_26B95F:: @ 826B95F
trainerbattle_single TRAINER_EDDIE, Route110_TrickHousePuzzle1_Text_26BA82, Route110_TrickHousePuzzle1_Text_26BAB0
msgbox Route110_TrickHousePuzzle1_Text_26BAC3, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle1_EventScript_Eddie:: @ 826B95F
trainerbattle_single TRAINER_EDDIE, Route110_TrickHousePuzzle1_Text_EddieIntro, Route110_TrickHousePuzzle1_Text_EddieDefeat
msgbox Route110_TrickHousePuzzle1_Text_EddiePostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle1_EventScript_26B976:: @ 826B976
trainerbattle_single TRAINER_ROBIN, Route110_TrickHousePuzzle1_Text_26BB10, Route110_TrickHousePuzzle1_Text_26BB2E
msgbox Route110_TrickHousePuzzle1_Text_26BB52, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle1_EventScript_Robin:: @ 826B976
trainerbattle_single TRAINER_ROBIN, Route110_TrickHousePuzzle1_Text_RobinIntro, Route110_TrickHousePuzzle1_Text_RobinDefeat
msgbox Route110_TrickHousePuzzle1_Text_RobinPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle1_Text_26B98D:: @ 826B98D
Route110_TrickHousePuzzle1_Text_WroteSecretCodeLockOpened:: @ 826B98D
.string "{PLAYER} wrote down the secret code\n"
.string "on the door.\p"
.string "“TRICK MASTER is fabulous.”\n"
.string "… … … … … … … …\p"
.string "The lock clicked open!$"
Route110_TrickHousePuzzle1_Text_26B9FB: @ 826B9FB
Route110_TrickHousePuzzle1_Text_SallyIntro: @ 826B9FB
.string "I'll hack and slash my way to victory\n"
.string "with the CUT we just learned!$"
Route110_TrickHousePuzzle1_Text_26BA3F: @ 826BA3F
Route110_TrickHousePuzzle1_Text_SallyDefeat: @ 826BA3F
.string "Why are you so serious?$"
Route110_TrickHousePuzzle1_Text_26BA57: @ 826BA57
Route110_TrickHousePuzzle1_Text_SallyPostBattle: @ 826BA57
.string "I never get tired of hacking\n"
.string "and slashing!$"
Route110_TrickHousePuzzle1_Text_26BA82: @ 826BA82
Route110_TrickHousePuzzle1_Text_EddieIntro: @ 826BA82
.string "I wandered into this weird house\n"
.string "by accident…$"
Route110_TrickHousePuzzle1_Text_26BAB0: @ 826BAB0
Route110_TrickHousePuzzle1_Text_EddieDefeat: @ 826BAB0
.string "And now I've lost…$"
Route110_TrickHousePuzzle1_Text_26BAC3: @ 826BAC3
Route110_TrickHousePuzzle1_Text_EddiePostBattle: @ 826BAC3
.string "I lost my way, I lost a battle, and I'm\n"
.string "now even more lost… I can't get out…$"
Route110_TrickHousePuzzle1_Text_26BB10: @ 826BB10
Route110_TrickHousePuzzle1_Text_RobinIntro: @ 826BB10
.string "Just who is the TRICK MASTER?$"
Route110_TrickHousePuzzle1_Text_26BB2E: @ 826BB2E
Route110_TrickHousePuzzle1_Text_RobinDefeat: @ 826BB2E
.string "I lost while I was lost in thought!$"
Route110_TrickHousePuzzle1_Text_26BB52: @ 826BB52
Route110_TrickHousePuzzle1_Text_RobinPostBattle: @ 826BB52
.string "You're strong!\n"
.string "Just who are you?$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle2_EventScript_26BC75",
"script": "Route110_TrickHousePuzzle2_EventScript_Ted",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route110_TrickHousePuzzle2_EventScript_26BC8C",
"script": "Route110_TrickHousePuzzle2_EventScript_Paul",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_TrickHousePuzzle2_EventScript_26BCA3",
"script": "Route110_TrickHousePuzzle2_EventScript_Georgia",
"flag": "0"
},
{
@@ -111,7 +111,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "Route110_TrickHousePuzzle2_EventScript_26BBDD"
"script": "Route110_TrickHousePuzzle2_EventScript_Button1"
},
{
"type": "trigger",
@@ -120,7 +120,7 @@
"elevation": 0,
"var": "VAR_TEMP_2",
"var_value": "0",
"script": "Route110_TrickHousePuzzle2_EventScript_26BBF0"
"script": "Route110_TrickHousePuzzle2_EventScript_Button2"
},
{
"type": "trigger",
@@ -129,7 +129,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
"script": "Route110_TrickHousePuzzle2_EventScript_26BC03"
"script": "Route110_TrickHousePuzzle2_EventScript_Button3"
},
{
"type": "trigger",
@@ -138,7 +138,7 @@
"elevation": 3,
"var": "VAR_TEMP_4",
"var_value": "0",
"script": "Route110_TrickHousePuzzle2_EventScript_26BC16"
"script": "Route110_TrickHousePuzzle2_EventScript_Button4"
}
],
"bg_events": [
@@ -148,7 +148,7 @@
"y": 14,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route110_TrickHousePuzzle2_EventScript_26BBC0"
"script": "Route110_TrickHousePuzzle2_EventScript_Scroll"
}
]
}

View File

@@ -1,17 +1,17 @@
Route110_TrickHousePuzzle2_MapScripts:: @ 826BB73
map_script MAP_SCRIPT_ON_RESUME, Route110_TrickHousePuzzle2_MapScript1_26BB7E
map_script MAP_SCRIPT_ON_RESUME, Route110_TrickHousePuzzle2_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, Route110_TrickHousePuzzle2_OnTransition
.byte 0
Route110_TrickHousePuzzle2_MapScript1_26BB7E: @ 826BB7E
Route110_TrickHousePuzzle2_OnResume: @ 826BB7E
compare VAR_TEMP_1, 1
call_if_eq Route110_TrickHousePuzzle2_EventScript_26BC29
call_if_eq Route110_TrickHousePuzzle2_EventScript_PressButton1
compare VAR_TEMP_2, 1
call_if_eq Route110_TrickHousePuzzle2_EventScript_26BC3C
call_if_eq Route110_TrickHousePuzzle2_EventScript_PressButton2
compare VAR_TEMP_3, 1
call_if_eq Route110_TrickHousePuzzle2_EventScript_26BC4F
call_if_eq Route110_TrickHousePuzzle2_EventScript_PressButton3
compare VAR_TEMP_4, 1
call_if_eq Route110_TrickHousePuzzle2_EventScript_26BC62
call_if_eq Route110_TrickHousePuzzle2_EventScript_PressButton4
end
Route110_TrickHousePuzzle2_OnTransition: @ 826BBAB
@@ -21,126 +21,126 @@ Route110_TrickHousePuzzle2_OnTransition: @ 826BBAB
setvar VAR_TEMP_4, 0
end
Route110_TrickHousePuzzle2_EventScript_26BBC0:: @ 826BBC0
Route110_TrickHousePuzzle2_EventScript_Scroll:: @ 826BBC0
lockall
compare VAR_TRICK_HOUSE_PUZZLE_2_STATE, 0
goto_if_eq Route110_TrickHousePuzzle2_EventScript_26BBD2
goto Route110_TrickHousePuzzle2_EventScript_26A3DB
goto_if_eq Route110_TrickHousePuzzle2_EventScript_FoundScroll
goto Route110_TrickHousePuzzle_EventScript_ReadScrollAgain
end
Route110_TrickHousePuzzle2_EventScript_26BBD2:: @ 826BBD2
Route110_TrickHousePuzzle2_EventScript_FoundScroll:: @ 826BBD2
setvar VAR_TRICK_HOUSE_PUZZLE_2_STATE, 1
goto Route110_TrickHousePuzzle2_EventScript_26A3E5
goto Route110_TrickHousePuzzle_EventScript_FoundScroll
end
Route110_TrickHousePuzzle2_EventScript_26BBDD:: @ 826BBDD
Route110_TrickHousePuzzle2_EventScript_Button1:: @ 826BBDD
lockall
setvar VAR_TEMP_1, 1
playse SE_PIN
call Route110_TrickHousePuzzle2_EventScript_26BC29
call Route110_TrickHousePuzzle2_EventScript_PressButton1
special DrawWholeMapView
releaseall
end
Route110_TrickHousePuzzle2_EventScript_26BBF0:: @ 826BBF0
Route110_TrickHousePuzzle2_EventScript_Button2:: @ 826BBF0
lockall
setvar VAR_TEMP_2, 1
playse SE_PIN
call Route110_TrickHousePuzzle2_EventScript_26BC3C
call Route110_TrickHousePuzzle2_EventScript_PressButton2
special DrawWholeMapView
releaseall
end
Route110_TrickHousePuzzle2_EventScript_26BC03:: @ 826BC03
Route110_TrickHousePuzzle2_EventScript_Button3:: @ 826BC03
lockall
setvar VAR_TEMP_3, 1
playse SE_PIN
call Route110_TrickHousePuzzle2_EventScript_26BC4F
call Route110_TrickHousePuzzle2_EventScript_PressButton3
special DrawWholeMapView
releaseall
end
Route110_TrickHousePuzzle2_EventScript_26BC16:: @ 826BC16
Route110_TrickHousePuzzle2_EventScript_Button4:: @ 826BC16
lockall
setvar VAR_TEMP_4, 1
playse SE_PIN
call Route110_TrickHousePuzzle2_EventScript_26BC62
call Route110_TrickHousePuzzle2_EventScript_PressButton4
special DrawWholeMapView
releaseall
end
Route110_TrickHousePuzzle2_EventScript_26BC29:: @ 826BC29
Route110_TrickHousePuzzle2_EventScript_PressButton1:: @ 826BC29
setmetatile 11, 12, METATILE_TrickHousePuzzle_Button_Pressed, 0
setmetatile 1, 13, METATILE_TrickHousePuzzle_Door_Shuttered, 0
return
Route110_TrickHousePuzzle2_EventScript_26BC3C:: @ 826BC3C
Route110_TrickHousePuzzle2_EventScript_PressButton2:: @ 826BC3C
setmetatile 0, 4, METATILE_TrickHousePuzzle_Button_Pressed, 0
setmetatile 5, 6, METATILE_TrickHousePuzzle_Door_Shuttered, 0
return
Route110_TrickHousePuzzle2_EventScript_26BC4F:: @ 826BC4F
Route110_TrickHousePuzzle2_EventScript_PressButton3:: @ 826BC4F
setmetatile 14, 5, METATILE_TrickHousePuzzle_Button_Pressed, 0
setmetatile 7, 15, METATILE_TrickHousePuzzle_Door_Shuttered, 0
return
Route110_TrickHousePuzzle2_EventScript_26BC62:: @ 826BC62
Route110_TrickHousePuzzle2_EventScript_PressButton4:: @ 826BC62
setmetatile 7, 11, METATILE_TrickHousePuzzle_Button_Pressed, 0
setmetatile 14, 12, METATILE_TrickHousePuzzle_Door_Shuttered, 0
return
Route110_TrickHousePuzzle2_EventScript_26BC75:: @ 826BC75
trainerbattle_single TRAINER_TED, Route110_TrickHousePuzzle2_Text_26BD25, Route110_TrickHousePuzzle2_Text_26BD45
msgbox Route110_TrickHousePuzzle2_Text_26BD70, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle2_EventScript_Ted:: @ 826BC75
trainerbattle_single TRAINER_TED, Route110_TrickHousePuzzle2_Text_TedIntro, Route110_TrickHousePuzzle2_Text_TedDefeat
msgbox Route110_TrickHousePuzzle2_Text_TedPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle2_EventScript_26BC8C:: @ 826BC8C
trainerbattle_single TRAINER_PAUL, Route110_TrickHousePuzzle2_Text_26BD9E, Route110_TrickHousePuzzle2_Text_26BDCF
msgbox Route110_TrickHousePuzzle2_Text_26BDEC, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle2_EventScript_Paul:: @ 826BC8C
trainerbattle_single TRAINER_PAUL, Route110_TrickHousePuzzle2_Text_PaulIntro, Route110_TrickHousePuzzle2_Text_PaulDefeat
msgbox Route110_TrickHousePuzzle2_Text_PaulPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle2_EventScript_26BCA3:: @ 826BCA3
trainerbattle_single TRAINER_GEORGIA, Route110_TrickHousePuzzle2_Text_26BE31, Route110_TrickHousePuzzle2_Text_26BE77
msgbox Route110_TrickHousePuzzle2_Text_26BE97, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle2_EventScript_Georgia:: @ 826BCA3
trainerbattle_single TRAINER_GEORGIA, Route110_TrickHousePuzzle2_Text_GeorgiaIntro, Route110_TrickHousePuzzle2_Text_GeorgiaDefeat
msgbox Route110_TrickHousePuzzle2_Text_GeorgiaPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle2_Text_26BCBA: @ 826BCBA
Route110_TrickHousePuzzle2_Text_WroteSecretCodeLockOpened: @ 826BCBA
.string "{PLAYER} wrote down the secret code\n"
.string "on the door.\p"
.string "“TRICK MASTER is smart.”\n"
.string "… … … … … … … …\p"
.string "The lock clicked open!$"
Route110_TrickHousePuzzle2_Text_26BD25: @ 826BD25
Route110_TrickHousePuzzle2_Text_TedIntro: @ 826BD25
.string "Which switch closes which hole?$"
Route110_TrickHousePuzzle2_Text_26BD45: @ 826BD45
Route110_TrickHousePuzzle2_Text_TedDefeat: @ 826BD45
.string "After that battle, I'm even more\n"
.string "confused!$"
Route110_TrickHousePuzzle2_Text_26BD70: @ 826BD70
Route110_TrickHousePuzzle2_Text_TedPostBattle: @ 826BD70
.string "Can I get you to push all the buttons\n"
.string "for me?$"
Route110_TrickHousePuzzle2_Text_26BD9E: @ 826BD9E
Route110_TrickHousePuzzle2_Text_PaulIntro: @ 826BD9E
.string "Oh! You're on your second TRICK HOUSE\n"
.string "challenge!$"
Route110_TrickHousePuzzle2_Text_26BDCF: @ 826BDCF
Route110_TrickHousePuzzle2_Text_PaulDefeat: @ 826BDCF
.string "You're good at battling too?$"
Route110_TrickHousePuzzle2_Text_26BDEC: @ 826BDEC
Route110_TrickHousePuzzle2_Text_PaulPostBattle: @ 826BDEC
.string "The TRICK MASTER rigged all the tricks\n"
.string "in this house all by himself.$"
Route110_TrickHousePuzzle2_Text_26BE31: @ 826BE31
Route110_TrickHousePuzzle2_Text_GeorgiaIntro: @ 826BE31
.string "I want to make my own GYM one day.\n"
.string "So, I'm studying how to set traps.$"
Route110_TrickHousePuzzle2_Text_26BE77: @ 826BE77
Route110_TrickHousePuzzle2_Text_GeorgiaDefeat: @ 826BE77
.string "I didn't study battling enough!$"
Route110_TrickHousePuzzle2_Text_26BE97: @ 826BE97
Route110_TrickHousePuzzle2_Text_GeorgiaPostBattle: @ 826BE97
.string "You're strong, aren't you?\n"
.string "Maybe even enough to be a GYM LEADER!$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_TrickHousePuzzle3_EventScript_26C5C4",
"script": "Route110_TrickHousePuzzle3_EventScript_Justin",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle3_EventScript_26C5DB",
"script": "Route110_TrickHousePuzzle3_EventScript_Martha",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle3_EventScript_26C5F2",
"script": "Route110_TrickHousePuzzle3_EventScript_Alan",
"flag": "0"
},
{
@@ -137,7 +137,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "Route110_TrickHousePuzzle3_EventScript_26C4CD"
"script": "Route110_TrickHousePuzzle3_EventScript_Button1"
},
{
"type": "trigger",
@@ -146,7 +146,7 @@
"elevation": 3,
"var": "VAR_TEMP_2",
"var_value": "0",
"script": "Route110_TrickHousePuzzle3_EventScript_26C4D9"
"script": "Route110_TrickHousePuzzle3_EventScript_Button2"
},
{
"type": "trigger",
@@ -155,7 +155,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
"script": "Route110_TrickHousePuzzle3_EventScript_26C4E5"
"script": "Route110_TrickHousePuzzle3_EventScript_Button3"
},
{
"type": "trigger",
@@ -164,7 +164,7 @@
"elevation": 3,
"var": "VAR_TEMP_4",
"var_value": "0",
"script": "Route110_TrickHousePuzzle3_EventScript_26C4F1"
"script": "Route110_TrickHousePuzzle3_EventScript_Button4"
}
],
"bg_events": [
@@ -174,7 +174,7 @@
"y": 14,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route110_TrickHousePuzzle3_EventScript_26C5A7"
"script": "Route110_TrickHousePuzzle3_EventScript_Scroll"
}
]
}

View File

@@ -1,14 +1,14 @@
Route110_TrickHousePuzzle3_MapScripts:: @ 826BED8
map_script MAP_SCRIPT_ON_RESUME, Route110_TrickHousePuzzle3_MapScript1_26BEE3
map_script MAP_SCRIPT_ON_RESUME, Route110_TrickHousePuzzle3_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, Route110_TrickHousePuzzle3_OnTransition
.byte 0
Route110_TrickHousePuzzle3_MapScript1_26BEE3: @ 826BEE3
call Route110_TrickHousePuzzle3_EventScript_26BF1E
Route110_TrickHousePuzzle3_OnResume: @ 826BEE3
call Route110_TrickHousePuzzle3_EventScript_UpdateButtonMetatiles
compare VAR_TEMP_9, 0
call_if_eq Route110_TrickHousePuzzle3_EventScript_26BF97
call_if_eq Route110_TrickHousePuzzle3_EventScript_SetDoorsState0
compare VAR_TEMP_9, 1
call_if_eq Route110_TrickHousePuzzle3_EventScript_26C232
call_if_eq Route110_TrickHousePuzzle3_EventScript_SetDoorsState1
end
Route110_TrickHousePuzzle3_OnTransition: @ 826BEFF
@@ -20,38 +20,38 @@ Route110_TrickHousePuzzle3_OnTransition: @ 826BEFF
setvar VAR_TEMP_9, 0
end
Route110_TrickHousePuzzle3_EventScript_26BF1E:: @ 826BF1E
Route110_TrickHousePuzzle3_EventScript_UpdateButtonMetatiles:: @ 826BF1E
setmetatile 4, 14, METATILE_TrickHousePuzzle_Button_Up, 0
setmetatile 3, 11, METATILE_TrickHousePuzzle_Button_Up, 0
setmetatile 12, 5, METATILE_TrickHousePuzzle_Button_Up, 0
setmetatile 8, 2, METATILE_TrickHousePuzzle_Button_Up, 0
compare VAR_TEMP_8, 1
call_if_eq Route110_TrickHousePuzzle3_EventScript_26BF6F
call_if_eq Route110_TrickHousePuzzle3_EventScript_PressedButton1Metatile
compare VAR_TEMP_8, 2
call_if_eq Route110_TrickHousePuzzle3_EventScript_26BF79
call_if_eq Route110_TrickHousePuzzle3_EventScript_PressedButton2Metatile
compare VAR_TEMP_8, 3
call_if_eq Route110_TrickHousePuzzle3_EventScript_26BF83
call_if_eq Route110_TrickHousePuzzle3_EventScript_PressedButton3Metatile
compare VAR_TEMP_8, 4
call_if_eq Route110_TrickHousePuzzle3_EventScript_26BF8D
call_if_eq Route110_TrickHousePuzzle3_EventScript_PressedButton4Metatile
return
Route110_TrickHousePuzzle3_EventScript_26BF6F:: @ 826BF6F
Route110_TrickHousePuzzle3_EventScript_PressedButton1Metatile:: @ 826BF6F
setmetatile 4, 14, METATILE_TrickHousePuzzle_Button_Pressed, 0
return
Route110_TrickHousePuzzle3_EventScript_26BF79:: @ 826BF79
Route110_TrickHousePuzzle3_EventScript_PressedButton2Metatile:: @ 826BF79
setmetatile 3, 11, METATILE_TrickHousePuzzle_Button_Pressed, 0
return
Route110_TrickHousePuzzle3_EventScript_26BF83:: @ 826BF83
Route110_TrickHousePuzzle3_EventScript_PressedButton3Metatile:: @ 826BF83
setmetatile 12, 5, METATILE_TrickHousePuzzle_Button_Pressed, 0
return
Route110_TrickHousePuzzle3_EventScript_26BF8D:: @ 826BF8D
Route110_TrickHousePuzzle3_EventScript_PressedButton4Metatile:: @ 826BF8D
setmetatile 8, 2, METATILE_TrickHousePuzzle_Button_Pressed, 0
return
Route110_TrickHousePuzzle3_EventScript_26BF97:: @ 826BF97
Route110_TrickHousePuzzle3_EventScript_SetDoorsState0:: @ 826BF97
setmetatile 1, 6, METATILE_TrickHousePuzzle_BlueDoorH_Open_Tile0, 0
setmetatile 2, 6, METATILE_TrickHousePuzzle_BlueDoorH_Open_Tile1, 0
setmetatile 1, 7, METATILE_TrickHousePuzzle_BlueDoorH_Open_Tile2, 0
@@ -128,7 +128,7 @@ Route110_TrickHousePuzzle3_EventScript_26BF97:: @ 826BF97
setmetatile 9, 5, METATILE_TrickHousePuzzle_RedDoorV_Open1, 1
return
Route110_TrickHousePuzzle3_EventScript_26C232:: @ 826C232
Route110_TrickHousePuzzle3_EventScript_SetDoorsState1:: @ 826C232
setmetatile 1, 6, METATILE_TrickHousePuzzle_BlueDoorH_Closed_Tile0, 0
setmetatile 2, 6, METATILE_TrickHousePuzzle_BlueDoorH_Closed_Tile1, 0
setmetatile 1, 7, METATILE_TrickHousePuzzle_BlueDoorH_Closed_Tile2, 1
@@ -205,155 +205,155 @@ Route110_TrickHousePuzzle3_EventScript_26C232:: @ 826C232
setmetatile 9, 5, METATILE_TrickHousePuzzle_Floor_ShadowTop_Alt, 0
return
Route110_TrickHousePuzzle3_EventScript_26C4CD:: @ 826C4CD
Route110_TrickHousePuzzle3_EventScript_Button1:: @ 826C4CD
lockall
setvar VAR_TEMP_8, 1
goto Route110_TrickHousePuzzle3_EventScript_26C4FD
goto Route110_TrickHousePuzzle3_EventScript_PressButton
end
Route110_TrickHousePuzzle3_EventScript_26C4D9:: @ 826C4D9
Route110_TrickHousePuzzle3_EventScript_Button2:: @ 826C4D9
lockall
setvar VAR_TEMP_8, 2
goto Route110_TrickHousePuzzle3_EventScript_26C4FD
goto Route110_TrickHousePuzzle3_EventScript_PressButton
end
Route110_TrickHousePuzzle3_EventScript_26C4E5:: @ 826C4E5
Route110_TrickHousePuzzle3_EventScript_Button3:: @ 826C4E5
lockall
setvar VAR_TEMP_8, 3
goto Route110_TrickHousePuzzle3_EventScript_26C4FD
goto Route110_TrickHousePuzzle3_EventScript_PressButton
end
Route110_TrickHousePuzzle3_EventScript_26C4F1:: @ 826C4F1
Route110_TrickHousePuzzle3_EventScript_Button4:: @ 826C4F1
lockall
setvar VAR_TEMP_8, 4
goto Route110_TrickHousePuzzle3_EventScript_26C4FD
goto Route110_TrickHousePuzzle3_EventScript_PressButton
end
Route110_TrickHousePuzzle3_EventScript_26C4FD:: @ 826C4FD
call Route110_TrickHousePuzzle3_EventScript_26C510
Route110_TrickHousePuzzle3_EventScript_PressButton:: @ 826C4FD
call Route110_TrickHousePuzzle3_EventScript_SetButton
playse SE_PIN
call Route110_TrickHousePuzzle3_EventScript_26BF1E
goto Route110_TrickHousePuzzle3_EventScript_26C569
call Route110_TrickHousePuzzle3_EventScript_UpdateButtonMetatiles
goto Route110_TrickHousePuzzle3_EventScript_AlternateDoors
end
Route110_TrickHousePuzzle3_EventScript_26C510:: @ 826C510
Route110_TrickHousePuzzle3_EventScript_SetButton:: @ 826C510
setvar VAR_TEMP_1, 0
setvar VAR_TEMP_2, 0
setvar VAR_TEMP_3, 0
setvar VAR_TEMP_4, 0
compare VAR_TEMP_8, 1
call_if_eq Route110_TrickHousePuzzle3_EventScript_26C551
call_if_eq Route110_TrickHousePuzzle3_EventScript_SetButton1
compare VAR_TEMP_8, 2
call_if_eq Route110_TrickHousePuzzle3_EventScript_26C557
call_if_eq Route110_TrickHousePuzzle3_EventScript_SetButton2
compare VAR_TEMP_8, 3
call_if_eq Route110_TrickHousePuzzle3_EventScript_26C55D
call_if_eq Route110_TrickHousePuzzle3_EventScript_SetButton3
compare VAR_TEMP_8, 4
call_if_eq Route110_TrickHousePuzzle3_EventScript_26C563
call_if_eq Route110_TrickHousePuzzle3_EventScript_SetButton4
return
Route110_TrickHousePuzzle3_EventScript_26C551:: @ 826C551
Route110_TrickHousePuzzle3_EventScript_SetButton1:: @ 826C551
setvar VAR_TEMP_1, 1
return
Route110_TrickHousePuzzle3_EventScript_26C557:: @ 826C557
Route110_TrickHousePuzzle3_EventScript_SetButton2:: @ 826C557
setvar VAR_TEMP_2, 1
return
Route110_TrickHousePuzzle3_EventScript_26C55D:: @ 826C55D
Route110_TrickHousePuzzle3_EventScript_SetButton3:: @ 826C55D
setvar VAR_TEMP_3, 1
return
Route110_TrickHousePuzzle3_EventScript_26C563:: @ 826C563
Route110_TrickHousePuzzle3_EventScript_SetButton4:: @ 826C563
setvar VAR_TEMP_4, 1
return
Route110_TrickHousePuzzle3_EventScript_26C569:: @ 826C569
Route110_TrickHousePuzzle3_EventScript_AlternateDoors:: @ 826C569
compare VAR_TEMP_9, 1
call_if_eq Route110_TrickHousePuzzle3_EventScript_26BF97
call_if_eq Route110_TrickHousePuzzle3_EventScript_SetDoorsState0
compare VAR_TEMP_9, 0
call_if_eq Route110_TrickHousePuzzle3_EventScript_26C232
call_if_eq Route110_TrickHousePuzzle3_EventScript_SetDoorsState1
special DrawWholeMapView
compare VAR_TEMP_9, 1
goto_if_eq Route110_TrickHousePuzzle3_EventScript_26C599
goto_if_eq Route110_TrickHousePuzzle3_EventScript_ClearAltDoorState
compare VAR_TEMP_9, 0
goto_if_eq Route110_TrickHousePuzzle3_EventScript_26C5A0
goto_if_eq Route110_TrickHousePuzzle3_EventScript_SetAltDoorState
end
Route110_TrickHousePuzzle3_EventScript_26C599:: @ 826C599
Route110_TrickHousePuzzle3_EventScript_ClearAltDoorState:: @ 826C599
setvar VAR_TEMP_9, 0
releaseall
end
Route110_TrickHousePuzzle3_EventScript_26C5A0:: @ 826C5A0
Route110_TrickHousePuzzle3_EventScript_SetAltDoorState:: @ 826C5A0
setvar VAR_TEMP_9, 1
releaseall
end
Route110_TrickHousePuzzle3_EventScript_26C5A7:: @ 826C5A7
Route110_TrickHousePuzzle3_EventScript_Scroll:: @ 826C5A7
lockall
compare VAR_TRICK_HOUSE_PUZZLE_3_STATE, 0
goto_if_eq Route110_TrickHousePuzzle3_EventScript_26C5B9
goto Route110_TrickHousePuzzle3_EventScript_26A3DB
goto_if_eq Route110_TrickHousePuzzle3_EventScript_FoundScroll
goto Route110_TrickHousePuzzle_EventScript_ReadScrollAgain
end
Route110_TrickHousePuzzle3_EventScript_26C5B9:: @ 826C5B9
Route110_TrickHousePuzzle3_EventScript_FoundScroll:: @ 826C5B9
setvar VAR_TRICK_HOUSE_PUZZLE_3_STATE, 1
goto Route110_TrickHousePuzzle3_EventScript_26A3E5
goto Route110_TrickHousePuzzle_EventScript_FoundScroll
end
Route110_TrickHousePuzzle3_EventScript_26C5C4:: @ 826C5C4
trainerbattle_single TRAINER_JUSTIN, Route110_TrickHousePuzzle3_Text_26C676, Route110_TrickHousePuzzle3_Text_26C69D
msgbox Route110_TrickHousePuzzle3_Text_26C6E6, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle3_EventScript_Justin:: @ 826C5C4
trainerbattle_single TRAINER_JUSTIN, Route110_TrickHousePuzzle3_Text_JustinIntro, Route110_TrickHousePuzzle3_Text_JustinDefeat
msgbox Route110_TrickHousePuzzle3_Text_JustinPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle3_EventScript_26C5DB:: @ 826C5DB
trainerbattle_single TRAINER_MARTHA, Route110_TrickHousePuzzle3_Text_26C726, Route110_TrickHousePuzzle3_Text_26C763
msgbox Route110_TrickHousePuzzle3_Text_26C776, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle3_EventScript_Martha:: @ 826C5DB
trainerbattle_single TRAINER_MARTHA, Route110_TrickHousePuzzle3_Text_MarthaIntro, Route110_TrickHousePuzzle3_Text_MarthaDefeat
msgbox Route110_TrickHousePuzzle3_Text_MarthaPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle3_EventScript_26C5F2:: @ 826C5F2
trainerbattle_single TRAINER_ALAN, Route110_TrickHousePuzzle3_Text_26C7AA, Route110_TrickHousePuzzle3_Text_26C7EC
msgbox Route110_TrickHousePuzzle3_Text_26C80C, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle3_EventScript_Alan:: @ 826C5F2
trainerbattle_single TRAINER_ALAN, Route110_TrickHousePuzzle3_Text_AlanIntro, Route110_TrickHousePuzzle3_Text_AlanDefeat
msgbox Route110_TrickHousePuzzle3_Text_AlanPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle3_Text_26C609: @ 826C609
Route110_TrickHousePuzzle3_Text_WroteSecretCodeLockOpened: @ 826C609
.string "{PLAYER} wrote down the secret code\n"
.string "on the door.\p"
.string "“TRICK MASTER is coveted.”\n"
.string "… … … … … … … …\p"
.string "The lock clicked open!$"
Route110_TrickHousePuzzle3_Text_26C676: @ 826C676
Route110_TrickHousePuzzle3_Text_JustinIntro: @ 826C676
.string "I keep coming back to this same place!$"
Route110_TrickHousePuzzle3_Text_26C69D: @ 826C69D
Route110_TrickHousePuzzle3_Text_JustinDefeat: @ 826C69D
.string "I'm already having trouble, and then\n"
.string "you have to beat me? It's not fair!$"
Route110_TrickHousePuzzle3_Text_26C6E6: @ 826C6E6
Route110_TrickHousePuzzle3_Text_JustinPostBattle: @ 826C6E6
.string "It's full of doors here!\n"
.string "It's too small and dark in here! Help!$"
Route110_TrickHousePuzzle3_Text_26C726: @ 826C726
Route110_TrickHousePuzzle3_Text_MarthaIntro: @ 826C726
.string "I don't know what's going on here.\n"
.string "I'm starting to feel sad…$"
Route110_TrickHousePuzzle3_Text_26C763: @ 826C763
Route110_TrickHousePuzzle3_Text_MarthaDefeat: @ 826C763
.string "You… You're awful!$"
Route110_TrickHousePuzzle3_Text_26C776: @ 826C776
Route110_TrickHousePuzzle3_Text_MarthaPostBattle: @ 826C776
.string "I know I'm weak!\n"
.string "And, I have no sense of direction!$"
Route110_TrickHousePuzzle3_Text_26C7AA: @ 826C7AA
Route110_TrickHousePuzzle3_Text_AlanIntro: @ 826C7AA
.string "I don't get it. What would anyone want\n"
.string "with a house this bizarre?$"
Route110_TrickHousePuzzle3_Text_26C7EC: @ 826C7EC
Route110_TrickHousePuzzle3_Text_AlanDefeat: @ 826C7EC
.string "I don't get it.\n"
.string "How did I lose?$"
Route110_TrickHousePuzzle3_Text_26C80C: @ 826C80C
Route110_TrickHousePuzzle3_Text_AlanPostBattle: @ 826C80C
.string "I don't get it.\n"
.string "How many traps are in this house?\p"
.string "You may be the one to solve that.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle4_EventScript_26C87E",
"script": "Route110_TrickHousePuzzle4_EventScript_Cora",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_TrickHousePuzzle4_EventScript_26C8AC",
"script": "Route110_TrickHousePuzzle4_EventScript_Paula",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_TrickHousePuzzle4_EventScript_26C895",
"script": "Route110_TrickHousePuzzle4_EventScript_Yuji",
"flag": "0"
},
{
@@ -228,7 +228,7 @@
"y": 13,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route110_TrickHousePuzzle4_EventScript_26C861"
"script": "Route110_TrickHousePuzzle4_EventScript_Scroll"
}
]
}

View File

@@ -1,71 +1,71 @@
Route110_TrickHousePuzzle4_MapScripts:: @ 826C860
.byte 0
Route110_TrickHousePuzzle4_EventScript_26C861:: @ 826C861
Route110_TrickHousePuzzle4_EventScript_Scroll:: @ 826C861
lockall
compare VAR_TRICK_HOUSE_PUZZLE_4_STATE, 0
goto_if_eq Route110_TrickHousePuzzle4_EventScript_26C873
goto Route110_TrickHousePuzzle4_EventScript_26A3DB
goto_if_eq Route110_TrickHousePuzzle4_EventScript_FoundScroll
goto Route110_TrickHousePuzzle_EventScript_ReadScrollAgain
end
Route110_TrickHousePuzzle4_EventScript_26C873:: @ 826C873
Route110_TrickHousePuzzle4_EventScript_FoundScroll:: @ 826C873
setvar VAR_TRICK_HOUSE_PUZZLE_4_STATE, 1
goto Route110_TrickHousePuzzle4_EventScript_26A3E5
goto Route110_TrickHousePuzzle_EventScript_FoundScroll
end
Route110_TrickHousePuzzle4_EventScript_26C87E:: @ 826C87E
trainerbattle_single TRAINER_CORA, Route110_TrickHousePuzzle4_Text_26C92D, Route110_TrickHousePuzzle4_Text_26C96E
msgbox Route110_TrickHousePuzzle4_Text_26C9A2, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle4_EventScript_Cora:: @ 826C87E
trainerbattle_single TRAINER_CORA, Route110_TrickHousePuzzle4_Text_CoraIntro, Route110_TrickHousePuzzle4_Text_CoraDefeat
msgbox Route110_TrickHousePuzzle4_Text_CoraPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle4_EventScript_26C895:: @ 826C895
trainerbattle_single TRAINER_YUJI, Route110_TrickHousePuzzle4_Text_26C9E4, Route110_TrickHousePuzzle4_Text_26CA20
msgbox Route110_TrickHousePuzzle4_Text_26CA53, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle4_EventScript_Yuji:: @ 826C895
trainerbattle_single TRAINER_YUJI, Route110_TrickHousePuzzle4_Text_YujiIntro, Route110_TrickHousePuzzle4_Text_YujiDefeat
msgbox Route110_TrickHousePuzzle4_Text_YujiPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle4_EventScript_26C8AC:: @ 826C8AC
trainerbattle_single TRAINER_PAULA, Route110_TrickHousePuzzle4_Text_26CA9C, Route110_TrickHousePuzzle4_Text_26CACB
msgbox Route110_TrickHousePuzzle4_Text_26CAD1, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle4_EventScript_Paula:: @ 826C8AC
trainerbattle_single TRAINER_PAULA, Route110_TrickHousePuzzle4_Text_PaulaIntro, Route110_TrickHousePuzzle4_Text_PaulaDefeat
msgbox Route110_TrickHousePuzzle4_Text_PaulaPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle4_Text_26C8C3: @ 826C8C3
Route110_TrickHousePuzzle4_Text_WroteSecretCodeLockOpened: @ 826C8C3
.string "{PLAYER} wrote down the secret code\n"
.string "on the door.\p"
.string "“TRICK MASTER is cool.”\n"
.string "… … … … … … … …\p"
.string "The lock clicked open!$"
Route110_TrickHousePuzzle4_Text_26C92D: @ 826C92D
Route110_TrickHousePuzzle4_Text_CoraIntro: @ 826C92D
.string "It's too much bother to think this out.\n"
.string "I only wanted to battle!$"
Route110_TrickHousePuzzle4_Text_26C96E: @ 826C96E
Route110_TrickHousePuzzle4_Text_CoraDefeat: @ 826C96E
.string "Even though I lost, I still like battling\n"
.string "the best!$"
Route110_TrickHousePuzzle4_Text_26C9A2: @ 826C9A2
Route110_TrickHousePuzzle4_Text_CoraPostBattle: @ 826C9A2
.string "Wouldn't you agree? You would go\n"
.string "anywhere if TRAINERS were there.$"
Route110_TrickHousePuzzle4_Text_26C9E4: @ 826C9E4
Route110_TrickHousePuzzle4_Text_YujiIntro: @ 826C9E4
.string "Heh! Boulders like this, I can brush\n"
.string "aside with one finger!$"
Route110_TrickHousePuzzle4_Text_26CA20: @ 826CA20
Route110_TrickHousePuzzle4_Text_YujiDefeat: @ 826CA20
.string "I can push boulders, but I can't solve\n"
.string "the puzzle…$"
Route110_TrickHousePuzzle4_Text_26CA53: @ 826CA53
Route110_TrickHousePuzzle4_Text_YujiPostBattle: @ 826CA53
.string "It's not good enough to be brawny…\n"
.string "You have to use your head. Be brainy!$"
Route110_TrickHousePuzzle4_Text_26CA9C: @ 826CA9C
Route110_TrickHousePuzzle4_Text_PaulaIntro: @ 826CA9C
.string "The TRICK HOUSE is getting trickier,\n"
.string "isn't it?$"
Route110_TrickHousePuzzle4_Text_26CACB: @ 826CACB
Route110_TrickHousePuzzle4_Text_PaulaDefeat: @ 826CACB
.string "Aaak!$"
Route110_TrickHousePuzzle4_Text_26CAD1: @ 826CAD1
Route110_TrickHousePuzzle4_Text_PaulaPostBattle: @ 826CAD1
.string "Has anyone made it to the end?$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CB32",
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll1",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CB53",
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll2",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CB74",
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll3",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CB95",
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll4",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CBB6",
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll5",
"flag": "0"
}
],
@@ -111,7 +111,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CBD7"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll1Trigger0"
},
{
"type": "trigger",
@@ -120,7 +120,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CBE3"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll1Trigger1"
},
{
"type": "trigger",
@@ -129,7 +129,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CBEF"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll1Trigger2"
},
{
"type": "trigger",
@@ -138,7 +138,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CBFB"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll1Trigger3"
},
{
"type": "trigger",
@@ -147,7 +147,7 @@
"elevation": 3,
"var": "VAR_TEMP_2",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CC13"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll2Trigger0"
},
{
"type": "trigger",
@@ -156,7 +156,7 @@
"elevation": 3,
"var": "VAR_TEMP_2",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CC1F"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll2Trigger1"
},
{
"type": "trigger",
@@ -165,7 +165,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CC5B"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll3Trigger0"
},
{
"type": "trigger",
@@ -174,7 +174,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CC67"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll3Trigger1"
},
{
"type": "trigger",
@@ -183,7 +183,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CC73"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll3Trigger2"
},
{
"type": "trigger",
@@ -192,7 +192,7 @@
"elevation": 3,
"var": "VAR_TEMP_4",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CC97"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll4Trigger0"
},
{
"type": "trigger",
@@ -201,7 +201,7 @@
"elevation": 3,
"var": "VAR_TEMP_4",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CCA3"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll4Trigger1"
},
{
"type": "trigger",
@@ -210,7 +210,7 @@
"elevation": 3,
"var": "VAR_TEMP_5",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CCDF"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll5Trigger0"
},
{
"type": "trigger",
@@ -219,7 +219,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CC07"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll1Trigger4"
},
{
"type": "trigger",
@@ -228,7 +228,7 @@
"elevation": 3,
"var": "VAR_TEMP_2",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CC2B"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll2Trigger2"
},
{
"type": "trigger",
@@ -237,7 +237,7 @@
"elevation": 3,
"var": "VAR_TEMP_2",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CC37"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll2Trigger3"
},
{
"type": "trigger",
@@ -246,7 +246,7 @@
"elevation": 3,
"var": "VAR_TEMP_2",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CC43"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll2Trigger4"
},
{
"type": "trigger",
@@ -255,7 +255,7 @@
"elevation": 3,
"var": "VAR_TEMP_2",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CC4F"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll2Trigger5"
},
{
"type": "trigger",
@@ -264,7 +264,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CC7F"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll3Trigger3"
},
{
"type": "trigger",
@@ -273,7 +273,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CC8B"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll3Trigger4"
},
{
"type": "trigger",
@@ -282,7 +282,7 @@
"elevation": 3,
"var": "VAR_TEMP_4",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CCAF"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll4Trigger2"
},
{
"type": "trigger",
@@ -291,7 +291,7 @@
"elevation": 3,
"var": "VAR_TEMP_4",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CCBB"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll4Trigger3"
},
{
"type": "trigger",
@@ -300,7 +300,7 @@
"elevation": 3,
"var": "VAR_TEMP_4",
"var_value": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_26CCC7"
"script": "Route110_TrickHousePuzzle5_EventScript_Mechadoll4Trigger4"
}
],
"bg_events": [
@@ -310,7 +310,7 @@
"y": 21,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route110_TrickHousePuzzle5_EventScript_26CB15"
"script": "Route110_TrickHousePuzzle5_EventScript_Scroll"
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle6_EventScript_26DDE1",
"script": "Route110_TrickHousePuzzle6_EventScript_Sophia",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route110_TrickHousePuzzle6_EventScript_26DDF8",
"script": "Route110_TrickHousePuzzle6_EventScript_Benny",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle6_EventScript_26DE0F",
"script": "Route110_TrickHousePuzzle6_EventScript_Sebastian",
"flag": "0"
},
{
@@ -98,7 +98,7 @@
"y": 10,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route110_TrickHousePuzzle6_EventScript_26DDC4"
"script": "Route110_TrickHousePuzzle6_EventScript_Scroll"
}
]
}

View File

@@ -1,87 +1,87 @@
Route110_TrickHousePuzzle6_MapScripts:: @ 826DDA7
map_script MAP_SCRIPT_ON_TRANSITION, Route110_TrickHousePuzzle6_OnTransition
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, Route110_TrickHousePuzzle6_MapScript2_26DDB6
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, Route110_TrickHousePuzzle6_OnWarp
.byte 0
Route110_TrickHousePuzzle6_OnTransition: @ 826DDB2
special RotatingGate_InitPuzzle
end
Route110_TrickHousePuzzle6_MapScript2_26DDB6: @ 826DDB6
map_script_2 VAR_TEMP_0, 16384, Route110_TrickHousePuzzle6_EventScript_26DDC0
Route110_TrickHousePuzzle6_OnWarp: @ 826DDB6
map_script_2 VAR_TEMP_0, VAR_TEMP_0, Route110_TrickHousePuzzle6_EventScript_InitPuzzle
.2byte 0
Route110_TrickHousePuzzle6_EventScript_26DDC0:: @ 826DDC0
Route110_TrickHousePuzzle6_EventScript_InitPuzzle:: @ 826DDC0
special RotatingGate_InitPuzzleAndGraphics
end
Route110_TrickHousePuzzle6_EventScript_26DDC4:: @ 826DDC4
Route110_TrickHousePuzzle6_EventScript_Scroll:: @ 826DDC4
lockall
compare VAR_TRICK_HOUSE_PUZZLE_6_STATE, 0
goto_if_eq Route110_TrickHousePuzzle6_EventScript_26DDD6
goto Route110_TrickHousePuzzle6_EventScript_26A3DB
goto_if_eq Route110_TrickHousePuzzle6_EventScript_FoundScroll
goto Route110_TrickHousePuzzle_EventScript_ReadScrollAgain
end
Route110_TrickHousePuzzle6_EventScript_26DDD6:: @ 826DDD6
Route110_TrickHousePuzzle6_EventScript_FoundScroll:: @ 826DDD6
setvar VAR_TRICK_HOUSE_PUZZLE_6_STATE, 1
goto Route110_TrickHousePuzzle6_EventScript_26A3E5
goto Route110_TrickHousePuzzle_EventScript_FoundScroll
end
Route110_TrickHousePuzzle6_EventScript_26DDE1:: @ 826DDE1
trainerbattle_single TRAINER_SOPHIA, Route110_TrickHousePuzzle6_Text_26DE93, Route110_TrickHousePuzzle6_Text_26DED2
msgbox Route110_TrickHousePuzzle6_Text_26DEF3, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle6_EventScript_Sophia:: @ 826DDE1
trainerbattle_single TRAINER_SOPHIA, Route110_TrickHousePuzzle6_Text_SophiaIntro, Route110_TrickHousePuzzle6_Text_SophiaDefeat
msgbox Route110_TrickHousePuzzle6_Text_SophiaPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle6_EventScript_26DDF8:: @ 826DDF8
trainerbattle_single TRAINER_BENNY, Route110_TrickHousePuzzle6_Text_26DF55, Route110_TrickHousePuzzle6_Text_26DF8D
msgbox Route110_TrickHousePuzzle6_Text_26DFA0, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle6_EventScript_Benny:: @ 826DDF8
trainerbattle_single TRAINER_BENNY, Route110_TrickHousePuzzle6_Text_BennyIntro, Route110_TrickHousePuzzle6_Text_BennyDefeat
msgbox Route110_TrickHousePuzzle6_Text_BennyPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle6_EventScript_26DE0F:: @ 826DE0F
trainerbattle_single TRAINER_SEBASTIAN, Route110_TrickHousePuzzle6_Text_26DFD7, Route110_TrickHousePuzzle6_Text_26E004
msgbox Route110_TrickHousePuzzle6_Text_26E048, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle6_EventScript_Sebastian:: @ 826DE0F
trainerbattle_single TRAINER_SEBASTIAN, Route110_TrickHousePuzzle6_Text_SebastianIntro, Route110_TrickHousePuzzle6_Text_SebastianDefeat
msgbox Route110_TrickHousePuzzle6_Text_SebastianPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle6_Text_26DE26: @ 826DE26
Route110_TrickHousePuzzle6_Text_WroteSecretCodeLockOpened: @ 826DE26
.string "{PLAYER} wrote down the secret code\n"
.string "on the door.\p"
.string "“TRICK MASTER is my life.”\n"
.string "… … … … … … … …\p"
.string "The lock clicked open!$"
Route110_TrickHousePuzzle6_Text_26DE93: @ 826DE93
Route110_TrickHousePuzzle6_Text_SophiaIntro: @ 826DE93
.string "When I heard there was a strange\n"
.string "house, I had to check it out.$"
Route110_TrickHousePuzzle6_Text_26DED2: @ 826DED2
Route110_TrickHousePuzzle6_Text_SophiaDefeat: @ 826DED2
.string "I've discovered a tough TRAINER!$"
Route110_TrickHousePuzzle6_Text_26DEF3: @ 826DEF3
Route110_TrickHousePuzzle6_Text_SophiaPostBattle: @ 826DEF3
.string "I'm sure having a good time checking\n"
.string "this place out.\p"
.string "It's a challenge I've found worth\n"
.string "repeating!$"
Route110_TrickHousePuzzle6_Text_26DF55: @ 826DF55
Route110_TrickHousePuzzle6_Text_BennyIntro: @ 826DF55
.string "Maybe I could get my BIRD POKéMON\n"
.string "to fly over the wall…$"
Route110_TrickHousePuzzle6_Text_26DF8D: @ 826DF8D
Route110_TrickHousePuzzle6_Text_BennyDefeat: @ 826DF8D
.string "Gwaaah! I blew it!$"
Route110_TrickHousePuzzle6_Text_26DFA0: @ 826DFA0
Route110_TrickHousePuzzle6_Text_BennyPostBattle: @ 826DFA0
.string "Ehehehe… I guess I lost because\n"
.string "I was trying to cheat.$"
Route110_TrickHousePuzzle6_Text_26DFD7: @ 826DFD7
Route110_TrickHousePuzzle6_Text_SebastianIntro: @ 826DFD7
.string "I'm getting dizzy from these rotating\n"
.string "doors…$"
Route110_TrickHousePuzzle6_Text_26E004: @ 826E004
Route110_TrickHousePuzzle6_Text_SebastianDefeat: @ 826E004
.string "Everything's spinning around and\n"
.string "around. I can't take this anymore…$"
Route110_TrickHousePuzzle6_Text_26E048: @ 826E048
Route110_TrickHousePuzzle6_Text_SebastianPostBattle: @ 826E048
.string "You don't seem to be affected at all.\n"
.string "Or do you have your poker face on?$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle7_EventScript_26E389",
"script": "Route110_TrickHousePuzzle7_EventScript_Joshua",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle7_EventScript_26E3B7",
"script": "Route110_TrickHousePuzzle7_EventScript_Alexis",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle7_EventScript_26E3A0",
"script": "Route110_TrickHousePuzzle7_EventScript_Patricia",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle7_EventScript_26E3E5",
"script": "Route110_TrickHousePuzzle7_EventScript_Alvaro",
"flag": "0"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle7_EventScript_26E3CE",
"script": "Route110_TrickHousePuzzle7_EventScript_Mariela",
"flag": "0"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle7_EventScript_26E3FC",
"script": "Route110_TrickHousePuzzle7_EventScript_Everett",
"flag": "0"
},
{
@@ -233,7 +233,7 @@
"elevation": 0,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "Route110_TrickHousePuzzle7_EventScript_26E31B"
"script": "Route110_TrickHousePuzzle7_EventScript_YellowButton"
},
{
"type": "trigger",
@@ -242,7 +242,7 @@
"elevation": 0,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "Route110_TrickHousePuzzle7_EventScript_26E331"
"script": "Route110_TrickHousePuzzle7_EventScript_BlueButton"
},
{
"type": "trigger",
@@ -251,7 +251,7 @@
"elevation": 0,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "Route110_TrickHousePuzzle7_EventScript_26E347"
"script": "Route110_TrickHousePuzzle7_EventScript_GreenButton"
},
{
"type": "trigger",
@@ -260,7 +260,7 @@
"elevation": 0,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "Route110_TrickHousePuzzle7_EventScript_26E35D"
"script": "Route110_TrickHousePuzzle7_EventScript_PurpleButton"
}
],
"bg_events": [
@@ -270,7 +270,7 @@
"y": 17,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route110_TrickHousePuzzle7_EventScript_26E1D0"
"script": "Route110_TrickHousePuzzle7_EventScript_Scroll"
}
]
}

View File

@@ -1,75 +1,79 @@
Route110_TrickHousePuzzle7_MapScripts:: @ 826E091
map_script MAP_SCRIPT_ON_RESUME, Route110_TrickHousePuzzle7_MapScript1_26E0A6
map_script MAP_SCRIPT_ON_RESUME, Route110_TrickHousePuzzle7_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, Route110_TrickHousePuzzle7_OnTransition
map_script MAP_SCRIPT_ON_LOAD, Route110_TrickHousePuzzle7_MapScript1_26E1B4
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route110_TrickHousePuzzle7_MapScript2_26E1C0
map_script MAP_SCRIPT_ON_LOAD, Route110_TrickHousePuzzle7_OnLoad
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route110_TrickHousePuzzle7_OnFrame
.byte 0
Route110_TrickHousePuzzle7_MapScript1_26E0A6: @ 826E0A6
call Route110_TrickHousePuzzle7_EventScript_26E0AC
@ Puzzle Room 7 in RSE uses whatever puzzle Mossdeep Gym uses
@ Because Mossdeep Gym was redesigned for Emerald, theres a good deal of leftover script from the old R/S puzzle
Route110_TrickHousePuzzle7_OnResume: @ 826E0A6
call Route110_TrickHousePuzzle7_EventScript_UpdateSwitchMetatiles
end
Route110_TrickHousePuzzle7_EventScript_26E0AC:: @ 826E0AC
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1, Route110_TrickHousePuzzle7_EventScript_26E0DA
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2, Route110_TrickHousePuzzle7_EventScript_26E0ED
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3, Route110_TrickHousePuzzle7_EventScript_26E100
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4, Route110_TrickHousePuzzle7_EventScript_26E113
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5, Route110_TrickHousePuzzle7_EventScript_26E126
Route110_TrickHousePuzzle7_EventScript_UpdateSwitchMetatiles:: @ 826E0AC
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1, Route110_TrickHousePuzzle7_EventScript_SetSwitch1MetatilesOn
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2, Route110_TrickHousePuzzle7_EventScript_SetSwitch2MetatilesOn
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3, Route110_TrickHousePuzzle7_EventScript_SetSwitch3MetatilesOn
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4, Route110_TrickHousePuzzle7_EventScript_SetSwitch4MetatilesOn
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5, Route110_TrickHousePuzzle7_EventScript_SetSwitch5MetatilesOn
return
Route110_TrickHousePuzzle7_EventScript_26E0DA:: @ 826E0DA
@ Leftover from R/S, none of the below metatile scripts are ever called
Route110_TrickHousePuzzle7_EventScript_SetSwitch1MetatilesOn:: @ 826E0DA
setmetatile 13, 17, METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Up, 0
setmetatile 12, 16, METATILE_TrickHousePuzzle_Lever_On, 1
return
Route110_TrickHousePuzzle7_EventScript_26E0ED:: @ 826E0ED
Route110_TrickHousePuzzle7_EventScript_SetSwitch2MetatilesOn:: @ 826E0ED
setmetatile 12, 13, METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Up, 0
setmetatile 12, 11, METATILE_TrickHousePuzzle_Lever_On, 1
return
Route110_TrickHousePuzzle7_EventScript_26E100:: @ 826E100
Route110_TrickHousePuzzle7_EventScript_SetSwitch3MetatilesOn:: @ 826E100
setmetatile 7, 12, METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Up, 0
setmetatile 5, 10, METATILE_TrickHousePuzzle_Lever_On, 1
return
Route110_TrickHousePuzzle7_EventScript_26E113:: @ 826E113
Route110_TrickHousePuzzle7_EventScript_SetSwitch4MetatilesOn:: @ 826E113
setmetatile 6, 6, METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Right_Alt, 0
setmetatile 4, 4, METATILE_TrickHousePuzzle_Lever_On, 1
return
Route110_TrickHousePuzzle7_EventScript_26E126:: @ 826E126
Route110_TrickHousePuzzle7_EventScript_SetSwitch5MetatilesOn:: @ 826E126
setmetatile 8, 4, METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Left, 0
setmetatile 7, 5, METATILE_TrickHousePuzzle_Lever_On, 1
return
Route110_TrickHousePuzzle7_EventScript_26E139:: @ 826E139
Route110_TrickHousePuzzle7_EventScript_SetSwitch1MetatilesOff:: @ 826E139
setmetatile 13, 17, METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Down, 0
setmetatile 12, 16, METATILE_TrickHousePuzzle_Lever_Off, 1
return
Route110_TrickHousePuzzle7_EventScript_26E14C:: @ 826E14C
Route110_TrickHousePuzzle7_EventScript_SetSwitch2MetatilesOff:: @ 826E14C
setmetatile 12, 13, METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Left, 0
setmetatile 12, 11, METATILE_TrickHousePuzzle_Lever_Off, 1
return
Route110_TrickHousePuzzle7_EventScript_26E15F:: @ 826E15F
Route110_TrickHousePuzzle7_EventScript_SetSwitch3MetatilesOff:: @ 826E15F
setmetatile 7, 12, METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Down, 0
setmetatile 5, 10, METATILE_TrickHousePuzzle_Lever_Off, 1
return
Route110_TrickHousePuzzle7_EventScript_26E172:: @ 826E172
Route110_TrickHousePuzzle7_EventScript_SetSwitch4MetatilesOff:: @ 826E172
setmetatile 6, 6, METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Left_Alt, 0
setmetatile 4, 4, METATILE_TrickHousePuzzle_Lever_Off, 1
return
Route110_TrickHousePuzzle7_EventScript_26E185:: @ 826E185
Route110_TrickHousePuzzle7_EventScript_SetSwitch5MetatilesOff:: @ 826E185
setmetatile 8, 4, METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Right, 0
setmetatile 7, 5, METATILE_TrickHousePuzzle_Lever_Off, 1
return
Route110_TrickHousePuzzle7_OnTransition: @ 826E198
compare VAR_TRICK_HOUSE_PUZZLE_7_STATE_2, 1
goto_if_eq Route110_TrickHousePuzzle7_EventScript_26E1B3
goto_if_eq Route110_TrickHousePuzzle7_EventScript_TeleportedTransition
clearflag FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1
clearflag FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2
clearflag FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3
@@ -77,35 +81,36 @@ Route110_TrickHousePuzzle7_OnTransition: @ 826E198
clearflag FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5
end
Route110_TrickHousePuzzle7_EventScript_26E1B3:: @ 826E1B3
Route110_TrickHousePuzzle7_EventScript_TeleportedTransition:: @ 826E1B3
end
Route110_TrickHousePuzzle7_MapScript1_26E1B4: @ 826E1B4
Route110_TrickHousePuzzle7_OnLoad: @ 826E1B4
compare VAR_TRICK_HOUSE_PUZZLE_7_STATE_2, 1
call_if_eq Route110_TrickHousePuzzle7_EventScript_26E0AC
call_if_eq Route110_TrickHousePuzzle7_EventScript_UpdateSwitchMetatiles
end
Route110_TrickHousePuzzle7_MapScript2_26E1C0: @ 826E1C0
map_script_2 VAR_TRICK_HOUSE_PUZZLE_7_STATE_2, 1, Route110_TrickHousePuzzle7_EventScript_26E1CA
Route110_TrickHousePuzzle7_OnFrame: @ 826E1C0
map_script_2 VAR_TRICK_HOUSE_PUZZLE_7_STATE_2, 1, Route110_TrickHousePuzzle7_EventScript_ClearState2
.2byte 0
Route110_TrickHousePuzzle7_EventScript_26E1CA:: @ 826E1CA
Route110_TrickHousePuzzle7_EventScript_ClearState2:: @ 826E1CA
setvar VAR_TRICK_HOUSE_PUZZLE_7_STATE_2, 0
end
Route110_TrickHousePuzzle7_EventScript_26E1D0:: @ 826E1D0
Route110_TrickHousePuzzle7_EventScript_Scroll:: @ 826E1D0
lockall
compare VAR_TRICK_HOUSE_PUZZLE_7_STATE, 0
goto_if_eq Route110_TrickHousePuzzle7_EventScript_26E1E2
goto Route110_TrickHousePuzzle7_EventScript_26A3DB
goto_if_eq Route110_TrickHousePuzzle7_EventScript_FoundScroll
goto Route110_TrickHousePuzzle_EventScript_ReadScrollAgain
end
Route110_TrickHousePuzzle7_EventScript_26E1E2:: @ 826E1E2
Route110_TrickHousePuzzle7_EventScript_FoundScroll:: @ 826E1E2
setvar VAR_TRICK_HOUSE_PUZZLE_7_STATE, 1
goto Route110_TrickHousePuzzle7_EventScript_26A3E5
goto Route110_TrickHousePuzzle_EventScript_FoundScroll
end
Route110_TrickHousePuzzle7_EventScript_26E1ED:: @ 826E1ED
@ Unused, leftover from R/S
Route110_TrickHousePuzzle7_EventScript_TeleportPad:: @ 826E1ED
lockall
setvar VAR_TRICK_HOUSE_PUZZLE_7_STATE_2, 1
warpteleport MAP_ROUTE110_TRICK_HOUSE_PUZZLE7, 255, 3, 19
@@ -113,112 +118,115 @@ Route110_TrickHousePuzzle7_EventScript_26E1ED:: @ 826E1ED
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E1FE:: @ 826E1FE
@ All the below switch scripts are unused leftover from R/S
Route110_TrickHousePuzzle7_EventScript_Switch1:: @ 826E1FE
lockall
delay 32
call_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1, Route110_TrickHousePuzzle7_EventScript_26E0DA
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1, Route110_TrickHousePuzzle7_EventScript_26E139
call_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1, Route110_TrickHousePuzzle7_EventScript_SetSwitch1MetatilesOn
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1, Route110_TrickHousePuzzle7_EventScript_SetSwitch1MetatilesOff
special DrawWholeMapView
playse SE_TK_KASYA
goto_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1, Route110_TrickHousePuzzle7_EventScript_26E2E9
goto_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1, Route110_TrickHousePuzzle7_EventScript_26E2EE
goto_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1, Route110_TrickHousePuzzle7_EventScript_SetSwitch1On
goto_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1, Route110_TrickHousePuzzle7_EventScript_SetSwitch1Off
end
Route110_TrickHousePuzzle7_EventScript_26E22D:: @ 826E22D
Route110_TrickHousePuzzle7_EventScript_Switch2:: @ 826E22D
lockall
delay 32
call_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2, Route110_TrickHousePuzzle7_EventScript_26E0ED
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2, Route110_TrickHousePuzzle7_EventScript_26E14C
call_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2, Route110_TrickHousePuzzle7_EventScript_SetSwitch2MetatilesOn
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2, Route110_TrickHousePuzzle7_EventScript_SetSwitch2MetatilesOff
special DrawWholeMapView
playse SE_TK_KASYA
goto_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2, Route110_TrickHousePuzzle7_EventScript_26E2F3
goto_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2, Route110_TrickHousePuzzle7_EventScript_26E2F8
goto_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2, Route110_TrickHousePuzzle7_EventScript_SetSwitch2On
goto_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2, Route110_TrickHousePuzzle7_EventScript_SetSwitch2Off
end
Route110_TrickHousePuzzle7_EventScript_26E25C:: @ 826E25C
Route110_TrickHousePuzzle7_EventScript_Switch3:: @ 826E25C
lockall
delay 32
call_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3, Route110_TrickHousePuzzle7_EventScript_26E100
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3, Route110_TrickHousePuzzle7_EventScript_26E15F
call_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3, Route110_TrickHousePuzzle7_EventScript_SetSwitch3MetatilesOn
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3, Route110_TrickHousePuzzle7_EventScript_SetSwitch3MetatilesOff
special DrawWholeMapView
playse SE_TK_KASYA
goto_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3, Route110_TrickHousePuzzle7_EventScript_26E2FD
goto_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3, Route110_TrickHousePuzzle7_EventScript_26E302
goto_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3, Route110_TrickHousePuzzle7_EventScript_SetSwitch3On
goto_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3, Route110_TrickHousePuzzle7_EventScript_SetSwitch3Off
end
Route110_TrickHousePuzzle7_EventScript_26E28B:: @ 826E28B
Route110_TrickHousePuzzle7_EventScript_Switch4:: @ 826E28B
lockall
delay 32
call_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4, Route110_TrickHousePuzzle7_EventScript_26E113
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4, Route110_TrickHousePuzzle7_EventScript_26E172
call_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4, Route110_TrickHousePuzzle7_EventScript_SetSwitch4MetatilesOn
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4, Route110_TrickHousePuzzle7_EventScript_SetSwitch4MetatilesOff
special DrawWholeMapView
playse SE_TK_KASYA
goto_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4, Route110_TrickHousePuzzle7_EventScript_26E307
goto_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4, Route110_TrickHousePuzzle7_EventScript_26E30C
goto_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4, Route110_TrickHousePuzzle7_EventScript_SetSwitch4On
goto_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4, Route110_TrickHousePuzzle7_EventScript_SetSwitch4Off
end
Route110_TrickHousePuzzle7_EventScript_26E2BA:: @ 826E2BA
Route110_TrickHousePuzzle7_EventScript_Switch5:: @ 826E2BA
lockall
delay 32
call_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5, Route110_TrickHousePuzzle7_EventScript_26E126
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5, Route110_TrickHousePuzzle7_EventScript_26E185
call_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5, Route110_TrickHousePuzzle7_EventScript_SetSwitch5MetatilesOn
call_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5, Route110_TrickHousePuzzle7_EventScript_SetSwitch5MetatilesOff
special DrawWholeMapView
playse SE_TK_KASYA
goto_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5, Route110_TrickHousePuzzle7_EventScript_26E311
goto_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5, Route110_TrickHousePuzzle7_EventScript_26E316
goto_if_unset FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5, Route110_TrickHousePuzzle7_EventScript_SetSwitch5On
goto_if_set FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5, Route110_TrickHousePuzzle7_EventScript_SetSwitch5Off
end
Route110_TrickHousePuzzle7_EventScript_26E2E9:: @ 826E2E9
@ All the below switch scripts are unused leftover from R/S
Route110_TrickHousePuzzle7_EventScript_SetSwitch1On:: @ 826E2E9
setflag FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E2EE:: @ 826E2EE
Route110_TrickHousePuzzle7_EventScript_SetSwitch1Off:: @ 826E2EE
clearflag FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E2F3:: @ 826E2F3
Route110_TrickHousePuzzle7_EventScript_SetSwitch2On:: @ 826E2F3
setflag FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E2F8:: @ 826E2F8
Route110_TrickHousePuzzle7_EventScript_SetSwitch2Off:: @ 826E2F8
clearflag FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E2FD:: @ 826E2FD
Route110_TrickHousePuzzle7_EventScript_SetSwitch3On:: @ 826E2FD
setflag FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E302:: @ 826E302
Route110_TrickHousePuzzle7_EventScript_SetSwitch3Off:: @ 826E302
clearflag FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E307:: @ 826E307
Route110_TrickHousePuzzle7_EventScript_SetSwitch4On:: @ 826E307
setflag FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E30C:: @ 826E30C
Route110_TrickHousePuzzle7_EventScript_SetSwitch4Off:: @ 826E30C
clearflag FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E311:: @ 826E311
Route110_TrickHousePuzzle7_EventScript_SetSwitch5On:: @ 826E311
setflag FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E316:: @ 826E316
Route110_TrickHousePuzzle7_EventScript_SetSwitch5Off:: @ 826E316
clearflag FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E31B:: @ 826E31B
@ From here is where the new, actually used puzzle scripts begin
Route110_TrickHousePuzzle7_EventScript_YellowButton:: @ 826E31B
playse SE_MU_PACHI
waitse
playse SE_TU_SAA
@@ -230,7 +238,7 @@ Route110_TrickHousePuzzle7_EventScript_26E31B:: @ 826E31B
freerotatingtilepuzzle
end
Route110_TrickHousePuzzle7_EventScript_26E331:: @ 826E331
Route110_TrickHousePuzzle7_EventScript_BlueButton:: @ 826E331
playse SE_MU_PACHI
waitse
playse SE_TU_SAA
@@ -242,7 +250,7 @@ Route110_TrickHousePuzzle7_EventScript_26E331:: @ 826E331
freerotatingtilepuzzle
end
Route110_TrickHousePuzzle7_EventScript_26E347:: @ 826E347
Route110_TrickHousePuzzle7_EventScript_GreenButton:: @ 826E347
playse SE_MU_PACHI
waitse
playse SE_TU_SAA
@@ -254,7 +262,7 @@ Route110_TrickHousePuzzle7_EventScript_26E347:: @ 826E347
freerotatingtilepuzzle
end
Route110_TrickHousePuzzle7_EventScript_26E35D:: @ 826E35D
Route110_TrickHousePuzzle7_EventScript_PurpleButton:: @ 826E35D
playse SE_MU_PACHI
waitse
playse SE_TU_SAA
@@ -266,7 +274,8 @@ Route110_TrickHousePuzzle7_EventScript_26E35D:: @ 826E35D
freerotatingtilepuzzle
end
Route110_TrickHousePuzzle7_EventScript_26E373:: @ 826E373
@ Unused
Route110_TrickHousePuzzle7_EventScript_RedButton:: @ 826E373
playse SE_MU_PACHI
waitse
playse SE_TU_SAA
@@ -278,109 +287,109 @@ Route110_TrickHousePuzzle7_EventScript_26E373:: @ 826E373
freerotatingtilepuzzle
end
Route110_TrickHousePuzzle7_EventScript_26E389:: @ 826E389
trainerbattle_single TRAINER_JOSHUA, Route110_TrickHousePuzzle7_Text_26E481, Route110_TrickHousePuzzle7_Text_26E4C1
msgbox Route110_TrickHousePuzzle7_Text_26E4F4, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle7_EventScript_Joshua:: @ 826E389
trainerbattle_single TRAINER_JOSHUA, Route110_TrickHousePuzzle7_Text_JoshuaIntro, Route110_TrickHousePuzzle7_Text_JoshuaDefeat
msgbox Route110_TrickHousePuzzle7_Text_JoshuaPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3A0:: @ 826E3A0
trainerbattle_single TRAINER_PATRICIA, Route110_TrickHousePuzzle7_Text_26E531, Route110_TrickHousePuzzle7_Text_26E564
msgbox Route110_TrickHousePuzzle7_Text_26E57F, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle7_EventScript_Patricia:: @ 826E3A0
trainerbattle_single TRAINER_PATRICIA, Route110_TrickHousePuzzle7_Text_PatriciaIntro, Route110_TrickHousePuzzle7_Text_PatriciaDefeat
msgbox Route110_TrickHousePuzzle7_Text_PatriciaPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3B7:: @ 826E3B7
trainerbattle_single TRAINER_ALEXIS, Route110_TrickHousePuzzle7_Text_26E5C0, Route110_TrickHousePuzzle7_Text_26E604
msgbox Route110_TrickHousePuzzle7_Text_26E61E, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle7_EventScript_Alexis:: @ 826E3B7
trainerbattle_single TRAINER_ALEXIS, Route110_TrickHousePuzzle7_Text_AlexisIntro, Route110_TrickHousePuzzle7_Text_AlexisDefeat
msgbox Route110_TrickHousePuzzle7_Text_AlexisPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3CE:: @ 826E3CE
trainerbattle_single TRAINER_MARIELA, Route110_TrickHousePuzzle7_Text_26E66B, Route110_TrickHousePuzzle7_Text_26E69C
msgbox Route110_TrickHousePuzzle7_Text_26E6BC, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle7_EventScript_Mariela:: @ 826E3CE
trainerbattle_single TRAINER_MARIELA, Route110_TrickHousePuzzle7_Text_MarielaIntro, Route110_TrickHousePuzzle7_Text_MarielaDefeat
msgbox Route110_TrickHousePuzzle7_Text_MarielaPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3E5:: @ 826E3E5
trainerbattle_single TRAINER_ALVARO, Route110_TrickHousePuzzle7_Text_26E6DA, Route110_TrickHousePuzzle7_Text_26E700
msgbox Route110_TrickHousePuzzle7_Text_26E722, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle7_EventScript_Alvaro:: @ 826E3E5
trainerbattle_single TRAINER_ALVARO, Route110_TrickHousePuzzle7_Text_AlvaroIntro, Route110_TrickHousePuzzle7_Text_AlvaroDefeat
msgbox Route110_TrickHousePuzzle7_Text_AlvaroPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3FC:: @ 826E3FC
trainerbattle_single TRAINER_EVERETT, Route110_TrickHousePuzzle7_Text_26E78D, Route110_TrickHousePuzzle7_Text_26E7AB
msgbox Route110_TrickHousePuzzle7_Text_26E7C4, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle7_EventScript_Everett:: @ 826E3FC
trainerbattle_single TRAINER_EVERETT, Route110_TrickHousePuzzle7_Text_EverettIntro, Route110_TrickHousePuzzle7_Text_EverettDefeat
msgbox Route110_TrickHousePuzzle7_Text_EverettPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E413:: @ 826E413
Route110_TrickHousePuzzle7_EventScript_WroteSecretCodeLockOpened:: @ 826E413
.string "{PLAYER} wrote down the secret code\n"
.string "on the door.\p"
.string "“TRICK MASTER is huggable.”\n"
.string "… … … … … … … …\p"
.string "The lock clicked open!$"
Route110_TrickHousePuzzle7_Text_26E481: @ 826E481
Route110_TrickHousePuzzle7_Text_JoshuaIntro: @ 826E481
.string "The TRICK MASTER always vanishes\n"
.string "like smoke. How does he do it?$"
Route110_TrickHousePuzzle7_Text_26E4C1: @ 826E4C1
Route110_TrickHousePuzzle7_Text_JoshuaDefeat: @ 826E4C1
.string "Aiyeeeh! You're much too strong!\n"
.string "How do you do it?$"
Route110_TrickHousePuzzle7_Text_26E4F4: @ 826E4F4
Route110_TrickHousePuzzle7_Text_JoshuaPostBattle: @ 826E4F4
.string "I wish I could appear and disappear as\n"
.string "if I were smoke, too.$"
Route110_TrickHousePuzzle7_Text_26E531: @ 826E531
Route110_TrickHousePuzzle7_Text_PatriciaIntro: @ 826E531
.string "Going around the same spot…\n"
.string "It begets ill fortune…$"
Route110_TrickHousePuzzle7_Text_26E564: @ 826E564
Route110_TrickHousePuzzle7_Text_PatriciaDefeat: @ 826E564
.string "Defeated!\n"
.string "It's a bad sign…$"
Route110_TrickHousePuzzle7_Text_26E57F: @ 826E57F
Route110_TrickHousePuzzle7_Text_PatriciaPostBattle: @ 826E57F
.string "I've circled the same spot over ten\n"
.string "times now… It's ill fortune…$"
Route110_TrickHousePuzzle7_Text_26E5C0: @ 826E5C0
Route110_TrickHousePuzzle7_Text_AlexisIntro: @ 826E5C0
.string "Whoever wins will get through here\n"
.string "first. That's the feeling I get.$"
Route110_TrickHousePuzzle7_Text_26E604: @ 826E604
Route110_TrickHousePuzzle7_Text_AlexisDefeat: @ 826E604
.string "Oh!\n"
.string "Well, go ahead, then!$"
Route110_TrickHousePuzzle7_Text_26E61E: @ 826E61E
Route110_TrickHousePuzzle7_Text_AlexisPostBattle: @ 826E61E
.string "You're solving all the puzzles in the\n"
.string "TRICK HOUSE. That's the feeling I get.$"
Route110_TrickHousePuzzle7_Text_26E66B: @ 826E66B
Route110_TrickHousePuzzle7_Text_MarielaIntro: @ 826E66B
.string "Nufufufu, here at last!\n"
.string "Let's get right with it!$"
Route110_TrickHousePuzzle7_Text_26E69C: @ 826E69C
Route110_TrickHousePuzzle7_Text_MarielaDefeat: @ 826E69C
.string "You're so casual about winning!$"
Route110_TrickHousePuzzle7_Text_26E6BC: @ 826E6BC
Route110_TrickHousePuzzle7_Text_MarielaPostBattle: @ 826E6BC
.string "Humph! I'm not upset!\n"
.string "Not me!$"
Route110_TrickHousePuzzle7_Text_26E6DA: @ 826E6DA
Route110_TrickHousePuzzle7_Text_AlvaroIntro: @ 826E6DA
.string "I ever so closely watched you coming!$"
Route110_TrickHousePuzzle7_Text_26E700: @ 826E700
Route110_TrickHousePuzzle7_Text_AlvaroDefeat: @ 826E700
.string "This outcome I didn't see coming…$"
Route110_TrickHousePuzzle7_Text_26E722: @ 826E722
Route110_TrickHousePuzzle7_Text_AlvaroPostBattle: @ 826E722
.string "Well, anyway, we both picked a weird\n"
.string "place to get acquainted.\p"
.string "As one weirdo to another,\n"
.string "let's do our best!$"
Route110_TrickHousePuzzle7_Text_26E78D: @ 826E78D
Route110_TrickHousePuzzle7_Text_EverettIntro: @ 826E78D
.string "It's awfully cramped in here…$"
Route110_TrickHousePuzzle7_Text_26E7AB: @ 826E7AB
Route110_TrickHousePuzzle7_Text_EverettDefeat: @ 826E7AB
.string "Oh, yes, strong you are.$"
Route110_TrickHousePuzzle7_Text_26E7C4: @ 826E7C4
Route110_TrickHousePuzzle7_Text_EverettPostBattle: @ 826E7C4
.string "I was hoping to switch places with you\n"
.string "when I beat you, but…$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle8_EventScript_26E81F",
"script": "Route110_TrickHousePuzzle8_EventScript_Vincent",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle8_EventScript_26E84D",
"script": "Route110_TrickHousePuzzle8_EventScript_Leroy",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle8_EventScript_26E836",
"script": "Route110_TrickHousePuzzle8_EventScript_Keira",
"flag": "0"
},
{
@@ -98,7 +98,7 @@
"y": 21,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route110_TrickHousePuzzle8_EventScript_26E802"
"script": "Route110_TrickHousePuzzle8_EventScript_Scroll"
}
]
}

View File

@@ -1,72 +1,72 @@
Route110_TrickHousePuzzle8_MapScripts:: @ 826E801
.byte 0
Route110_TrickHousePuzzle8_EventScript_26E802:: @ 826E802
Route110_TrickHousePuzzle8_EventScript_Scroll:: @ 826E802
lockall
compare VAR_TRICK_HOUSE_PUZZLE_8_STATE, 0
goto_if_eq Route110_TrickHousePuzzle8_EventScript_26E814
goto Route110_TrickHousePuzzle8_EventScript_26A3DB
goto_if_eq Route110_TrickHousePuzzle8_EventScript_FoundScroll
goto Route110_TrickHousePuzzle_EventScript_ReadScrollAgain
end
Route110_TrickHousePuzzle8_EventScript_26E814:: @ 826E814
Route110_TrickHousePuzzle8_EventScript_FoundScroll:: @ 826E814
setvar VAR_TRICK_HOUSE_PUZZLE_8_STATE, 1
goto Route110_TrickHousePuzzle8_EventScript_26A3E5
goto Route110_TrickHousePuzzle_EventScript_FoundScroll
end
Route110_TrickHousePuzzle8_EventScript_26E81F:: @ 826E81F
trainerbattle_single TRAINER_VINCENT, Route110_TrickHousePuzzle8_Text_26E8CD, Route110_TrickHousePuzzle8_Text_26E8F6
msgbox Route110_TrickHousePuzzle8_Text_26E918, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle8_EventScript_Vincent:: @ 826E81F
trainerbattle_single TRAINER_VINCENT, Route110_TrickHousePuzzle8_Text_VincentIntro, Route110_TrickHousePuzzle8_Text_VincentDefeat
msgbox Route110_TrickHousePuzzle8_Text_VincentPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle8_EventScript_26E836:: @ 826E836
trainerbattle_single TRAINER_KEIRA, Route110_TrickHousePuzzle8_Text_26E954, Route110_TrickHousePuzzle8_Text_26E97F
msgbox Route110_TrickHousePuzzle8_Text_26E99F, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle8_EventScript_Keira:: @ 826E836
trainerbattle_single TRAINER_KEIRA, Route110_TrickHousePuzzle8_Text_KeiraIntro, Route110_TrickHousePuzzle8_Text_KeiraDefeat
msgbox Route110_TrickHousePuzzle8_Text_KeiraPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle8_EventScript_26E84D:: @ 826E84D
trainerbattle_single TRAINER_LEROY, Route110_TrickHousePuzzle8_Text_26E9D7, Route110_TrickHousePuzzle8_Text_26EA14
msgbox Route110_TrickHousePuzzle8_Text_26EA3F, MSGBOX_AUTOCLOSE
Route110_TrickHousePuzzle8_EventScript_Leroy:: @ 826E84D
trainerbattle_single TRAINER_LEROY, Route110_TrickHousePuzzle8_Text_LeroyIntro, Route110_TrickHousePuzzle8_Text_LeroyDefeat
msgbox Route110_TrickHousePuzzle8_Text_LeroyPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle8_EventScript_26E864:: @ 826E864
Route110_TrickHousePuzzle8_EventScript_WroteSecretCodeLockOpened:: @ 826E864
.string "{PLAYER} wrote down the secret code\n"
.string "on the door.\p"
.string "“TRICK MASTER I love.”\n"
.string "… … … … … … … …\p"
.string "The lock clicked open!$"
Route110_TrickHousePuzzle8_Text_26E8CD: @ 826E8CD
Route110_TrickHousePuzzle8_Text_VincentIntro: @ 826E8CD
.string "Not many TRAINERS have made it\n"
.string "this far.$"
Route110_TrickHousePuzzle8_Text_26E8F6: @ 826E8F6
Route110_TrickHousePuzzle8_Text_VincentDefeat: @ 826E8F6
.string "That must mean you're tough, too…$"
Route110_TrickHousePuzzle8_Text_26E918: @ 826E918
Route110_TrickHousePuzzle8_Text_VincentPostBattle: @ 826E918
.string "You've beaten the POKéMON LEAGUE\n"
.string "CHAMPION? That's too much!$"
Route110_TrickHousePuzzle8_Text_26E954: @ 826E954
Route110_TrickHousePuzzle8_Text_KeiraIntro: @ 826E954
.string "Consider yourself lucky to be\n"
.string "battling me!$"
Route110_TrickHousePuzzle8_Text_26E97F: @ 826E97F
Route110_TrickHousePuzzle8_Text_KeiraDefeat: @ 826E97F
.string "This isn't right!\n"
.string "I can't lose!$"
Route110_TrickHousePuzzle8_Text_26E99F: @ 826E99F
Route110_TrickHousePuzzle8_Text_KeiraPostBattle: @ 826E99F
.string "It's a miracle that you beat me.\n"
.string "You can brag about it.$"
Route110_TrickHousePuzzle8_Text_26E9D7: @ 826E9D7
Route110_TrickHousePuzzle8_Text_LeroyIntro: @ 826E9D7
.string "You've been slugging through the TRICK\n"
.string "HOUSE challenge, too.$"
Route110_TrickHousePuzzle8_Text_26EA14: @ 826EA14
Route110_TrickHousePuzzle8_Text_LeroyDefeat: @ 826EA14
.string "I see…\n"
.string "You possess an extraordinary style.$"
Route110_TrickHousePuzzle8_Text_26EA3F: @ 826EA3F
Route110_TrickHousePuzzle8_Text_LeroyPostBattle: @ 826EA3F
.string "Seeing someone like you should please\n"
.string "the TRICK MASTER.$"

View File

@@ -207,11 +207,11 @@
#define FLAG_DEFEATED_GRUNT_SPACE_CENTER_1F 0xBF
#define FLAG_RECEIVED_SUN_STONE_MOSSDEEP 0xC0
#define FLAG_WALLY_SPEECH 0xC1
#define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1 0xC2
#define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2 0xC3
#define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3 0xC4
#define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4 0xC5
#define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5 0xC6
#define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1 0xC2 // Leftover from the RS version of Puzzle Room 7, functionally unused
#define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2 0xC3 //
#define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3 0xC4 //
#define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4 0xC5 //
#define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5 0xC6 //
#define FLAG_RUSTURF_TUNNEL_OPENED 0xC7
#define FLAG_RECEIVED_RED_SCARF 0xC8
#define FLAG_RECEIVED_BLUE_SCARF 0xC9

View File

@@ -179,9 +179,9 @@
#define VAR_SEAFLOOR_CAVERN_STATE 0x40A2
#define VAR_CABLE_CAR_STATION_STATE 0x40A3
#define VAR_SAFARI_ZONE_STATE 0x40A4 // 0: In or out of SZ, 1: Player exiting SZ, 2: Player entering SZ
#define VAR_TRICK_HOUSE_ENTRANCE_STATE_1 0x40A5
#define VAR_TRICK_HOUSE_ENTRANCE_STATE_2 0x40A6
#define VAR_TRICK_HOUSE_ENTRANCE_STATE_3 0x40A7
#define VAR_TRICK_HOUSE_BEING_WATCHED_STATE 0x40A5
#define VAR_TRICK_HOUSE_FOUND_TRICK_MASTER 0x40A6
#define VAR_TRICK_HOUSE_ENTRANCE_STATE 0x40A7
#define VAR_UNUSED_0x40A8 0x40A8 // Unused Var
#define VAR_CYCLING_CHALLENGE_STATE 0x40A9
#define VAR_SLATEPORT_MUSEUM_1F_STATE 0x40AA
@@ -195,8 +195,8 @@
#define VAR_TRICK_HOUSE_PUZZLE_8_STATE 0x40B2
#define VAR_WEATHER_INSTITUTE_STATE 0x40B3
#define VAR_PORTHOLE_STATE 0x40B4
#define VAR_TRICK_HOUSE_STATE 0x40B5 // TODO: needs some further investigation
#define VAR_TRICK_HOUSE_PUZZLE_7_STATE_2 0x40B6
#define VAR_TRICK_HOUSE_ENTER_FROM_CORRIDOR 0x40B5
#define VAR_TRICK_HOUSE_PUZZLE_7_STATE_2 0x40B6 // Leftover from RS, never set
#define VAR_SLATEPORT_FAN_CLUB_STATE 0x40B7
#define VAR_UNUSED_0x40B8 0x40B8 // Unused Var
#define VAR_MT_PYRE_STATE 0x40B9

View File

@@ -527,7 +527,7 @@ extern const u8 EventScript_ClosedSootopolisDoor[];
extern const u8 SkyPillar_Outside_EventScript_ClosedDoor[];
extern const u8 EventScript_CableBoxResults[];
extern const u8 EventScript_PokeBlockFeeder[];
extern const u8 Route110_TrickHouseEntrance_EventScript_26A22A[];
extern const u8 Route110_TrickHousePuzzle_EventScript_Door[];
extern const u8 EventScript_RegionMap[];
extern const u8 EventScript_RunningShoesManual[];
extern const u8 EventScript_PictureBookShelf[];

View File

@@ -380,7 +380,7 @@ static const u8 *GetInteractedMetatileScript(struct MapPosition *position, u8 me
if (MetatileBehavior_IsPokeblockFeeder(metatileBehavior) == TRUE)
return EventScript_PokeBlockFeeder;
if (MetatileBehavior_IsTrickHousePuzzleDoor(metatileBehavior) == TRUE)
return Route110_TrickHouseEntrance_EventScript_26A22A;
return Route110_TrickHousePuzzle_EventScript_Door;
if (MetatileBehavior_IsRegionMap(metatileBehavior) == TRUE)
return EventScript_RegionMap;
if (MetatileBehavior_IsRunningShoesManual(metatileBehavior) == TRUE)