Document players_house.inc and Littleroot house scripts

This commit is contained in:
GriffinR
2019-10-22 20:50:41 -04:00
committed by huderlem
parent ff0109e0fd
commit 93e2851fc1
15 changed files with 659 additions and 678 deletions

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_2929C5",
"script": "PlayersHouse_1F_EventScript_Mom",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_MOM"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_292ACD",
"script": "PlayersHouse_1F_EventScript_Vigoroth2",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_2"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_292ABA",
"script": "PlayersHouse_1F_EventScript_Vigoroth1",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_1"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1F89F3",
"script": "RivalsHouse_1F_EventScript_RivalMom",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_MOM"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1F8A3D",
"script": "RivalsHouse_1F_EventScript_RivalSibling",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_SIBLING"
},
{
@@ -137,7 +137,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_INTRO_STATE",
"var_value": "4",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1F78A3"
"script": "LittlerootTown_BrendansHouse_1F_EventScript_GoSeeRoom"
},
{
"type": "trigger",
@@ -146,7 +146,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_RIVAL_STATE",
"var_value": "2",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1F78BE"
"script": "LittlerootTown_BrendansHouse_1F_EventScript_MeetRival0"
},
{
"type": "trigger",
@@ -155,7 +155,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_RIVAL_STATE",
"var_value": "2",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1F78CA"
"script": "LittlerootTown_BrendansHouse_1F_EventScript_MeetRival1"
},
{
"type": "trigger",
@@ -164,7 +164,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_RIVAL_STATE",
"var_value": "2",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1F78D6"
"script": "LittlerootTown_BrendansHouse_1F_EventScript_MeetRival2"
}
],
"bg_events": []

View File

@@ -1,93 +1,94 @@
LittlerootTown_BrendansHouse_1F_MapScripts:: @ 81F7755
map_script MAP_SCRIPT_ON_LOAD, LittlerootTown_BrendansHouse_1F_MapScript1_1F7765
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_BrendansHouse_1F_MapScript1_1F77A4
map_script MAP_SCRIPT_ON_FRAME_TABLE, LittlerootTown_BrendansHouse_1F_MapScript2_1F77EA
map_script MAP_SCRIPT_ON_LOAD, LittlerootTown_BrendansHouse_1F_OnLoad
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_BrendansHouse_1F_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, LittlerootTown_BrendansHouse_1F_OnFrame
.byte 0
LittlerootTown_BrendansHouse_1F_MapScript1_1F7765: @ 81F7765
LittlerootTown_BrendansHouse_1F_OnLoad: @ 81F7765
compare VAR_LITTLEROOT_INTRO_STATE, 6
call_if_lt LittlerootTown_BrendansHouse_1F_EventScript_1F777A
call_if_set FLAG_RECEIVED_RUNNING_SHOES, LittlerootTown_BrendansHouse_1F_EventScript_1F778D
call_if_lt LittlerootTown_BrendansHouse_1F_EventScript_SetMovingBoxes
call_if_set FLAG_RECEIVED_RUNNING_SHOES, LittlerootTown_BrendansHouse_1F_EventScript_CheckShowShoesManual
end
LittlerootTown_BrendansHouse_1F_EventScript_1F777A:: @ 81F777A
LittlerootTown_BrendansHouse_1F_EventScript_SetMovingBoxes:: @ 81F777A
setmetatile 5, 4, METATILE_BrendansMaysHouse_MovingBox_Open, 1
setmetatile 5, 2, METATILE_BrendansMaysHouse_MovingBox_Closed, 1
return
LittlerootTown_BrendansHouse_1F_EventScript_1F778D:: @ 81F778D
LittlerootTown_BrendansHouse_1F_EventScript_CheckShowShoesManual:: @ 81F778D
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F779A
goto_if_eq LittlerootTown_BrendansHouse_1F_EventScript_ShowRunningShoesManual
return
LittlerootTown_BrendansHouse_1F_EventScript_1F779A:: @ 81F779A
LittlerootTown_BrendansHouse_1F_EventScript_ShowRunningShoesManual:: @ 81F779A
setmetatile 3, 7, METATILE_BrendansMaysHouse_BookOnTable, 1
return
LittlerootTown_BrendansHouse_1F_MapScript1_1F77A4: @ 81F77A4
LittlerootTown_BrendansHouse_1F_OnTransition: @ 81F77A4
compare VAR_LITTLEROOT_INTRO_STATE, 3
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F77DE
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_MoveMomToDoor
compare VAR_LITTLEROOT_INTRO_STATE, 5
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F77C6
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_MoveMomToStairs
compare VAR_LITTLEROOT_INTRO_STATE, 6
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F77D2
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_MoveMomToTV
end
LittlerootTown_BrendansHouse_1F_EventScript_1F77C6:: @ 81F77C6
LittlerootTown_BrendansHouse_1F_EventScript_MoveMomToStairs:: @ 81F77C6
setobjectxyperm 1, 8, 4
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_BrendansHouse_1F_EventScript_1F77D2:: @ 81F77D2
LittlerootTown_BrendansHouse_1F_EventScript_MoveMomToTV:: @ 81F77D2
setobjectxyperm 1, 4, 5
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_BrendansHouse_1F_EventScript_1F77DE:: @ 81F77DE
LittlerootTown_BrendansHouse_1F_EventScript_MoveMomToDoor:: @ 81F77DE
setobjectxyperm 1, 9, 8
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_BrendansHouse_1F_MapScript2_1F77EA: @ 81F77EA
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 3, LittlerootTown_BrendansHouse_1F_EventScript_1F783C
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 5, LittlerootTown_BrendansHouse_1F_EventScript_1F7814
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 6, LittlerootTown_BrendansHouse_1F_EventScript_1F784D
map_script_2 VAR_LITTLEROOT_HOUSES_STATE, 1, LittlerootTown_BrendansHouse_1F_EventScript_1F785E
map_script_2 VAR_LITTLEROOT_HOUSES_STATE, 3, LittlerootTown_BrendansHouse_1F_EventScript_292AF2
@ Many of the below scripts have no gender check because they assume youre in the correct house
LittlerootTown_BrendansHouse_1F_OnFrame: @ 81F77EA
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 3, LittlerootTown_BrendansHouse_1F_EventScript_EnterHouseMovingIn
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 5, LittlerootTown_BrendansHouse_1F_EventScript_GoUpstairsToSetClock
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 6, LittlerootTown_BrendansHouse_1F_EventScript_PetalburgGymReport
map_script_2 VAR_LITTLEROOT_HOUSES_STATE, 1, LittlerootTown_BrendansHouse_1F_EventScript_YoureNewNeighbor
map_script_2 VAR_LITTLEROOT_HOUSES_STATE, 3, PlayersHouse_1F_EventScript_GetSSTicketAndSeeLatiTV
.2byte 0
LittlerootTown_BrendansHouse_1F_EventScript_1F7814:: @ 81F7814
LittlerootTown_BrendansHouse_1F_EventScript_GoUpstairsToSetClock:: @ 81F7814
lockall
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7B67, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_GoSetTheClock, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_1F783A
applymovement 1, LittlerootTown_BrendansHouse_1F_Movement_1F783A
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_PushTowardStairs
applymovement 1, LittlerootTown_BrendansHouse_1F_Movement_PushTowardStairs
waitmovement 0
warp MAP_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F, 255, 7, 1
waitstate
releaseall
end
LittlerootTown_BrendansHouse_1F_Movement_1F783A: @ 81F783A
LittlerootTown_BrendansHouse_1F_Movement_PushTowardStairs: @ 81F783A
walk_up
step_end
LittlerootTown_BrendansHouse_1F_EventScript_1F783C:: @ 81F783C
LittlerootTown_BrendansHouse_1F_EventScript_EnterHouseMovingIn:: @ 81F783C
lockall
setvar VAR_0x8004, 1
setvar VAR_0x8005, 0
goto LittlerootTown_BrendansHouse_1F_EventScript_292704
setvar VAR_0x8005, MALE
goto PlayersHouse_1F_EventScript_EnterHouseMovingIn
end
LittlerootTown_BrendansHouse_1F_EventScript_1F784D:: @ 81F784D
LittlerootTown_BrendansHouse_1F_EventScript_PetalburgGymReport:: @ 81F784D
lockall
setvar VAR_0x8004, 0
setvar VAR_0x8005, 1
goto LittlerootTown_BrendansHouse_1F_EventScript_29286D
setvar VAR_0x8005, 1 @ Object event ID for Mom
goto PlayersHouse_1F_EventScript_PetalburgGymReportMale
end
LittlerootTown_BrendansHouse_1F_EventScript_1F785E:: @ 81F785E
LittlerootTown_BrendansHouse_1F_EventScript_YoureNewNeighbor:: @ 81F785E
lockall
playse SE_PIN
applymovement 4, Common_Movement_ExclamationMark
@@ -95,16 +96,16 @@ LittlerootTown_BrendansHouse_1F_EventScript_1F785E:: @ 81F785E
applymovement 4, Common_Movement_Delay48
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
applymovement 4, LittlerootTown_BrendansHouse_1F_Movement_1F789C
applymovement 4, LittlerootTown_BrendansHouse_1F_Movement_RivalMomApproach
waitmovement 0
special GetRivalSonDaughterString
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8BC5, MSGBOX_DEFAULT
msgbox RivalsHouse_1F_Text_OhYoureTheNewNeighbor, MSGBOX_DEFAULT
setflag FLAG_MET_RIVAL_MOM
setvar VAR_LITTLEROOT_HOUSES_STATE, 2
releaseall
end
LittlerootTown_BrendansHouse_1F_Movement_1F789C: @ 81F789C
LittlerootTown_BrendansHouse_1F_Movement_RivalMomApproach: @ 81F789C
walk_down
walk_right
walk_right
@@ -113,34 +114,34 @@ LittlerootTown_BrendansHouse_1F_Movement_1F789C: @ 81F789C
walk_right
step_end
LittlerootTown_BrendansHouse_1F_EventScript_1F78A3:: @ 81F78A3
LittlerootTown_BrendansHouse_1F_EventScript_GoSeeRoom:: @ 81F78A3
lockall
setvar VAR_0x8004, 1
setvar VAR_0x8005, 0
setvar VAR_0x8005, MALE
applymovement VAR_0x8004, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
goto LittlerootTown_BrendansHouse_1F_EventScript_292765
goto PlayersHouse_1F_EventScript_MomGoSeeRoom
end
LittlerootTown_BrendansHouse_1F_EventScript_1F78BE:: @ 81F78BE
LittlerootTown_BrendansHouse_1F_EventScript_MeetRival0:: @ 81F78BE
lockall
setvar VAR_0x8008, 0
goto LittlerootTown_BrendansHouse_1F_EventScript_1F78E2
goto LittlerootTown_BrendansHouse_1F_EventScript_MeetRival
end
LittlerootTown_BrendansHouse_1F_EventScript_1F78CA:: @ 81F78CA
LittlerootTown_BrendansHouse_1F_EventScript_MeetRival1:: @ 81F78CA
lockall
setvar VAR_0x8008, 1
goto LittlerootTown_BrendansHouse_1F_EventScript_1F78E2
goto LittlerootTown_BrendansHouse_1F_EventScript_MeetRival
end
LittlerootTown_BrendansHouse_1F_EventScript_1F78D6:: @ 81F78D6
LittlerootTown_BrendansHouse_1F_EventScript_MeetRival2:: @ 81F78D6
lockall
setvar VAR_0x8008, 2
goto LittlerootTown_BrendansHouse_1F_EventScript_1F78E2
goto LittlerootTown_BrendansHouse_1F_EventScript_MeetRival
end
LittlerootTown_BrendansHouse_1F_EventScript_1F78E2:: @ 81F78E2
LittlerootTown_BrendansHouse_1F_EventScript_MeetRival:: @ 81F78E2
playse SE_KAIDAN
delay 10
addobject 7
@@ -151,22 +152,22 @@ LittlerootTown_BrendansHouse_1F_EventScript_1F78E2:: @ 81F78E2
applymovement 7, Common_Movement_Delay48
waitmovement 0
compare VAR_0x8008, 1
call_if_ne LittlerootTown_BrendansHouse_1F_EventScript_1F7981
call_if_ne LittlerootTown_BrendansHouse_1F_EventScript_PlayerFaceBrendan
playbgm MUS_BOY_SUP, 1
compare VAR_0x8008, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F798C
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_BrendanApproachPlayer0
compare VAR_0x8008, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F7997
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_BrendanApproachPlayer1
compare VAR_0x8008, 2
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F79A2
msgbox LittlerootTown_BrendansHouse_1F_Text_1F90B4, MSGBOX_DEFAULT
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_BrendanApproachPlayer2
msgbox RivalsHouse_1F_Text_BrendanWhoAreYou, MSGBOX_DEFAULT
closemessage
compare VAR_0x8008, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F79C1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_BrendanGoUpstairs0
compare VAR_0x8008, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F79D3
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_BrendanGoUpstairs1
compare VAR_0x8008, 2
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F79E5
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_BrendanGoUpstairs2
playse SE_KAIDAN
removeobject 7
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_BRENDAN
@@ -180,27 +181,27 @@ LittlerootTown_BrendansHouse_1F_EventScript_1F78E2:: @ 81F78E2
releaseall
end
LittlerootTown_BrendansHouse_1F_EventScript_1F7981:: @ 81F7981
LittlerootTown_BrendansHouse_1F_EventScript_PlayerFaceBrendan:: @ 81F7981
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_1F798C:: @ 81F798C
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_1F79AD
LittlerootTown_BrendansHouse_1F_EventScript_BrendanApproachPlayer0:: @ 81F798C
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_BrendanApproachPlayer0
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_1F7997:: @ 81F7997
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_1F79B5
LittlerootTown_BrendansHouse_1F_EventScript_BrendanApproachPlayer1:: @ 81F7997
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_BrendanApproachPlayer1
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_1F79A2:: @ 81F79A2
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_1F79B9
LittlerootTown_BrendansHouse_1F_EventScript_BrendanApproachPlayer2:: @ 81F79A2
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_BrendanApproachPlayer2
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_Movement_1F79AD: @ 81F79AD
LittlerootTown_BrendansHouse_1F_Movement_BrendanApproachPlayer0: @ 81F79AD
walk_in_place_fastest_left
walk_left
walk_in_place_fastest_up
@@ -210,13 +211,13 @@ LittlerootTown_BrendansHouse_1F_Movement_1F79AD: @ 81F79AD
walk_up
step_end
LittlerootTown_BrendansHouse_1F_Movement_1F79B5: @ 81F79B5
LittlerootTown_BrendansHouse_1F_Movement_BrendanApproachPlayer1: @ 81F79B5
walk_up
walk_up
walk_up
step_end
LittlerootTown_BrendansHouse_1F_Movement_1F79B9: @ 81F79B9
LittlerootTown_BrendansHouse_1F_Movement_BrendanApproachPlayer2: @ 81F79B9
walk_in_place_fastest_right
walk_right
walk_in_place_fastest_up
@@ -226,31 +227,31 @@ LittlerootTown_BrendansHouse_1F_Movement_1F79B9: @ 81F79B9
walk_up
step_end
LittlerootTown_BrendansHouse_1F_EventScript_1F79C1:: @ 81F79C1
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_1F79F7
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_1F7A06
LittlerootTown_BrendansHouse_1F_EventScript_BrendanGoUpstairs0:: @ 81F79C1
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_PlayerWatchBrendanExit0
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_BrendanGoUpstairs0
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_1F79D3:: @ 81F79D3
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_1F79FB
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_1F7A0C
LittlerootTown_BrendansHouse_1F_EventScript_BrendanGoUpstairs1:: @ 81F79D3
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_PlayerWatchBrendanExit1
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_BrendanGoUpstairs1
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_1F79E5:: @ 81F79E5
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_1F7A02
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_1F7A16
LittlerootTown_BrendansHouse_1F_EventScript_BrendanGoUpstairs2:: @ 81F79E5
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_PlayerWatchBrendanExit2
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_BrendanGoUpstairs2
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_Movement_1F79F7: @ 81F79F7
LittlerootTown_BrendansHouse_1F_Movement_PlayerWatchBrendanExit0: @ 81F79F7
delay_16
delay_8
walk_in_place_fastest_right
step_end
LittlerootTown_BrendansHouse_1F_Movement_1F79FB: @ 81F79FB
LittlerootTown_BrendansHouse_1F_Movement_PlayerWatchBrendanExit1: @ 81F79FB
delay_16
delay_8
walk_in_place_fastest_right
@@ -259,13 +260,13 @@ LittlerootTown_BrendansHouse_1F_Movement_1F79FB: @ 81F79FB
walk_in_place_fastest_up
step_end
LittlerootTown_BrendansHouse_1F_Movement_1F7A02: @ 81F7A02
LittlerootTown_BrendansHouse_1F_Movement_PlayerWatchBrendanExit2: @ 81F7A02
delay_16
delay_8
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_1F_Movement_1F7A06: @ 81F7A06
LittlerootTown_BrendansHouse_1F_Movement_BrendanGoUpstairs0: @ 81F7A06
walk_in_place_fastest_right
walk_right
walk_in_place_fastest_up
@@ -273,7 +274,7 @@ LittlerootTown_BrendansHouse_1F_Movement_1F7A06: @ 81F7A06
walk_up
step_end
LittlerootTown_BrendansHouse_1F_Movement_1F7A0C: @ 81F7A0C
LittlerootTown_BrendansHouse_1F_Movement_BrendanGoUpstairs1: @ 81F7A0C
walk_in_place_fastest_right
walk_right
walk_in_place_fastest_up
@@ -285,7 +286,7 @@ LittlerootTown_BrendansHouse_1F_Movement_1F7A0C: @ 81F7A0C
walk_up
step_end
LittlerootTown_BrendansHouse_1F_Movement_1F7A16: @ 81F7A16
LittlerootTown_BrendansHouse_1F_Movement_BrendanGoUpstairs2: @ 81F7A16
walk_in_place_fastest_left
walk_left
walk_in_place_fastest_up
@@ -293,11 +294,11 @@ LittlerootTown_BrendansHouse_1F_Movement_1F7A16: @ 81F7A16
walk_up
step_end
LittlerootTown_BrendansHouse_1F_Text_1F7A1C: @ 81F7A1C
PlayersHouse_1F_Text_IsntItNiceInHere: @ 81F7A1C
.string "MOM: See, {PLAYER}?\n"
.string "Isn't it nice in here, too?$"
LittlerootTown_BrendansHouse_1F_Text_1F7A46: @ 81F7A46
PlayersHouse_1F_Text_MoversPokemonGoSetClock: @ 81F7A46
.string "The mover's POKéMON do all the work\n"
.string "of moving us in and cleaning up after.\l"
.string "This is so convenient!\p"
@@ -307,91 +308,87 @@ LittlerootTown_BrendansHouse_1F_Text_1F7A46: @ 81F7A46
.string "our move here.\l"
.string "Don't forget to set it!$"
LittlerootTown_BrendansHouse_1F_Text_1F7B24: @ 81F7B24
PlayersHouse_1F_Text_ArentYouInterestedInRoom: @ 81F7B24
.string "MOM: Well, {PLAYER}?\p"
.string "Aren't you interested in seeing your\n"
.string "very own room?$"
LittlerootTown_BrendansHouse_1F_Text_1F7B67: @ 81F7B67
LittlerootTown_MaysHouse_1F_Text_1F7B67: @ 81F7B67
PlayersHouse_1F_Text_GoSetTheClock: @ 81F7B67
.string "MOM: {PLAYER}.\p"
.string "Go set the clock in your room, honey.$"
LittlerootTown_BrendansHouse_1F_Text_1F7B96: @ 81F7B96
PlayersHouse_1F_Text_OhComeQuickly: @ 81F7B96
.string "MOM: Oh! {PLAYER}, {PLAYER}!\n"
.string "Quick! Come quickly!$"
LittlerootTown_BrendansHouse_1F_Text_1F7BBC: @ 81F7BBC
LittlerootTown_MaysHouse_1F_Text_1F7BBC: @ 81F7BBC
PlayersHouse_1F_Text_MaybeDadWillBeOn: @ 81F7BBC
.string "MOM: Look! It's PETALBURG GYM!\n"
.string "Maybe DAD will be on!$"
LittlerootTown_BrendansHouse_1F_Text_1F7BF1: @ 81F7BF1
LittlerootTown_MaysHouse_1F_Text_1F7BF1: @ 81F7BF1
PlayersHouse_1F_Text_ItsOverWeMissedHim: @ 81F7BF1
.string "MOM: Oh… It's over.\p"
.string "I think DAD was on, but we missed him.\n"
.string "Too bad.$"
LittlerootTown_BrendansHouse_1F_Text_1F7C35: @ 81F7C35
LittlerootTown_MaysHouse_1F_Text_1F7C35: @ 81F7C35
PlayersHouse_1F_Text_GoIntroduceYourselfNextDoor: @ 81F7C35
.string "Oh, yes.\n"
.string "One of DAD's friends lives in town.\p"
.string "PROF. BIRCH is his name.\p"
.string "He lives right next door, so you should\n"
.string "go over and introduce yourself.$"
LittlerootTown_BrendansHouse_1F_Text_1F7CC3: @ 81F7CC3
PlayersHouse_1F_Text_SeeYouHoney: @ 81F7CC3
.string "MOM: See you, honey!$"
LittlerootTown_BrendansHouse_1F_Text_1F7CD8: @ 81F7CD8
PlayersHouse_1F_Text_DidYouMeetProfBirch: @ 81F7CD8
.string "MOM: Did you introduce yourself to\n"
.string "PROF. BIRCH?$"
LittlerootTown_BrendansHouse_1F_Text_1F7D08: @ 81F7D08
PlayersHouse_1F_Text_YouShouldRestABit: @ 81F7D08
.string "MOM: How are you doing, {PLAYER}?\n"
.string "You look a little tired.\p"
.string "I think you should rest a bit.$"
LittlerootTown_BrendansHouse_1F_Text_1F7D5C: @ 81F7D5C
PlayersHouse_1F_Text_TakeCareHoney: @ 81F7D5C
.string "MOM: Take care, honey!$"
LittlerootTown_BrendansHouse_1F_Text_1F7D73: @ 81F7D73
PlayersHouse_1F_Text_GotDadsBadgeHeresSomethingFromMom: @ 81F7D73
.string "MOM: Oh? Did DAD give you that BADGE?\p"
.string "Then here's something from your MOM!$"
LittlerootTown_BrendansHouse_1F_Text_1F7DBE: @ 81F7DBE
PlayersHouse_1F_Text_DontPushYourselfTooHard: @ 81F7DBE
.string "Don't push yourself too hard, dear.\n"
.string "You can always come home.\p"
.string "Go for it, honey!$"
LittlerootTown_BrendansHouse_1F_Text_1F7E0E: @ 81F7E0E
PlayersHouse_1F_Text_IsThatAPokenav: @ 81F7E0E
.string "MOM: What is that, honey? A POKéNAV?\n"
.string "Someone from DEVON gave it to you?\p"
.string "Well, honey, how about registering\n"
.string "your mom?\p"
.string "… … …$"
LittlerootTown_BrendansHouse_1F_Text_1F7E89: @ 81F7E89
PlayersHouse_1F_Text_RegisteredMom: @ 81F7E89
.string "Registered MOM\n"
.string "in the POKéNAV.$"
LittlerootTown_BrendansHouse_1F_Text_1F7EA8: @ 81F7EA8
PlayersHouse_1F_Text_Vigoroth1: @ 81F7EA8
.string "Fugiiiiih!$"
LittlerootTown_BrendansHouse_1F_Text_1F7EB3: @ 81F7EB3
PlayersHouse_1F_Text_Vigoroth2: @ 81F7EB3
.string "Huggoh, uggo uggo…$"
LittlerootTown_BrendansHouse_1F_Text_1F7EC6: @ 81F7EC6
PlayersHouse_1F_Text_ReportFromPetalburgGym: @ 81F7EC6
.string "INTERVIEWER: …We brought you this\n"
.string "report from in front of PETALBURG GYM.$"
LittlerootTown_BrendansHouse_1F_Text_1F7F0F: @ 81F7F0F
PlayersHouse_1F_Text_TheresAMovieOnTV: @ 81F7F0F
.string "There is a movie on TV.\p"
.string "Two men are dancing on a big piano\n"
.string "keyboard.\p"
.string "Better get going!$"
LittlerootTown_BrendansHouse_1F_Text_1F7F66: @ 81F7F66
PlayersHouse_1F_Text_RunningShoesManual: @ 81F7F66
.string "It's the instruction booklet for the\n"
.string "RUNNING SHOES.\p"
.string "“Press the B Button to run while\n"
@@ -399,7 +396,7 @@ LittlerootTown_BrendansHouse_1F_Text_1F7F66: @ 81F7F66
.string "“Lace up your RUNNING SHOES and hit\n"
.string "the road running!”$"
LittlerootTown_BrendansHouse_1F_Text_1F800E: @ 81F800E
PlayersHouse_1F_Text_TicketFromBrineyCameForYou: @ 81F800E
.string "DAD: Hm?\p"
.string "Hey, it's {PLAYER}!\p"
.string "It's been a while since I saw you,\n"
@@ -410,26 +407,26 @@ LittlerootTown_BrendansHouse_1F_Text_1F800E: @ 81F800E
.string "This came to you from someone named\l"
.string "MR. BRINEY.$"
LittlerootTown_BrendansHouse_1F_Text_1F80FE: @ 81F80FE
PlayersHouse_1F_Text_PortsInSlateportLilycove: @ 81F80FE
.string "DAD: Hm, a TICKET for a ferry?\p"
.string "If I recall, there are ferry ports in\n"
.string "SLATEPORT and LILYCOVE.$"
LittlerootTown_BrendansHouse_1F_Text_1F815B: @ 81F815B
PlayersHouse_1F_Text_BetterGetBackToGym: @ 81F815B
.string "I'd better get back to PETALBURG GYM.\p"
.string "MOM, thanks for looking after the house\n"
.string "while I'm away.$"
LittlerootTown_BrendansHouse_1F_Text_1F81B9: @ 81F81B9
PlayersHouse_1F_Text_DadShouldStayLonger: @ 81F81B9
.string "MOM: That DAD of yours…\p"
.string "He comes home for the first time in a\n"
.string "while, but all he talks about is POKéMON.\p"
.string "He should relax and stay a little longer.$"
LittlerootTown_BrendansHouse_1F_Text_1F824B: @ 81F824B
PlayersHouse_1F_Text_IsThatABreakingStory: @ 81F824B
.string "MOM: Is that a breaking news story?$"
LittlerootTown_BrendansHouse_1F_Text_1F826F: @ 81F826F
PlayersHouse_1F_Text_LatiEmergencyNewsFlash: @ 81F826F
.string "We bring you this emergency\n"
.string "news flash!\p"
.string "In various HOENN locales, there have\n"
@@ -440,11 +437,11 @@ LittlerootTown_BrendansHouse_1F_Text_1F826F: @ 81F826F
.string "We now return you to the regular\n"
.string "movie program.$"
LittlerootTown_BrendansHouse_1F_Text_1F8351: @ 81F8351
PlayersHouse_1F_Text_WhatColorDidTheySay: @ 81F8351
.string "MOM: {PLAYER}, did you catch that?\p"
.string "What color did the announcer say\n"
.string "that POKéMON was?$"
LittlerootTown_BrendansHouse_1F_Text_1F83A1: @ 81F83A1
PlayersHouse_1F_Text_StillUnknownPokemon: @ 81F83A1
.string "MOM: Well, isn't that something!\n"
.string "There are still unknown POKéMON.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_2F_EventScript_1F94C1",
"script": "RivalsHouse_2F_EventScript_Rival",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM"
},
{
@@ -206,7 +206,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_2F_EventScript_1F8481",
"script": "LittlerootTown_BrendansHouse_2F_EventScript_RivalsPokeBall",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_POKE_BALL"
},
{
@@ -240,7 +240,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "EventScript_PlayerPCMale"
"script": "LittlerootTown_BrendansHouse_2F_EventScript_PC"
},
{
"type": "sign",
@@ -248,7 +248,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LittlerootTown_BrendansHouse_2F_EventScript_1F8656"
"script": "PlayersHouse_2F_EventScript_Notebook"
},
{
"type": "sign",
@@ -256,7 +256,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LittlerootTown_BrendansHouse_2F_EventScript_292781"
"script": "LittlerootTown_BrendansHouse_2F_EventScript_WallClock"
},
{
"type": "sign",
@@ -264,7 +264,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LittlerootTown_BrendansHouse_2F_EventScript_1F865F"
"script": "PlayersHouse_2F_EventScript_GameCube"
}
]
}

View File

@@ -1,70 +1,70 @@
LittlerootTown_BrendansHouse_2F_MapScripts:: @ 81F83E3
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_BrendansHouse_2F_MapScript1_1F83EE
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, LittlerootTown_BrendansHouse_2F_MapScript2_1F846A
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_BrendansHouse_2F_OnTransition
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, LittlerootTown_BrendansHouse_2F_OnWarp
.byte 0
LittlerootTown_BrendansHouse_2F_MapScript1_1F83EE: @ 81F83EE
LittlerootTown_BrendansHouse_2F_OnTransition: @ 81F83EE
compare VAR_LITTLEROOT_RIVAL_STATE, 2
call_if_lt LittlerootTown_BrendansHouse_2F_EventScript_1F8457
call_if_lt LittlerootTown_BrendansHouse_2F_EventScript_CheckSetReadyToMeetBrendan
compare VAR_LITTLEROOT_RIVAL_STATE, 3
call_if_ge LittlerootTown_BrendansHouse_2F_EventScript_1F841A
call_if_ge LittlerootTown_BrendansHouse_2F_EventScript_CheckShouldUpdateBrendanPos
compare VAR_LITTLEROOT_INTRO_STATE, 4
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_2926FE
call_if_eq PlayersHouse_2F_EventScript_BlockStairsUntilClockIsSet
call SecretBase_EventScript_SetDecorationFlags
setvar VAR_SECRET_BASE_INITIALIZED, 0
end
LittlerootTown_BrendansHouse_2F_EventScript_1F841A:: @ 81F841A
goto_if_set FLAG_MET_RIVAL_LILYCOVE, LittlerootTown_BrendansHouse_2F_EventScript_1F8433
LittlerootTown_BrendansHouse_2F_EventScript_CheckShouldUpdateBrendanPos:: @ 81F841A
goto_if_set FLAG_MET_RIVAL_LILYCOVE, LittlerootTown_BrendansHouse_2F_EventScript_TryUpdateBrendanPos
compare VAR_BIRCH_LAB_STATE, 2
goto_if_ge LittlerootTown_BrendansHouse_2F_EventScript_1F8456
goto LittlerootTown_BrendansHouse_2F_EventScript_1F8433
goto_if_ge LittlerootTown_BrendansHouse_2F_EventScript_Ret
goto LittlerootTown_BrendansHouse_2F_EventScript_TryUpdateBrendanPos
LittlerootTown_BrendansHouse_2F_EventScript_1F8433:: @ 81F8433
LittlerootTown_BrendansHouse_2F_EventScript_TryUpdateBrendanPos:: @ 81F8433
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8456
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_Ret
compare VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 2
goto_if_ge LittlerootTown_BrendansHouse_2F_EventScript_1F9309
goto_if_ge LittlerootTown_MaysHouse_2F_EventScript_Ret @ Odd that the MaysHouse equivalent was used here instead
setobjectxyperm 1, 0, 2
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_BrendansHouse_2F_EventScript_1F8456:: @ 81F8456
LittlerootTown_BrendansHouse_2F_EventScript_Ret:: @ 81F8456
return
LittlerootTown_BrendansHouse_2F_EventScript_1F8457:: @ 81F8457
LittlerootTown_BrendansHouse_2F_EventScript_CheckSetReadyToMeetBrendan:: @ 81F8457
checkplayergender
compare VAR_RESULT, FEMALE
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8464
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_SetReadyToMeetBrendan
return
LittlerootTown_BrendansHouse_2F_EventScript_1F8464:: @ 81F8464
LittlerootTown_BrendansHouse_2F_EventScript_SetReadyToMeetBrendan:: @ 81F8464
setvar VAR_LITTLEROOT_RIVAL_STATE, 2
return
LittlerootTown_BrendansHouse_2F_MapScript2_1F846A: @ 81F846A
map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, LittlerootTown_BrendansHouse_2F_EventScript_1F8474
LittlerootTown_BrendansHouse_2F_OnWarp: @ 81F846A
map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, LittlerootTown_BrendansHouse_2F_EventScript_CheckInitDecor
.2byte 0
LittlerootTown_BrendansHouse_2F_EventScript_1F8474:: @ 81F8474
LittlerootTown_BrendansHouse_2F_EventScript_CheckInitDecor:: @ 81F8474
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq SecretBase_EventScript_InitDecorations
end
LittlerootTown_BrendansHouse_2F_EventScript_1F8481:: @ 81F8481
LittlerootTown_BrendansHouse_2F_EventScript_RivalsPokeBall:: @ 81F8481
lockall
compare VAR_LITTLEROOT_RIVAL_STATE, 2
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8497
msgbox LittlerootTown_BrendansHouse_2F_Text_1F9991, MSGBOX_DEFAULT
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendan
msgbox RivalsHouse_2F_Text_ItsRivalsPokeBall, MSGBOX_DEFAULT
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F8497:: @ 81F8497
LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendan:: @ 81F8497
delay 10
addobject 1
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85BC
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanEnters
waitmovement 0
playse SE_PIN
applymovement 1, Common_Movement_ExclamationMark
@@ -74,13 +74,13 @@ LittlerootTown_BrendansHouse_2F_EventScript_1F8497:: @ 81F8497
delay 10
playbgm MUS_BOY_SUP, 1
compare VAR_FACING, DIR_NORTH
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8507
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanNorth
compare VAR_FACING, DIR_SOUTH
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8536
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanSouth
compare VAR_FACING, DIR_WEST
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8565
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanWest
compare VAR_FACING, DIR_EAST
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8594
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanEast
setvar VAR_LITTLEROOT_RIVAL_STATE, 3
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_POKE_BALL
clearflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM
@@ -90,60 +90,60 @@ LittlerootTown_BrendansHouse_2F_EventScript_1F8497:: @ 81F8497
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F8507:: @ 81F8507
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85C0
LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanNorth:: @ 81F8507
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerNorth
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
msgbox LittlerootTown_BrendansHouse_2F_Text_1F97B4, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_BrendanWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_1F85CF
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85C6
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_PlayerWatchBrendanNorth
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCNorth
waitmovement 0
return
LittlerootTown_BrendansHouse_2F_EventScript_1F8536:: @ 81F8536
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85D7
LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanSouth:: @ 81F8536
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerSouth
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
msgbox LittlerootTown_BrendansHouse_2F_Text_1F97B4, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_BrendanWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_1F85E2
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85DB
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_PlayerWatchBrendanSouth
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCSouth
waitmovement 0
return
LittlerootTown_BrendansHouse_2F_EventScript_1F8565:: @ 81F8565
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85E8
LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanWest:: @ 81F8565
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerWest
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
msgbox LittlerootTown_BrendansHouse_2F_Text_1F97B4, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_BrendanWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_1F85F6
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85ED
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_PlayerWatchBrendanWest
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCWest
waitmovement 0
return
LittlerootTown_BrendansHouse_2F_EventScript_1F8594:: @ 81F8594
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85FD
LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanEast:: @ 81F8594
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerEast
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
msgbox LittlerootTown_BrendansHouse_2F_Text_1F97B4, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_BrendanWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F8604
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCEast
waitmovement 0
return
LittlerootTown_BrendansHouse_2F_Movement_1F85BC: @ 81F85BC
LittlerootTown_BrendansHouse_2F_Movement_BrendanEnters: @ 81F85BC
walk_down
walk_down
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85C0: @ 81F85C0
LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerNorth: @ 81F85C0
walk_left
walk_left
walk_down
@@ -151,7 +151,7 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85C0: @ 81F85C0
walk_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85C6: @ 81F85C6
LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCNorth: @ 81F85C6
walk_up
walk_up
walk_up
@@ -162,7 +162,7 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85C6: @ 81F85C6
walk_in_place_fastest_up
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85CF: @ 81F85CF
LittlerootTown_BrendansHouse_2F_Movement_PlayerWatchBrendanNorth: @ 81F85CF
delay_16
walk_in_place_fastest_up
delay_16
@@ -172,13 +172,13 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85CF: @ 81F85CF
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85D7: @ 81F85D7
LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerSouth: @ 81F85D7
walk_left
walk_left
walk_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85DB: @ 81F85DB
LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCSouth: @ 81F85DB
walk_up
walk_left
walk_left
@@ -187,7 +187,7 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85DB: @ 81F85DB
walk_in_place_fastest_up
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85E2: @ 81F85E2
LittlerootTown_BrendansHouse_2F_Movement_PlayerWatchBrendanSouth: @ 81F85E2
delay_16
walk_in_place_fastest_up
delay_16
@@ -195,14 +195,14 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85E2: @ 81F85E2
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85E8: @ 81F85E8
LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerWest: @ 81F85E8
walk_left
walk_left
walk_down
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85ED: @ 81F85ED
LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCWest: @ 81F85ED
walk_up
walk_up
walk_left
@@ -213,7 +213,7 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85ED: @ 81F85ED
walk_in_place_fastest_up
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85F6: @ 81F85F6
LittlerootTown_BrendansHouse_2F_Movement_PlayerWatchBrendanWest: @ 81F85F6
delay_8
delay_16
walk_in_place_fastest_up
@@ -222,7 +222,7 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85F6: @ 81F85F6
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85FD: @ 81F85FD
LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerEast: @ 81F85FD
walk_left
walk_left
walk_left
@@ -231,29 +231,30 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85FD: @ 81F85FD
walk_in_place_fastest_down
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F8604: @ 81F8604
LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCEast: @ 81F8604
walk_up
walk_left
walk_left
walk_in_place_fastest_up
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F8609: @ 81F8609
@ Unused, the player is already facing this direction so its unneeded
LittlerootTown_BrendansHouse_2F_Movement_PlayerWatchBrendanEast: @ 81F8609
delay_16
delay_16
walk_in_place_fastest_left
step_end
EventScript_PlayerPCMale:: @ 81F860D
LittlerootTown_BrendansHouse_2F_EventScript_PC:: @ 81F860D
lockall
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8626
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_CheckPlayersPC
compare VAR_RESULT, FEMALE
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F864C
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_CheckRivalsPC
end
LittlerootTown_BrendansHouse_2F_EventScript_1F8626:: @ 81F8626
LittlerootTown_BrendansHouse_2F_EventScript_CheckPlayersPC:: @ 81F8626
setvar VAR_0x8004, 1
special DoPCTurnOnEffect
playse SE_PC_ON
@@ -263,33 +264,31 @@ LittlerootTown_BrendansHouse_2F_EventScript_1F8626:: @ 81F8626
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F863F:: @ 81F863F
LittlerootTown_BrendansHouse_2F_EventScript_TurnOffPlayerPC:: @ 81F863F
setvar VAR_0x8004, 1
playse SE_PC_OFF
special DoPCTurnOffEffect
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F864C:: @ 81F864C
LittlerootTown_BrendansHouse_2F_EventScript_CheckRivalsPC:: @ 81F864C
msgbox gText_PokemonTrainerSchoolEmail, MSGBOX_DEFAULT
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F8656:: @ 81F8656
LittlerootTown_MaysHouse_2F_EventScript_1F8656:: @ 81F8656
msgbox LittlerootTown_BrendansHouse_2F_Text_1F877F, MSGBOX_SIGN
PlayersHouse_2F_EventScript_Notebook:: @ 81F8656
msgbox PlayersHouse_2F_Text_Notebook, MSGBOX_SIGN
end
LittlerootTown_BrendansHouse_2F_EventScript_1F865F:: @ 81F865F
LittlerootTown_MaysHouse_2F_EventScript_1F865F:: @ 81F865F
msgbox LittlerootTown_BrendansHouse_2F_Text_1F884F, MSGBOX_SIGN
PlayersHouse_2F_EventScript_GameCube:: @ 81F865F
msgbox PlayersHouse_2F_Text_ItsAGameCube, MSGBOX_SIGN
end
LittlerootTown_BrendansHouse_2F_Text_1F8668: @ 81F8668
PlayersHouse_2F_Text_ClockIsStopped: @ 81F8668
.string "The clock is stopped…\p"
.string "Better set it and start it!$"
LittlerootTown_BrendansHouse_2F_Text_1F869A: @ 81F869A
PlayersHouse_2F_Text_HowDoYouLikeYourRoom: @ 81F869A
.string "MOM: {PLAYER}, how do you like your\n"
.string "new room?\p"
.string "Good! Everything's put away neatly!\p"
@@ -299,7 +298,7 @@ LittlerootTown_BrendansHouse_2F_Text_1F869A: @ 81F869A
.string "Oh, you should make sure that\n"
.string "everything's all there on your desk.$"
LittlerootTown_BrendansHouse_2F_Text_1F877F: @ 81F877F
PlayersHouse_2F_Text_Notebook: @ 81F877F
.string "{PLAYER} flipped open the notebook.\p"
.string "ADVENTURE RULE NO. 1\n"
.string "Open the MENU with START.\p"
@@ -311,7 +310,7 @@ Common_Text_LookCloserAtMap: @ 81F8820
.string "{PLAYER} took a closer look at the\n"
.string "HOENN region map.$"
LittlerootTown_BrendansHouse_2F_Text_1F884F: @ 81F884F
PlayersHouse_2F_Text_ItsAGameCube: @ 81F884F
.string "It's a Nintendo GameCube.\p"
.string "A Game Boy Advance is connected to\n"
.string "serve as the Controller.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_1F_EventScript_2929C5",
"script": "PlayersHouse_1F_EventScript_Mom",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_MOM"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_1F_EventScript_292ABA",
"script": "PlayersHouse_1F_EventScript_Vigoroth1",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_1"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_1F_EventScript_292ACD",
"script": "PlayersHouse_1F_EventScript_Vigoroth2",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_2"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1F89F3",
"script": "RivalsHouse_1F_EventScript_RivalMom",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_MOM"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1F8A3D",
"script": "RivalsHouse_1F_EventScript_RivalSibling",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_SIBLING"
},
{
@@ -103,7 +103,7 @@
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_BRENDAN"
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_MAY"
}
],
"warp_events": [
@@ -137,7 +137,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_INTRO_STATE",
"var_value": "4",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1F8A4C"
"script": "LittlerootTown_MaysHouse_1F_EventScript_GoSeeRoom"
},
{
"type": "trigger",
@@ -146,7 +146,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_RIVAL_STATE",
"var_value": "2",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1F8A67"
"script": "LittlerootTown_MaysHouse_1F_EventScript_MeetRival0"
},
{
"type": "trigger",
@@ -155,7 +155,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_RIVAL_STATE",
"var_value": "2",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1F8A73"
"script": "LittlerootTown_MaysHouse_1F_EventScript_MeetRival1"
},
{
"type": "trigger",
@@ -164,7 +164,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_RIVAL_STATE",
"var_value": "2",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1F8A7F"
"script": "LittlerootTown_MaysHouse_1F_EventScript_MeetRival2"
}
],
"bg_events": []

View File

@@ -1,93 +1,94 @@
LittlerootTown_MaysHouse_1F_MapScripts:: @ 81F88A5
map_script MAP_SCRIPT_ON_LOAD, LittlerootTown_MaysHouse_1F_MapScript1_1F88B5
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_MaysHouse_1F_MapScript1_1F88F4
map_script MAP_SCRIPT_ON_FRAME_TABLE, LittlerootTown_MaysHouse_1F_MapScript2_1F893A
map_script MAP_SCRIPT_ON_LOAD, LittlerootTown_MaysHouse_1F_OnLoad
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_MaysHouse_1F_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, LittlerootTown_MaysHouse_1F_OnFrame
.byte 0
LittlerootTown_MaysHouse_1F_MapScript1_1F88B5: @ 81F88B5
LittlerootTown_MaysHouse_1F_OnLoad: @ 81F88B5
compare VAR_LITTLEROOT_INTRO_STATE, 6
call_if_lt LittlerootTown_MaysHouse_1F_EventScript_1F88CA
call_if_set FLAG_RECEIVED_RUNNING_SHOES, LittlerootTown_MaysHouse_1F_EventScript_1F88DD
call_if_lt LittlerootTown_MaysHouse_1F_EventScript_SetMovingBoxes
call_if_set FLAG_RECEIVED_RUNNING_SHOES, LittlerootTown_MaysHouse_1F_EventScript_CheckShowShoesManual
end
LittlerootTown_MaysHouse_1F_EventScript_1F88CA:: @ 81F88CA
LittlerootTown_MaysHouse_1F_EventScript_SetMovingBoxes:: @ 81F88CA
setmetatile 5, 4, METATILE_BrendansMaysHouse_MovingBox_Open, 1
setmetatile 5, 2, METATILE_BrendansMaysHouse_MovingBox_Closed, 1
return
LittlerootTown_MaysHouse_1F_EventScript_1F88DD:: @ 81F88DD
LittlerootTown_MaysHouse_1F_EventScript_CheckShowShoesManual:: @ 81F88DD
checkplayergender
compare VAR_RESULT, FEMALE
goto_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F88EA
goto_if_eq LittlerootTown_MaysHouse_1F_EventScript_ShowRunningShoesManual
return
LittlerootTown_MaysHouse_1F_EventScript_1F88EA:: @ 81F88EA
LittlerootTown_MaysHouse_1F_EventScript_ShowRunningShoesManual:: @ 81F88EA
setmetatile 6, 7, METATILE_BrendansMaysHouse_BookOnTable, 1
return
LittlerootTown_MaysHouse_1F_MapScript1_1F88F4: @ 81F88F4
LittlerootTown_MaysHouse_1F_OnTransition: @ 81F88F4
compare VAR_LITTLEROOT_INTRO_STATE, 3
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F892E
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MoveMomToDoor
compare VAR_LITTLEROOT_INTRO_STATE, 5
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8916
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MoveMomToStairs
compare VAR_LITTLEROOT_INTRO_STATE, 6
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8922
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MoveMomToTV
end
LittlerootTown_MaysHouse_1F_EventScript_1F8916:: @ 81F8916
LittlerootTown_MaysHouse_1F_EventScript_MoveMomToStairs:: @ 81F8916
setobjectxyperm 1, 2, 4
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_MaysHouse_1F_EventScript_1F8922:: @ 81F8922
LittlerootTown_MaysHouse_1F_EventScript_MoveMomToTV:: @ 81F8922
setobjectxyperm 1, 6, 5
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_MaysHouse_1F_EventScript_1F892E:: @ 81F892E
LittlerootTown_MaysHouse_1F_EventScript_MoveMomToDoor:: @ 81F892E
setobjectxyperm 1, 1, 8
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_MaysHouse_1F_MapScript2_1F893A: @ 81F893A
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 3, LittlerootTown_MaysHouse_1F_EventScript_1F898C
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 5, LittlerootTown_MaysHouse_1F_EventScript_1F8964
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 6, LittlerootTown_MaysHouse_1F_EventScript_1F899D
map_script_2 VAR_LITTLEROOT_HOUSES_STATE_2, 1, LittlerootTown_MaysHouse_1F_EventScript_1F89AE
map_script_2 VAR_LITTLEROOT_HOUSES_STATE, 3, LittlerootTown_MaysHouse_1F_EventScript_292AF2
@ Many of the below scripts have no gender check because they assume youre in the correct house
LittlerootTown_MaysHouse_1F_OnFrame: @ 81F893A
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 3, LittlerootTown_MaysHouse_1F_EventScript_EnterHouseMovingIn
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 5, LittlerootTown_MaysHouse_1F_EventScript_GoUpstairsToSetClock
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 6, LittlerootTown_MaysHouse_1F_EventScript_PetalburgGymReport
map_script_2 VAR_LITTLEROOT_HOUSES_STATE_2, 1, LittlerootTown_MaysHouse_1F_EventScript_YoureNewNeighbor
map_script_2 VAR_LITTLEROOT_HOUSES_STATE, 3, PlayersHouse_1F_EventScript_GetSSTicketAndSeeLatiTV
.2byte 0
LittlerootTown_MaysHouse_1F_EventScript_1F8964:: @ 81F8964
LittlerootTown_MaysHouse_1F_EventScript_GoUpstairsToSetClock:: @ 81F8964
lockall
msgbox LittlerootTown_MaysHouse_1F_Text_1F7B67, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_GoSetTheClock, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_1F898A
applymovement 1, LittlerootTown_MaysHouse_1F_Movement_1F898A
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_PushTowardStairs
applymovement 1, LittlerootTown_MaysHouse_1F_Movement_PushTowardStairs
waitmovement 0
warp MAP_LITTLEROOT_TOWN_MAYS_HOUSE_2F, 255, 1, 1
waitstate
releaseall
end
LittlerootTown_MaysHouse_1F_Movement_1F898A: @ 81F898A
LittlerootTown_MaysHouse_1F_Movement_PushTowardStairs: @ 81F898A
walk_up
step_end
LittlerootTown_MaysHouse_1F_EventScript_1F898C:: @ 81F898C
LittlerootTown_MaysHouse_1F_EventScript_EnterHouseMovingIn:: @ 81F898C
lockall
setvar VAR_0x8004, 1
setvar VAR_0x8005, FEMALE
goto PlayersHouse_1F_EventScript_EnterHouseMovingIn
end
LittlerootTown_MaysHouse_1F_EventScript_PetalburgGymReport:: @ 81F899D
lockall
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
goto LittlerootTown_MaysHouse_1F_EventScript_292704
goto PlayersHouse_1F_EventScript_PetalburgGymReportFemale
end
LittlerootTown_MaysHouse_1F_EventScript_1F899D:: @ 81F899D
lockall
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
goto LittlerootTown_MaysHouse_1F_EventScript_2928DC
end
LittlerootTown_MaysHouse_1F_EventScript_1F89AE:: @ 81F89AE
LittlerootTown_MaysHouse_1F_EventScript_YoureNewNeighbor:: @ 81F89AE
lockall
playse SE_PIN
applymovement 4, Common_Movement_ExclamationMark
@@ -95,16 +96,16 @@ LittlerootTown_MaysHouse_1F_EventScript_1F89AE:: @ 81F89AE
applymovement 4, Common_Movement_Delay48
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
applymovement 4, LittlerootTown_MaysHouse_1F_Movement_1F89EC
applymovement 4, LittlerootTown_MaysHouse_1F_Movement_RivalMomApproach
waitmovement 0
special GetRivalSonDaughterString
msgbox LittlerootTown_MaysHouse_1F_Text_1F8BC5, MSGBOX_DEFAULT
msgbox RivalsHouse_1F_Text_OhYoureTheNewNeighbor, MSGBOX_DEFAULT
setflag FLAG_MET_RIVAL_MOM
setvar VAR_LITTLEROOT_HOUSES_STATE_2, 2
releaseall
end
LittlerootTown_MaysHouse_1F_Movement_1F89EC: @ 81F89EC
LittlerootTown_MaysHouse_1F_Movement_RivalMomApproach: @ 81F89EC
walk_down
walk_left
walk_left
@@ -113,71 +114,69 @@ LittlerootTown_MaysHouse_1F_Movement_1F89EC: @ 81F89EC
walk_left
step_end
LittlerootTown_BrendansHouse_1F_EventScript_1F89F3:: @ 81F89F3
LittlerootTown_MaysHouse_1F_EventScript_1F89F3:: @ 81F89F3
RivalsHouse_1F_EventScript_RivalMom:: @ 81F89F3
lock
faceplayer
goto_if_set FLAG_DEFEATED_RIVAL_ROUTE103, LittlerootTown_BrendansHouse_1F_EventScript_1F8A33
goto_if_set FLAG_SYS_POKEMON_GET, LittlerootTown_BrendansHouse_1F_EventScript_1F8A29
goto_if_set FLAG_DEFEATED_RIVAL_ROUTE103, RivalsHouse_1F_EventScript_GoHomeEverySoOften
goto_if_set FLAG_SYS_POKEMON_GET, RivalsHouse_1F_EventScript_RivalIsOnRoute103
compare VAR_LITTLEROOT_RIVAL_STATE, 3
goto_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F8A1F
goto_if_eq RivalsHouse_1F_EventScript_RivalTooBusy
special GetRivalSonDaughterString
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8CA5, MSGBOX_DEFAULT
msgbox RivalsHouse_1F_Text_LikeChildLikeFather, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1F8A1F:: @ 81F8A1F
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8D37, MSGBOX_DEFAULT
RivalsHouse_1F_EventScript_RivalTooBusy:: @ 81F8A1F
msgbox RivalsHouse_1F_Text_TooBusyToNoticeVisit, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1F8A29:: @ 81F8A29
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8D93, MSGBOX_DEFAULT
RivalsHouse_1F_EventScript_RivalIsOnRoute103:: @ 81F8A29
msgbox RivalsHouse_1F_Text_WentOutToRoute103, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1F8A33:: @ 81F8A33
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8E01, MSGBOX_DEFAULT
RivalsHouse_1F_EventScript_GoHomeEverySoOften:: @ 81F8A33
msgbox RivalsHouse_1F_Text_ShouldGoHomeEverySoOften, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1F8A3D:: @ 81F8A3D
LittlerootTown_MaysHouse_1F_EventScript_1F8A3D:: @ 81F8A3D
RivalsHouse_1F_EventScript_RivalSibling:: @ 81F8A3D
lock
faceplayer
special GetPlayerBigGuyGirlString
msgbox LittlerootTown_BrendansHouse_1F_Text_1F9262, MSGBOX_DEFAULT
msgbox RivalsHouse_1F_Text_DoYouHavePokemon, MSGBOX_DEFAULT
release
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A4C:: @ 81F8A4C
LittlerootTown_MaysHouse_1F_EventScript_GoSeeRoom:: @ 81F8A4C
lockall
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
setvar VAR_0x8005, FEMALE
applymovement VAR_0x8004, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
goto LittlerootTown_MaysHouse_1F_EventScript_292765
goto PlayersHouse_1F_EventScript_MomGoSeeRoom
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A67:: @ 81F8A67
LittlerootTown_MaysHouse_1F_EventScript_MeetRival0:: @ 81F8A67
lockall
setvar VAR_0x8008, 0
goto LittlerootTown_MaysHouse_1F_EventScript_1F8A8B
goto LittlerootTown_MaysHouse_1F_EventScript_MeetRival
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A73:: @ 81F8A73
LittlerootTown_MaysHouse_1F_EventScript_MeetRival1:: @ 81F8A73
lockall
setvar VAR_0x8008, 1
goto LittlerootTown_MaysHouse_1F_EventScript_1F8A8B
goto LittlerootTown_MaysHouse_1F_EventScript_MeetRival
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A7F:: @ 81F8A7F
LittlerootTown_MaysHouse_1F_EventScript_MeetRival2:: @ 81F8A7F
lockall
setvar VAR_0x8008, 2
goto LittlerootTown_MaysHouse_1F_EventScript_1F8A8B
goto LittlerootTown_MaysHouse_1F_EventScript_MeetRival
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A8B:: @ 81F8A8B
LittlerootTown_MaysHouse_1F_EventScript_MeetRival:: @ 81F8A8B
playse SE_KAIDAN
delay 10
addobject 7
@@ -188,25 +187,25 @@ LittlerootTown_MaysHouse_1F_EventScript_1F8A8B:: @ 81F8A8B
applymovement 7, Common_Movement_Delay48
waitmovement 0
compare VAR_0x8008, 1
call_if_ne LittlerootTown_MaysHouse_1F_EventScript_1F8B2A
call_if_ne LittlerootTown_MaysHouse_1F_EventScript_PlayerFaceMay
playbgm MUS_GIRL_SUP, 1
compare VAR_0x8008, 0
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8B35
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MayApproachPlayer0
compare VAR_0x8008, 1
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8B40
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MayApproachPlayer1
compare VAR_0x8008, 2
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8B4B
msgbox LittlerootTown_MaysHouse_1F_Text_1F8EC6, MSGBOX_DEFAULT
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MayApproachPlayer2
msgbox RivalsHouse_1F_Text_MayWhoAreYou, MSGBOX_DEFAULT
closemessage
compare VAR_0x8008, 0
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8B6A
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MayGoUpstairs0
compare VAR_0x8008, 1
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8B7C
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MayGoUpstairs1
compare VAR_0x8008, 2
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8B8E
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MayGoUpstairs2
playse SE_KAIDAN
removeobject 7
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_BRENDAN
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_MAY
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_POKE_BALL
clearflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM
delay 30
@@ -217,27 +216,27 @@ LittlerootTown_MaysHouse_1F_EventScript_1F8A8B:: @ 81F8A8B
releaseall
end
LittlerootTown_MaysHouse_1F_EventScript_1F8B2A:: @ 81F8B2A
LittlerootTown_MaysHouse_1F_EventScript_PlayerFaceMay:: @ 81F8B2A
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B35:: @ 81F8B35
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8B56
LittlerootTown_MaysHouse_1F_EventScript_MayApproachPlayer0:: @ 81F8B35
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_MayApproachPlayer0
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B40:: @ 81F8B40
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8B5E
LittlerootTown_MaysHouse_1F_EventScript_MayApproachPlayer1:: @ 81F8B40
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_MayApproachPlayer1
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B4B:: @ 81F8B4B
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8B62
LittlerootTown_MaysHouse_1F_EventScript_MayApproachPlayer2:: @ 81F8B4B
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_MayApproachPlayer2
waitmovement 0
return
LittlerootTown_MaysHouse_1F_Movement_1F8B56: @ 81F8B56
LittlerootTown_MaysHouse_1F_Movement_MayApproachPlayer0: @ 81F8B56
walk_in_place_fastest_left
walk_left
walk_in_place_fastest_up
@@ -247,13 +246,13 @@ LittlerootTown_MaysHouse_1F_Movement_1F8B56: @ 81F8B56
walk_up
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8B5E: @ 81F8B5E
LittlerootTown_MaysHouse_1F_Movement_MayApproachPlayer1: @ 81F8B5E
walk_up
walk_up
walk_up
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8B62: @ 81F8B62
LittlerootTown_MaysHouse_1F_Movement_MayApproachPlayer2: @ 81F8B62
walk_in_place_fastest_right
walk_right
walk_in_place_fastest_up
@@ -263,31 +262,31 @@ LittlerootTown_MaysHouse_1F_Movement_1F8B62: @ 81F8B62
walk_up
step_end
LittlerootTown_MaysHouse_1F_EventScript_1F8B6A:: @ 81F8B6A
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_1F8BA0
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8BAF
LittlerootTown_MaysHouse_1F_EventScript_MayGoUpstairs0:: @ 81F8B6A
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_PlayerWatchMayExit0
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_MayGoUpstairs0
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B7C:: @ 81F8B7C
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_1F8BA4
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8BB5
LittlerootTown_MaysHouse_1F_EventScript_MayGoUpstairs1:: @ 81F8B7C
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_PlayerWatchMayExit1
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_MayGoUpstairs1
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B8E:: @ 81F8B8E
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_1F8BAB
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8BBF
LittlerootTown_MaysHouse_1F_EventScript_MayGoUpstairs2:: @ 81F8B8E
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_PlayerWatchMayExit2
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_MayGoUpstairs2
waitmovement 0
return
LittlerootTown_MaysHouse_1F_Movement_1F8BA0: @ 81F8BA0
LittlerootTown_MaysHouse_1F_Movement_PlayerWatchMayExit0: @ 81F8BA0
delay_16
delay_8
walk_in_place_fastest_right
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BA4: @ 81F8BA4
LittlerootTown_MaysHouse_1F_Movement_PlayerWatchMayExit1: @ 81F8BA4
delay_16
delay_8
walk_in_place_fastest_right
@@ -296,13 +295,13 @@ LittlerootTown_MaysHouse_1F_Movement_1F8BA4: @ 81F8BA4
walk_in_place_fastest_up
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BAB: @ 81F8BAB
LittlerootTown_MaysHouse_1F_Movement_PlayerWatchMayExit2: @ 81F8BAB
delay_16
delay_8
walk_in_place_fastest_left
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BAF: @ 81F8BAF
LittlerootTown_MaysHouse_1F_Movement_MayGoUpstairs0: @ 81F8BAF
walk_in_place_fastest_right
walk_right
walk_in_place_fastest_up
@@ -310,7 +309,7 @@ LittlerootTown_MaysHouse_1F_Movement_1F8BAF: @ 81F8BAF
walk_up
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BB5: @ 81F8BB5
LittlerootTown_MaysHouse_1F_Movement_MayGoUpstairs1: @ 81F8BB5
walk_in_place_fastest_right
walk_right
walk_in_place_fastest_up
@@ -322,7 +321,7 @@ LittlerootTown_MaysHouse_1F_Movement_1F8BB5: @ 81F8BB5
walk_up
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BBF: @ 81F8BBF
LittlerootTown_MaysHouse_1F_Movement_MayGoUpstairs2: @ 81F8BBF
walk_in_place_fastest_left
walk_left
walk_in_place_fastest_up
@@ -330,8 +329,7 @@ LittlerootTown_MaysHouse_1F_Movement_1F8BBF: @ 81F8BBF
walk_up
step_end
LittlerootTown_BrendansHouse_1F_Text_1F8BC5: @ 81F8BC5
LittlerootTown_MaysHouse_1F_Text_1F8BC5: @ 81F8BC5
RivalsHouse_1F_Text_OhYoureTheNewNeighbor: @ 81F8BC5
.string "Oh, hello. And you are?\p"
.string "… … … … … … … … …\n"
.string "… … … … … … … … …\p"
@@ -343,26 +341,26 @@ LittlerootTown_MaysHouse_1F_Text_1F8BC5: @ 81F8BC5
.string "a new friend.\p"
.string "Our {STR_VAR_1} is upstairs, I think.$"
LittlerootTown_BrendansHouse_1F_Text_1F8CA5: @ 81F8CA5
RivalsHouse_1F_Text_LikeChildLikeFather: @ 81F8CA5
.string "Like child, like father.\p"
.string "My husband is as wild about POKéMON\n"
.string "as our child.\p"
.string "If he's not at his LAB, he's likely\n"
.string "scrabbling about in grassy places.$"
LittlerootTown_BrendansHouse_1F_Text_1F8D37: @ 81F8D37
RivalsHouse_1F_Text_TooBusyToNoticeVisit: @ 81F8D37
.string "That {RIVAL}!\p"
.string "I guess our child is too busy with\n"
.string "POKéMON to notice that you came\l"
.string "to visit, {PLAYER}{KUN}.$"
LittlerootTown_BrendansHouse_1F_Text_1F8D93: @ 81F8D93
RivalsHouse_1F_Text_WentOutToRoute103: @ 81F8D93
.string "Oh, {RIVAL} went out to ROUTE 103\n"
.string "just a little while ago.\p"
.string "Like father, like child.\n"
.string "{RIVAL} can't stay quietly at home.$"
LittlerootTown_BrendansHouse_1F_Text_1F8E01: @ 81F8E01
RivalsHouse_1F_Text_ShouldGoHomeEverySoOften: @ 81F8E01
.string "I think it's wonderful for people to\n"
.string "travel with POKéMON.\p"
.string "But you should go home every so often\n"
@@ -370,7 +368,7 @@ LittlerootTown_BrendansHouse_1F_Text_1F8E01: @ 81F8E01
.string "She might not say it, but I'm sure she\n"
.string "worries about you, {PLAYER}{KUN}.$"
LittlerootTown_MaysHouse_1F_Text_1F8EC6: @ 81F8EC6
RivalsHouse_1F_Text_MayWhoAreYou: @ 81F8EC6
.string "Huh?\n"
.string "Who… Who are you?\p"
.string "… … … … … … … …\n"
@@ -394,7 +392,7 @@ LittlerootTown_MaysHouse_1F_Text_1F8EC6: @ 81F8EC6
.string "some wild POKéMON!\p"
.string "{PLAYER}{KUN}, I'll catch you later!$"
LittlerootTown_BrendansHouse_1F_Text_1F90B4: @ 81F90B4
RivalsHouse_1F_Text_BrendanWhoAreYou: @ 81F90B4
.string "Hey!\n"
.string "You…\p"
.string "Who are you?\p"
@@ -414,7 +412,7 @@ LittlerootTown_BrendansHouse_1F_Text_1F90B4: @ 81F90B4
.string "some wild POKéMON.\p"
.string "Some other time, okay?$"
LittlerootTown_BrendansHouse_1F_Text_1F9262: @ 81F9262
RivalsHouse_1F_Text_DoYouHavePokemon: @ 81F9262
.string "Hi, neighbor!\p"
.string "Do you already have your\n"
.string "own POKéMON?$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_2F_EventScript_1F94C1",
"script": "RivalsHouse_2F_EventScript_Rival",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM"
},
{
@@ -219,7 +219,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_2F_EventScript_1F9334",
"script": "LittlerootTown_MaysHouse_2F_EventScript_RivalsPokeBall",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_POKE_BALL"
}
],
@@ -240,7 +240,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LittlerootTown_MaysHouse_2F_EventScript_1F865F"
"script": "PlayersHouse_2F_EventScript_GameCube"
},
{
"type": "sign",
@@ -248,7 +248,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LittlerootTown_MaysHouse_2F_EventScript_1F8656"
"script": "PlayersHouse_2F_EventScript_Notebook"
},
{
"type": "sign",
@@ -256,7 +256,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LittlerootTown_MaysHouse_2F_EventScript_29278D"
"script": "LittlerootTown_MaysHouse_2F_EventScript_WallClock"
},
{
"type": "sign",
@@ -264,7 +264,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "EventScript_PlayerPCFemale"
"script": "LittlerootTown_MaysHouse_2F_EventScript_PC"
}
]
}

View File

@@ -1,71 +1,70 @@
LittlerootTown_MaysHouse_2F_MapScripts:: @ 81F9296
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_MaysHouse_2F_MapScript1_1F92A1
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, LittlerootTown_MaysHouse_2F_MapScript2_1F931D
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_MaysHouse_2F_OnTransition
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, LittlerootTown_MaysHouse_2F_OnWarp
.byte 0
LittlerootTown_MaysHouse_2F_MapScript1_1F92A1: @ 81F92A1
LittlerootTown_MaysHouse_2F_OnTransition: @ 81F92A1
compare VAR_LITTLEROOT_RIVAL_STATE, 2
call_if_lt LittlerootTown_MaysHouse_2F_EventScript_1F930A
call_if_lt LittlerootTown_MaysHouse_2F_EventScript_CheckSetReadyToMeetMay
compare VAR_LITTLEROOT_RIVAL_STATE, 3
call_if_ge LittlerootTown_MaysHouse_2F_EventScript_1F92CD
call_if_ge LittlerootTown_MaysHouse_2F_EventScript_CheckShouldUpdateMayPos
compare VAR_LITTLEROOT_INTRO_STATE, 4
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_2926FE
call_if_eq PlayersHouse_2F_EventScript_BlockStairsUntilClockIsSet
call SecretBase_EventScript_SetDecorationFlags
setvar VAR_SECRET_BASE_INITIALIZED, 0
end
LittlerootTown_MaysHouse_2F_EventScript_1F92CD:: @ 81F92CD
goto_if_set FLAG_MET_RIVAL_LILYCOVE, LittlerootTown_MaysHouse_2F_EventScript_1F92E6
LittlerootTown_MaysHouse_2F_EventScript_CheckShouldUpdateMayPos:: @ 81F92CD
goto_if_set FLAG_MET_RIVAL_LILYCOVE, LittlerootTown_MaysHouse_2F_EventScript_TryUpdateMayPos
compare VAR_BIRCH_LAB_STATE, 2
goto_if_ge LittlerootTown_MaysHouse_2F_EventScript_1F9309
goto LittlerootTown_MaysHouse_2F_EventScript_1F92E6
goto_if_ge LittlerootTown_MaysHouse_2F_EventScript_Ret
goto LittlerootTown_MaysHouse_2F_EventScript_TryUpdateMayPos
LittlerootTown_MaysHouse_2F_EventScript_1F92E6:: @ 81F92E6
LittlerootTown_MaysHouse_2F_EventScript_TryUpdateMayPos:: @ 81F92E6
checkplayergender
compare VAR_RESULT, FEMALE
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F9309
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_Ret
compare VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 2
goto_if_ge LittlerootTown_MaysHouse_2F_EventScript_1F9309
goto_if_ge LittlerootTown_MaysHouse_2F_EventScript_Ret
setobjectxyperm 1, 8, 2
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_BrendansHouse_2F_EventScript_1F9309:: @ 81F9309
LittlerootTown_MaysHouse_2F_EventScript_1F9309:: @ 81F9309
LittlerootTown_MaysHouse_2F_EventScript_Ret:: @ 81F9309
return
LittlerootTown_MaysHouse_2F_EventScript_1F930A:: @ 81F930A
LittlerootTown_MaysHouse_2F_EventScript_CheckSetReadyToMeetMay:: @ 81F930A
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F9317
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_SetReadyToMeetMay
return
LittlerootTown_MaysHouse_2F_EventScript_1F9317:: @ 81F9317
LittlerootTown_MaysHouse_2F_EventScript_SetReadyToMeetMay:: @ 81F9317
setvar VAR_LITTLEROOT_RIVAL_STATE, 2
return
LittlerootTown_MaysHouse_2F_MapScript2_1F931D: @ 81F931D
map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, LittlerootTown_MaysHouse_2F_EventScript_1F9327
LittlerootTown_MaysHouse_2F_OnWarp: @ 81F931D
map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, LittlerootTown_MaysHouse_2F_EventScript_CheckInitDecor
.2byte 0
LittlerootTown_MaysHouse_2F_EventScript_1F9327:: @ 81F9327
LittlerootTown_MaysHouse_2F_EventScript_CheckInitDecor:: @ 81F9327
checkplayergender
compare VAR_RESULT, FEMALE
goto_if_eq SecretBase_EventScript_InitDecorations
end
LittlerootTown_MaysHouse_2F_EventScript_1F9334:: @ 81F9334
LittlerootTown_MaysHouse_2F_EventScript_RivalsPokeBall:: @ 81F9334
lockall
compare VAR_LITTLEROOT_RIVAL_STATE, 2
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F934A
msgbox LittlerootTown_MaysHouse_2F_Text_1F9991, MSGBOX_DEFAULT
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_MeetMay
msgbox RivalsHouse_2F_Text_ItsRivalsPokeBall, MSGBOX_DEFAULT
releaseall
end
LittlerootTown_MaysHouse_2F_EventScript_1F934A:: @ 81F934A
LittlerootTown_MaysHouse_2F_EventScript_MeetMay:: @ 81F934A
delay 10
addobject 1
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F946F
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayEnters
waitmovement 0
playse SE_PIN
applymovement 1, Common_Movement_ExclamationMark
@@ -75,13 +74,13 @@ LittlerootTown_MaysHouse_2F_EventScript_1F934A:: @ 81F934A
delay 10
playbgm MUS_GIRL_SUP, 1
compare VAR_FACING, DIR_NORTH
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F93BA
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_MeetMayNorth
compare VAR_FACING, DIR_SOUTH
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F93E9
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_MeetMaySouth
compare VAR_FACING, DIR_WEST
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F9418
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_MeetMayWest
compare VAR_FACING, DIR_EAST
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F9440
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_MeetMayEast
setvar VAR_LITTLEROOT_RIVAL_STATE, 3
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_POKE_BALL
clearflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM
@@ -91,60 +90,60 @@ LittlerootTown_MaysHouse_2F_EventScript_1F934A:: @ 81F934A
releaseall
end
LittlerootTown_MaysHouse_2F_EventScript_1F93BA:: @ 81F93BA
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F9473
LittlerootTown_MaysHouse_2F_EventScript_MeetMayNorth:: @ 81F93BA
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerNorth
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
msgbox LittlerootTown_MaysHouse_2F_Text_1F959C, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_MayWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_1F9483
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F9479
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayNorth
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCNorth
waitmovement 0
return
LittlerootTown_MaysHouse_2F_EventScript_1F93E9:: @ 81F93E9
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F948B
LittlerootTown_MaysHouse_2F_EventScript_MeetMaySouth:: @ 81F93E9
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerSouth
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
msgbox LittlerootTown_MaysHouse_2F_Text_1F959C, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_MayWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_1F9497
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F948F
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMaySouth
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCSouth
waitmovement 0
return
LittlerootTown_MaysHouse_2F_EventScript_1F9418:: @ 81F9418
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F949D
LittlerootTown_MaysHouse_2F_EventScript_MeetMayWest:: @ 81F9418
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerWest
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
msgbox LittlerootTown_MaysHouse_2F_Text_1F959C, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_MayWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F94A4
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCWest
waitmovement 0
return
LittlerootTown_MaysHouse_2F_EventScript_1F9440:: @ 81F9440
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F94AD
LittlerootTown_MaysHouse_2F_EventScript_MeetMayEast:: @ 81F9440
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerEast
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
msgbox LittlerootTown_MaysHouse_2F_Text_1F959C, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_MayWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_1F94BB
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F94B2
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayEast
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCEast
waitmovement 0
return
LittlerootTown_MaysHouse_2F_Movement_1F946F: @ 81F946F
LittlerootTown_MaysHouse_2F_Movement_MayEnters: @ 81F946F
walk_down
walk_down
walk_in_place_fastest_right
step_end
LittlerootTown_MaysHouse_2F_Movement_1F9473: @ 81F9473
LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerNorth: @ 81F9473
walk_right
walk_right
walk_down
@@ -152,7 +151,7 @@ LittlerootTown_MaysHouse_2F_Movement_1F9473: @ 81F9473
walk_right
step_end
LittlerootTown_MaysHouse_2F_Movement_1F9479: @ 81F9479
LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCNorth: @ 81F9479
walk_up
walk_up
walk_up
@@ -164,7 +163,7 @@ LittlerootTown_MaysHouse_2F_Movement_1F9479: @ 81F9479
walk_in_place_fastest_up
step_end
LittlerootTown_MaysHouse_2F_Movement_1F9483: @ 81F9483
LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayNorth: @ 81F9483
delay_16
walk_in_place_fastest_up
delay_16
@@ -174,13 +173,13 @@ LittlerootTown_MaysHouse_2F_Movement_1F9483: @ 81F9483
walk_in_place_fastest_right
step_end
LittlerootTown_MaysHouse_2F_Movement_1F948B: @ 81F948B
LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerSouth: @ 81F948B
walk_right
walk_right
walk_right
step_end
LittlerootTown_MaysHouse_2F_Movement_1F948F: @ 81F948F
LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCSouth: @ 81F948F
walk_up
walk_in_place_fastest_right
walk_right
@@ -190,7 +189,7 @@ LittlerootTown_MaysHouse_2F_Movement_1F948F: @ 81F948F
walk_in_place_fastest_up
step_end
LittlerootTown_MaysHouse_2F_Movement_1F9497: @ 81F9497
LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMaySouth: @ 81F9497
delay_16
walk_in_place_fastest_up
delay_16
@@ -198,7 +197,7 @@ LittlerootTown_MaysHouse_2F_Movement_1F9497: @ 81F9497
walk_in_place_fastest_right
step_end
LittlerootTown_MaysHouse_2F_Movement_1F949D: @ 81F949D
LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerWest: @ 81F949D
walk_right
walk_right
walk_right
@@ -207,27 +206,28 @@ LittlerootTown_MaysHouse_2F_Movement_1F949D: @ 81F949D
walk_in_place_fastest_down
step_end
LittlerootTown_MaysHouse_2F_Movement_1F94A4: @ 81F94A4
LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCWest: @ 81F94A4
walk_up
walk_right
walk_right
walk_in_place_fastest_up
step_end
LittlerootTown_MaysHouse_2F_Movement_1F94A9: @ 81F94A9
@ Unused, the player is already facing this direction so its unneeded
LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayWest: @ 81F94A9
delay_16
delay_16
walk_in_place_fastest_right
step_end
LittlerootTown_MaysHouse_2F_Movement_1F94AD: @ 81F94AD
LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerEast: @ 81F94AD
walk_right
walk_right
walk_down
walk_in_place_fastest_right
step_end
LittlerootTown_MaysHouse_2F_Movement_1F94B2: @ 81F94B2
LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCEast: @ 81F94B2
walk_up
walk_up
walk_right
@@ -238,7 +238,7 @@ LittlerootTown_MaysHouse_2F_Movement_1F94B2: @ 81F94B2
walk_in_place_fastest_up
step_end
LittlerootTown_MaysHouse_2F_Movement_1F94BB: @ 81F94BB
LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayEast: @ 81F94BB
delay_16
walk_in_place_fastest_up
delay_16
@@ -246,72 +246,71 @@ LittlerootTown_MaysHouse_2F_Movement_1F94BB: @ 81F94BB
walk_in_place_fastest_right
step_end
LittlerootTown_BrendansHouse_2F_EventScript_1F94C1:: @ 81F94C1
LittlerootTown_MaysHouse_2F_EventScript_1F94C1:: @ 81F94C1
RivalsHouse_2F_EventScript_Rival:: @ 81F94C1
lockall
goto_if_set FLAG_MET_RIVAL_LILYCOVE, LittlerootTown_BrendansHouse_2F_EventScript_1F94F7
goto_if_set FLAG_MET_RIVAL_LILYCOVE, RivalsHouse_2F_EventScript_RivalPostLilycove
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F94E3
goto_if_eq RivalsHouse_2F_EventScript_May
compare VAR_RESULT, FEMALE
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F94ED
goto_if_eq RivalsHouse_2F_EventScript_Brendan
end
LittlerootTown_BrendansHouse_2F_EventScript_1F94E3:: @ 81F94E3
msgbox LittlerootTown_BrendansHouse_2F_Text_1F978A, MSGBOX_DEFAULT
RivalsHouse_2F_EventScript_May:: @ 81F94E3
msgbox RivalsHouse_2F_Text_MayGettingReady, MSGBOX_DEFAULT
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F94ED:: @ 81F94ED
msgbox LittlerootTown_BrendansHouse_2F_Text_1F9962, MSGBOX_DEFAULT
RivalsHouse_2F_EventScript_Brendan:: @ 81F94ED
msgbox RivalsHouse_2F_Text_BrendanGettingReady, MSGBOX_DEFAULT
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F94F7:: @ 81F94F7
RivalsHouse_2F_EventScript_RivalPostLilycove:: @ 81F94F7
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
waitmovement 0
checkplayergender
compare VAR_RESULT, MALE
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F951D
call_if_eq RivalsHouse_2F_EventScript_MayPostLilycove
compare VAR_RESULT, FEMALE
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F952F
call_if_eq RivalsHouse_2F_EventScript_BrendanPostLilycove
setflag FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F951D:: @ 81F951D
goto_if_set FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE, LittlerootTown_BrendansHouse_2F_EventScript_1F9541
msgbox LittlerootTown_BrendansHouse_2F_Text_1F99C9, MSGBOX_DEFAULT
RivalsHouse_2F_EventScript_MayPostLilycove:: @ 81F951D
goto_if_set FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE, RivalsHouse_2F_EventScript_MayWhereShouldIGoNext
msgbox RivalsHouse_2F_Text_MayJustCheckingMyPokedex, MSGBOX_DEFAULT
return
LittlerootTown_BrendansHouse_2F_EventScript_1F952F:: @ 81F952F
goto_if_set FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE, LittlerootTown_BrendansHouse_2F_EventScript_1F954A
msgbox LittlerootTown_BrendansHouse_2F_Text_1F9B0D, MSGBOX_DEFAULT
RivalsHouse_2F_EventScript_BrendanPostLilycove:: @ 81F952F
goto_if_set FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE, PlayersHouse_2F_EventScript_BrendanWhereShouldIGoNext
msgbox RivalsHouse_2F_Text_BrendanJustCheckingMyPokedex, MSGBOX_DEFAULT
return
LittlerootTown_BrendansHouse_2F_EventScript_1F9541:: @ 81F9541
msgbox LittlerootTown_BrendansHouse_2F_Text_1F9A9E, MSGBOX_DEFAULT
RivalsHouse_2F_EventScript_MayWhereShouldIGoNext:: @ 81F9541
msgbox RivalsHouse_2F_Text_MayWhereShouldIGoNext, MSGBOX_DEFAULT
return
LittlerootTown_BrendansHouse_2F_EventScript_1F954A:: @ 81F954A
msgbox LittlerootTown_BrendansHouse_2F_Text_1F9BE7, MSGBOX_DEFAULT
PlayersHouse_2F_EventScript_BrendanWhereShouldIGoNext:: @ 81F954A
msgbox RivalsHouse_2F_Text_BrendanWhereShouldIGoNext, MSGBOX_DEFAULT
return
EventScript_PlayerPCFemale:: @ 81F9553
LittlerootTown_MaysHouse_2F_EventScript_PC:: @ 81F9553
lockall
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F956C
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_CheckRivalsPC
compare VAR_RESULT, FEMALE
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F9576
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_CheckPlayersPC
end
LittlerootTown_MaysHouse_2F_EventScript_1F956C:: @ 81F956C
LittlerootTown_MaysHouse_2F_EventScript_CheckRivalsPC:: @ 81F956C
msgbox gText_PokemonTrainerSchoolEmail, MSGBOX_DEFAULT
releaseall
end
LittlerootTown_MaysHouse_2F_EventScript_1F9576:: @ 81F9576
LittlerootTown_MaysHouse_2F_EventScript_CheckPlayersPC:: @ 81F9576
setvar VAR_0x8004, 2
special DoPCTurnOnEffect
playse SE_PC_ON
@@ -321,14 +320,14 @@ LittlerootTown_MaysHouse_2F_EventScript_1F9576:: @ 81F9576
releaseall
end
LittlerootTown_MaysHouse_2F_EventScript_1F958F:: @ 81F958F
LittlerootTown_MaysHouse_2F_EventScript_TurnOffPlayerPC:: @ 81F958F
setvar VAR_0x8004, 2
playse SE_PC_OFF
special DoPCTurnOffEffect
releaseall
end
LittlerootTown_MaysHouse_2F_Text_1F959C: @ 81F959C
RivalsHouse_2F_Text_MayWhoAreYou: @ 81F959C
.string "Huh?\n"
.string "Who… Who are you?\p"
.string "… … … … … … … …\n"
@@ -352,11 +351,11 @@ LittlerootTown_MaysHouse_2F_Text_1F959C: @ 81F959C
.string "some wild POKéMON!\p"
.string "{PLAYER}{KUN}, I'll catch you later!$"
LittlerootTown_BrendansHouse_2F_Text_1F978A: @ 81F978A
RivalsHouse_2F_Text_MayGettingReady: @ 81F978A
.string "POKéMON fully restored!\n"
.string "Items ready, and…$"
LittlerootTown_BrendansHouse_2F_Text_1F97B4: @ 81F97B4
RivalsHouse_2F_Text_BrendanWhoAreYou: @ 81F97B4
.string "Hey!\n"
.string "You…\p"
.string "Who are you?\p"
@@ -376,16 +375,15 @@ LittlerootTown_BrendansHouse_2F_Text_1F97B4: @ 81F97B4
.string "some wild POKéMON.\p"
.string "Some other time, okay?$"
LittlerootTown_BrendansHouse_2F_Text_1F9962: @ 81F9962
RivalsHouse_2F_Text_BrendanGettingReady: @ 81F9962
.string "POKéMON fully restored…\n"
.string "Items all packed, and…$"
LittlerootTown_BrendansHouse_2F_Text_1F9991: @ 81F9991
LittlerootTown_MaysHouse_2F_Text_1F9991: @ 81F9991
RivalsHouse_2F_Text_ItsRivalsPokeBall: @ 81F9991
.string "It's {RIVAL}'s POKé BALL!\p"
.string "Better leave it right where it is.$"
LittlerootTown_BrendansHouse_2F_Text_1F99C9: @ 81F99C9
RivalsHouse_2F_Text_MayJustCheckingMyPokedex: @ 81F99C9
.string "MAY: {PLAYER}{KUN}!\p"
.string "I was just checking my POKéDEX.\p"
.string "There's still a lot of POKéMON that\n"
@@ -395,13 +393,13 @@ LittlerootTown_BrendansHouse_2F_Text_1F99C9: @ 81F99C9
.string "I wonder where I should go catch\n"
.string "some POKéMON next?$"
LittlerootTown_BrendansHouse_2F_Text_1F9A9E: @ 81F9A9E
RivalsHouse_2F_Text_MayWhereShouldIGoNext: @ 81F9A9E
.string "MAY: I wonder where I should go catch\n"
.string "some POKéMON next?\p"
.string "Wouldn't it be funny if we ran into each\n"
.string "other, {PLAYER}{KUN}?$"
LittlerootTown_BrendansHouse_2F_Text_1F9B0D: @ 81F9B0D
RivalsHouse_2F_Text_BrendanJustCheckingMyPokedex: @ 81F9B0D
.string "BRENDAN: Hey, it's {PLAYER}.\p"
.string "I was just checking out my POKéDEX.\p"
.string "There are still many POKéMON that\n"
@@ -410,7 +408,7 @@ LittlerootTown_BrendansHouse_2F_Text_1F9B0D: @ 81F9B0D
.string "Checking this POKéDEX out gives me\n"
.string "the urge to hit the road again.$"
LittlerootTown_BrendansHouse_2F_Text_1F9BE7: @ 81F9BE7
RivalsHouse_2F_Text_BrendanWhereShouldIGoNext: @ 81F9BE7
.string "BRENDAN: I'm having a hard time deciding\n"
.string "where I should catch POKéMON next.\p"
.string "Hey, {PLAYER}, if I see you while I'm out\n"

View File

@@ -117,7 +117,7 @@ EventScript_ResetAllMapFlags:: @ 82715DE
setflag FLAG_HIDE_PETALBURG_GYM_GREETER
setflag FLAG_HIDE_PETALBURG_GYM_WALLYS_UNCLE
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_BRENDAN
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_BRENDAN
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_MAY
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM
setflag FLAG_HIDE_PLAYERS_HOUSE_DAD

View File

@@ -1,67 +1,63 @@
LittlerootTown_BrendansHouse_2F_EventScript_2926FE:: @ 82926FE
LittlerootTown_MaysHouse_2F_EventScript_2926FE:: @ 82926FE
PlayersHouse_2F_EventScript_BlockStairsUntilClockIsSet:: @ 82926FE
setvar VAR_LITTLEROOT_INTRO_STATE, 5
return
LittlerootTown_BrendansHouse_1F_EventScript_292704:: @ 8292704
LittlerootTown_MaysHouse_1F_EventScript_292704:: @ 8292704
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7A1C, MSGBOX_DEFAULT
PlayersHouse_1F_EventScript_EnterHouseMovingIn:: @ 8292704
msgbox PlayersHouse_1F_Text_IsntItNiceInHere, MSGBOX_DEFAULT
applymovement VAR_0x8004, Common_Movement_FacePlayer
waitmovement 0
compare VAR_0x8005, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_29274D
compare VAR_0x8005, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292758
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7A46, MSGBOX_DEFAULT
compare VAR_0x8005, MALE
call_if_eq PlayersHouse_1F_EventScript_MomFacePlayerMovingInMale
compare VAR_0x8005, FEMALE
call_if_eq PlayersHouse_1F_EventScript_MomFacePlayerMovingInFemale
msgbox PlayersHouse_1F_Text_MoversPokemonGoSetClock, MSGBOX_DEFAULT
closemessage
setvar VAR_LITTLEROOT_INTRO_STATE, 4
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_292763
applymovement EVENT_OBJ_ID_PLAYER, PlayersHouse_1F_Movement_PlayerWalkIn
applymovement VAR_0x8004, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
releaseall
end
LittlerootTown_BrendansHouse_1F_EventScript_29274D:: @ 829274D
PlayersHouse_1F_EventScript_MomFacePlayerMovingInMale:: @ 829274D
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292758:: @ 8292758
PlayersHouse_1F_EventScript_MomFacePlayerMovingInFemale:: @ 8292758
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_Movement_292763: @ 8292763
PlayersHouse_1F_Movement_PlayerWalkIn: @ 8292763
walk_up
step_end
LittlerootTown_BrendansHouse_1F_EventScript_292765:: @ 8292765
LittlerootTown_MaysHouse_1F_EventScript_292765:: @ 8292765
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7B24, MSGBOX_DEFAULT
PlayersHouse_1F_EventScript_MomGoSeeRoom:: @ 8292765
msgbox PlayersHouse_1F_Text_ArentYouInterestedInRoom, MSGBOX_DEFAULT
closemessage
applymovement VAR_0x8004, Common_Movement_WalkInPlaceFastestUp
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_292AF0
applymovement EVENT_OBJ_ID_PLAYER, PlayersHouse_1F_Movement_MovePlayerAwayFromDoor
waitmovement 0
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_292781:: @ 8292781
LittlerootTown_BrendansHouse_2F_EventScript_WallClock:: @ 8292781
lockall
setvar VAR_0x8004, 0
goto LittlerootTown_BrendansHouse_2F_EventScript_292799
setvar VAR_0x8004, MALE
goto PlayersHouse_2F_EventScript_WallClock
end
LittlerootTown_MaysHouse_2F_EventScript_29278D:: @ 829278D
LittlerootTown_MaysHouse_2F_EventScript_WallClock:: @ 829278D
lockall
setvar VAR_0x8004, 1
goto LittlerootTown_MaysHouse_2F_EventScript_292799
setvar VAR_0x8004, FEMALE
goto PlayersHouse_2F_EventScript_WallClock
end
LittlerootTown_BrendansHouse_2F_EventScript_292799:: @ 8292799
LittlerootTown_MaysHouse_2F_EventScript_292799:: @ 8292799
goto_if_set FLAG_SET_WALL_CLOCK, LittlerootTown_BrendansHouse_2F_EventScript_29283F
msgbox LittlerootTown_BrendansHouse_2F_Text_1F8668, MSGBOX_DEFAULT
call LittlerootTown_BrendansHouse_2F_EventScript_292849
PlayersHouse_2F_EventScript_WallClock:: @ 8292799
goto_if_set FLAG_SET_WALL_CLOCK, PlayersHouse_2F_EventScript_CheckWallClock
msgbox PlayersHouse_2F_Text_ClockIsStopped, MSGBOX_DEFAULT
call PlayersHouse_2F_EventScript_SetWallClock
delay 30
setvar VAR_LITTLEROOT_INTRO_STATE, 6
setflag FLAG_SET_WALL_CLOCK
@@ -69,41 +65,41 @@ LittlerootTown_MaysHouse_2F_EventScript_292799:: @ 8292799
setflag FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_2
checkplayergender
compare VAR_RESULT, MALE
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_2927DF
call_if_eq PlayersHouse_2F_EventScript_MomComesUpstairsMale
compare VAR_RESULT, FEMALE
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_29280F
call_if_eq PlayersHouse_2F_EventScript_MomComesUpstairsFemale
playse SE_KAIDAN
removeobject VAR_0x8008
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_2927DF:: @ 82927DF
PlayersHouse_2F_EventScript_MomComesUpstairsMale:: @ 82927DF
setvar VAR_0x8008, 14
addobject VAR_0x8008
applymovement VAR_0x8008, LittlerootTown_BrendansHouse_2F_Movement_292850
applymovement VAR_0x8008, PlayersHouse_2F_Movement_MomEntersMale
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
msgbox LittlerootTown_BrendansHouse_2F_Text_1F869A, MSGBOX_DEFAULT
msgbox PlayersHouse_2F_Text_HowDoYouLikeYourRoom, MSGBOX_DEFAULT
closemessage
applymovement VAR_0x8008, LittlerootTown_BrendansHouse_2F_Movement_292857
applymovement VAR_0x8008, PlayersHouse_2F_Movement_MomExitsMale
waitmovement 0
return
LittlerootTown_BrendansHouse_2F_EventScript_29280F:: @ 829280F
PlayersHouse_2F_EventScript_MomComesUpstairsFemale:: @ 829280F
setvar VAR_0x8008, 14
addobject VAR_0x8008
applymovement VAR_0x8008, LittlerootTown_BrendansHouse_2F_Movement_29285B
applymovement VAR_0x8008, PlayersHouse_2F_Movement_MomEntersFemale
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
msgbox LittlerootTown_BrendansHouse_2F_Text_1F869A, MSGBOX_DEFAULT
msgbox PlayersHouse_2F_Text_HowDoYouLikeYourRoom, MSGBOX_DEFAULT
closemessage
applymovement VAR_0x8008, LittlerootTown_BrendansHouse_2F_Movement_292862
applymovement VAR_0x8008, PlayersHouse_2F_Movement_MomExitsFemale
waitmovement 0
return
LittlerootTown_BrendansHouse_2F_EventScript_29283F:: @ 829283F
PlayersHouse_2F_EventScript_CheckWallClock:: @ 829283F
incrementgamestat GAME_STAT_CHECKED_CLOCK
fadescreen 1
special Special_ViewWallClock
@@ -111,13 +107,13 @@ LittlerootTown_BrendansHouse_2F_EventScript_29283F:: @ 829283F
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_292849:: @ 8292849
PlayersHouse_2F_EventScript_SetWallClock:: @ 8292849
fadescreen 1
special StartWallClock
waitstate
return
LittlerootTown_BrendansHouse_2F_Movement_292850: @ 8292850
PlayersHouse_2F_Movement_MomEntersMale: @ 8292850
delay_8
walk_down
walk_in_place_fastest_left
@@ -126,13 +122,13 @@ LittlerootTown_BrendansHouse_2F_Movement_292850: @ 8292850
walk_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_292857: @ 8292857
PlayersHouse_2F_Movement_MomExitsMale: @ 8292857
walk_right
walk_up
delay_8
step_end
LittlerootTown_BrendansHouse_2F_Movement_29285B: @ 829285B
PlayersHouse_2F_Movement_MomEntersFemale: @ 829285B
delay_8
walk_down
walk_in_place_fastest_right
@@ -141,91 +137,88 @@ LittlerootTown_BrendansHouse_2F_Movement_29285B: @ 829285B
walk_right
step_end
LittlerootTown_BrendansHouse_2F_Movement_292862: @ 8292862
PlayersHouse_2F_Movement_MomExitsFemale: @ 8292862
walk_left
walk_up
delay_8
step_end
LittlerootTown_BrendansHouse_1F_EventScript_292866:: @ 8292866
LittlerootTown_MaysHouse_1F_EventScript_292866:: @ 8292866
PlayersHouse_1F_EventScript_SetWatchedBroadcast:: @ 8292866
setvar VAR_LITTLEROOT_INTRO_STATE, 7
releaseall
end
LittlerootTown_BrendansHouse_1F_EventScript_29286D:: @ 829286D
PlayersHouse_1F_EventScript_PetalburgGymReportMale:: @ 829286D
applymovement VAR_0x8005, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
call LittlerootTown_BrendansHouse_1F_EventScript_29294B
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_292AE0
call PlayersHouse_1F_EventScript_MomNoticeGymBroadcast
applymovement EVENT_OBJ_ID_PLAYER, PlayersHouse_1F_Movement_PlayerApproachTVForGymMale
waitmovement 0
playbgm MUS_INTER_V, 0
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7BBC, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_MaybeDadWillBeOn, MSGBOX_DEFAULT
closemessage
applymovement VAR_0x8005, LittlerootTown_BrendansHouse_1F_Movement_2929B7
applymovement VAR_0x8005, PlayersHouse_1F_Movement_MomMakeRoomToSeeTVMale
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_292AE6
applymovement EVENT_OBJ_ID_PLAYER, PlayersHouse_1F_Movement_PlayerMoveToTVMale
waitmovement 0
call LittlerootTown_BrendansHouse_1F_EventScript_29296C
call PlayersHouse_1F_EventScript_WatchGymBroadcast
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7BF1, MSGBOX_DEFAULT
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7C35, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_ItsOverWeMissedHim, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_GoIntroduceYourselfNextDoor, MSGBOX_DEFAULT
closemessage
setvar VAR_TEMP_1, 1
applymovement VAR_0x8005, LittlerootTown_BrendansHouse_1F_Movement_2929BD
applymovement VAR_0x8005, PlayersHouse_1F_Movement_MomReturnToSeatMale
waitmovement 0
goto LittlerootTown_BrendansHouse_1F_EventScript_292866
goto PlayersHouse_1F_EventScript_SetWatchedBroadcast
end
LittlerootTown_MaysHouse_1F_EventScript_2928DC:: @ 82928DC
PlayersHouse_1F_EventScript_PetalburgGymReportFemale:: @ 82928DC
applymovement VAR_0x8005, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
call LittlerootTown_MaysHouse_1F_EventScript_29294B
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_292AE8
call PlayersHouse_1F_EventScript_MomNoticeGymBroadcast
applymovement EVENT_OBJ_ID_PLAYER, PlayersHouse_1F_Movement_PlayerApproachTVForGymFemale
waitmovement 0
playbgm MUS_INTER_V, 0
msgbox LittlerootTown_MaysHouse_1F_Text_1F7BBC, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_MaybeDadWillBeOn, MSGBOX_DEFAULT
closemessage
applymovement VAR_0x8005, LittlerootTown_MaysHouse_1F_Movement_2929BA
applymovement VAR_0x8005, PlayersHouse_1F_Movement_MomMakeRoomToSeeTVFemale
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_292AEE
applymovement EVENT_OBJ_ID_PLAYER, PlayersHouse_1F_Movement_PlayerMoveToTVFemale
waitmovement 0
call LittlerootTown_MaysHouse_1F_EventScript_29296C
call PlayersHouse_1F_EventScript_WatchGymBroadcast
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
msgbox LittlerootTown_MaysHouse_1F_Text_1F7BF1, MSGBOX_DEFAULT
msgbox LittlerootTown_MaysHouse_1F_Text_1F7C35, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_ItsOverWeMissedHim, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_GoIntroduceYourselfNextDoor, MSGBOX_DEFAULT
closemessage
setvar VAR_TEMP_1, 1
applymovement VAR_0x8005, LittlerootTown_MaysHouse_1F_Movement_2929C1
applymovement VAR_0x8005, PlayersHouse_1F_Movement_MomReturnToSeatFemale
waitmovement 0
goto LittlerootTown_MaysHouse_1F_EventScript_292866
goto PlayersHouse_1F_EventScript_SetWatchedBroadcast
end
LittlerootTown_BrendansHouse_1F_EventScript_29294B:: @ 829294B
LittlerootTown_MaysHouse_1F_EventScript_29294B:: @ 829294B
PlayersHouse_1F_EventScript_MomNoticeGymBroadcast:: @ 829294B
playse SE_PIN
applymovement VAR_0x8005, Common_Movement_ExclamationMark
waitmovement 0
applymovement VAR_0x8005, Common_Movement_Delay48
waitmovement 0
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7B96, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_OhComeQuickly, MSGBOX_DEFAULT
closemessage
return
LittlerootTown_BrendansHouse_1F_EventScript_29296C:: @ 829296C
LittlerootTown_MaysHouse_1F_EventScript_29296C:: @ 829296C
PlayersHouse_1F_EventScript_WatchGymBroadcast:: @ 829296C
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7EC6, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_ReportFromPetalburgGym, MSGBOX_DEFAULT
fadedefaultbgm
special TurnOffTVScreen
setflag FLAG_SYS_TV_HOME
delay 35
return
LittlerootTown_BrendansHouse_1F_Movement_292989: @ 8292989
PlayersHouse_1F_Movement_MomApproachDadMale: @ 8292989
walk_up
walk_right
walk_right
@@ -235,7 +228,7 @@ LittlerootTown_BrendansHouse_1F_Movement_292989: @ 8292989
walk_in_place_fastest_right
step_end
LittlerootTown_BrendansHouse_1F_Movement_292991: @ 8292991
PlayersHouse_1F_Movement_MomApproachDadFemale: @ 8292991
walk_up
walk_left
walk_left
@@ -245,15 +238,15 @@ LittlerootTown_BrendansHouse_1F_Movement_292991: @ 8292991
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_1F_Movement_292999: @ 8292999
PlayersHouse_1F_Movement_MomApproachPlayerMale: @ 8292999
walk_right
step_end
LittlerootTown_BrendansHouse_1F_Movement_29299B: @ 829299B
PlayersHouse_1F_Movement_MomApproachPlayerFemale: @ 829299B
walk_left
step_end
LittlerootTown_BrendansHouse_1F_Movement_29299D: @ 829299D
PlayersHouse_1F_Movement_MomNoticesLatiBroadcastMale: @ 829299D
walk_in_place_fastest_left
delay_16
delay_16
@@ -264,7 +257,7 @@ LittlerootTown_BrendansHouse_1F_Movement_29299D: @ 829299D
delay_16
step_end
LittlerootTown_BrendansHouse_1F_Movement_2929A6: @ 82929A6
PlayersHouse_1F_Movement_MomNoticesLatiBroadcastFemale: @ 82929A6
walk_in_place_fastest_right
delay_16
delay_16
@@ -275,70 +268,69 @@ LittlerootTown_BrendansHouse_1F_Movement_2929A6: @ 82929A6
delay_16
step_end
LittlerootTown_BrendansHouse_1F_Movement_2929AF: @ 82929AF
PlayersHouse_1F_Movement_MomApproachPlayerAfterTVMale: @ 82929AF
walk_up
walk_left
walk_left
step_end
LittlerootTown_BrendansHouse_1F_Movement_2929B3: @ 82929B3
PlayersHouse_1F_Movement_MomApproachPlayerAfterTVFemale: @ 82929B3
walk_up
walk_right
walk_right
step_end
LittlerootTown_BrendansHouse_1F_Movement_2929B7: @ 82929B7
PlayersHouse_1F_Movement_MomMakeRoomToSeeTVMale: @ 82929B7
walk_left
walk_in_place_fastest_right
step_end
LittlerootTown_MaysHouse_1F_Movement_2929BA: @ 82929BA
PlayersHouse_1F_Movement_MomMakeRoomToSeeTVFemale: @ 82929BA
walk_right
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_1F_Movement_2929BD: @ 82929BD
PlayersHouse_1F_Movement_MomReturnToSeatMale: @ 82929BD
walk_left
walk_down
walk_in_place_fastest_right
step_end
LittlerootTown_MaysHouse_1F_Movement_2929C1: @ 82929C1
PlayersHouse_1F_Movement_MomReturnToSeatFemale: @ 82929C1
walk_right
walk_down
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_1F_EventScript_2929C5:: @ 82929C5
LittlerootTown_MaysHouse_1F_EventScript_2929C5:: @ 82929C5
PlayersHouse_1F_EventScript_Mom:: @ 82929C5
lock
faceplayer
compare VAR_LITTLEROOT_HOUSES_STATE, 4
goto_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292A0F
goto_if_eq PlayersHouse_1F_EventScript_DontPushYourselfTooHard
compare VAR_LITTLEROOT_HOUSES_STATE_2, 4
goto_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292A0F
goto_if_set FLAG_HAS_MATCH_CALL, LittlerootTown_BrendansHouse_1F_EventScript_292A19
goto_if_set FLAG_RESCUED_BIRCH, LittlerootTown_BrendansHouse_1F_EventScript_292A86
goto_if_eq PlayersHouse_1F_EventScript_DontPushYourselfTooHard
goto_if_set FLAG_HAS_MATCH_CALL, PlayersHouse_1F_EventScript_TryRegisterMom
goto_if_set FLAG_RESCUED_BIRCH, PlayersHouse_1F_EventScript_MomHealsParty
compare VAR_TEMP_1, 1
goto_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292A94
goto_if_eq PlayersHouse_1F_EventScript_SeeYouHoney
compare VAR_LITTLEROOT_INTRO_STATE, 7
goto_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292AB0
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7A1C, MSGBOX_DEFAULT
goto_if_eq PlayersHouse_1F_EventScript_DidYouMeetProfBirch
msgbox PlayersHouse_1F_Text_IsntItNiceInHere, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_292A0F:: @ 8292A0F
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7DBE, MSGBOX_DEFAULT
PlayersHouse_1F_EventScript_DontPushYourselfTooHard:: @ 8292A0F
msgbox PlayersHouse_1F_Text_DontPushYourselfTooHard, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_292A19:: @ 8292A19
goto_if_set FLAG_ENABLE_MOM_MATCH_CALL, LittlerootTown_BrendansHouse_1F_EventScript_292A43
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7E0E, MSGBOX_DEFAULT
PlayersHouse_1F_EventScript_TryRegisterMom:: @ 8292A19
goto_if_set FLAG_ENABLE_MOM_MATCH_CALL, PlayersHouse_1F_EventScript_CheckGiveAmuletCoin
msgbox PlayersHouse_1F_Text_IsThatAPokenav, MSGBOX_DEFAULT
closemessage
delay 30
playfanfare MUS_ME_TORE_EYE
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7E89, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_RegisteredMom, MSGBOX_DEFAULT
waitfanfare
closemessage
delay 30
@@ -346,67 +338,65 @@ LittlerootTown_BrendansHouse_1F_EventScript_292A19:: @ 8292A19
release
end
LittlerootTown_BrendansHouse_1F_EventScript_292A43:: @ 8292A43
goto_if_set FLAG_BADGE05_GET, LittlerootTown_BrendansHouse_1F_EventScript_292A51
goto LittlerootTown_BrendansHouse_1F_EventScript_292A86
PlayersHouse_1F_EventScript_CheckGiveAmuletCoin:: @ 8292A43
goto_if_set FLAG_BADGE05_GET, PlayersHouse_1F_EventScript_TryGiveAmuletCoin
goto PlayersHouse_1F_EventScript_MomHealsParty
LittlerootTown_BrendansHouse_1F_EventScript_292A51:: @ 8292A51
goto_if_set FLAG_MOM_SAYS_GOODBYE, LittlerootTown_BrendansHouse_1F_EventScript_292A86
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7D73, MSGBOX_DEFAULT
PlayersHouse_1F_EventScript_TryGiveAmuletCoin:: @ 8292A51
goto_if_set FLAG_RECEIVED_AMULET_COIN, PlayersHouse_1F_EventScript_MomHealsParty
msgbox PlayersHouse_1F_Text_GotDadsBadgeHeresSomethingFromMom, MSGBOX_DEFAULT
giveitem_std ITEM_AMULET_COIN
compare VAR_RESULT, 0
goto_if_eq Common_EventScript_ShowBagIsFull
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7DBE, MSGBOX_DEFAULT
setflag FLAG_MOM_SAYS_GOODBYE
msgbox PlayersHouse_1F_Text_DontPushYourselfTooHard, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_AMULET_COIN
release
end
LittlerootTown_BrendansHouse_1F_EventScript_292A86:: @ 8292A86
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7D08, MSGBOX_DEFAULT
goto LittlerootTown_BrendansHouse_1F_EventScript_292A9E
PlayersHouse_1F_EventScript_MomHealsParty:: @ 8292A86
msgbox PlayersHouse_1F_Text_YouShouldRestABit, MSGBOX_DEFAULT
goto PlayersHouse_1F_EventScript_HealParty
end
LittlerootTown_BrendansHouse_1F_EventScript_292A94:: @ 8292A94
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7CC3, MSGBOX_DEFAULT
PlayersHouse_1F_EventScript_SeeYouHoney:: @ 8292A94
msgbox PlayersHouse_1F_Text_SeeYouHoney, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_292A9E:: @ 8292A9E
PlayersHouse_1F_EventScript_HealParty:: @ 8292A9E
closemessage
call Common_EventScript_OutOfCenterPartyHeal
incrementgamestat GAME_STAT_RESTED_AT_HOME
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7D5C, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_TakeCareHoney, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_292AB0:: @ 8292AB0
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7CD8, MSGBOX_DEFAULT
PlayersHouse_1F_EventScript_DidYouMeetProfBirch:: @ 8292AB0
msgbox PlayersHouse_1F_Text_DidYouMeetProfBirch, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_292ABA:: @ 8292ABA
LittlerootTown_MaysHouse_1F_EventScript_292ABA:: @ 8292ABA
PlayersHouse_1F_EventScript_Vigoroth1:: @ 8292ABA
lock
faceplayer
waitse
playmoncry SPECIES_VIGOROTH, 0
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7EA8, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_Vigoroth1, MSGBOX_DEFAULT
waitmoncry
release
end
LittlerootTown_BrendansHouse_1F_EventScript_292ACD:: @ 8292ACD
LittlerootTown_MaysHouse_1F_EventScript_292ACD:: @ 8292ACD
PlayersHouse_1F_EventScript_Vigoroth2:: @ 8292ACD
lock
faceplayer
waitse
playmoncry SPECIES_VIGOROTH, 0
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7EB3, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_Vigoroth2, MSGBOX_DEFAULT
waitmoncry
release
end
LittlerootTown_BrendansHouse_1F_Movement_292AE0: @ 8292AE0
PlayersHouse_1F_Movement_PlayerApproachTVForGymMale: @ 8292AE0
walk_down
walk_down
walk_left
@@ -414,11 +404,11 @@ LittlerootTown_BrendansHouse_1F_Movement_292AE0: @ 8292AE0
walk_left
step_end
LittlerootTown_BrendansHouse_1F_Movement_292AE6: @ 8292AE6
PlayersHouse_1F_Movement_PlayerMoveToTVMale: @ 8292AE6
walk_left
step_end
LittlerootTown_MaysHouse_1F_Movement_292AE8: @ 8292AE8
PlayersHouse_1F_Movement_PlayerApproachTVForGymFemale: @ 8292AE8
walk_down
walk_down
walk_right
@@ -426,26 +416,25 @@ LittlerootTown_MaysHouse_1F_Movement_292AE8: @ 8292AE8
walk_right
step_end
LittlerootTown_MaysHouse_1F_Movement_292AEE: @ 8292AEE
PlayersHouse_1F_Movement_PlayerMoveToTVFemale: @ 8292AEE
walk_right
step_end
LittlerootTown_BrendansHouse_1F_Movement_292AF0: @ 8292AF0
PlayersHouse_1F_Movement_MovePlayerAwayFromDoor: @ 8292AF0
walk_up
step_end
LittlerootTown_BrendansHouse_1F_EventScript_292AF2:: @ 8292AF2
LittlerootTown_MaysHouse_1F_EventScript_292AF2:: @ 8292AF2
PlayersHouse_1F_EventScript_GetSSTicketAndSeeLatiTV:: @ 8292AF2
lockall
checkplayergender
compare VAR_RESULT, MALE
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292C76
call_if_eq PlayersHouse_1F_EventScript_SetUpObjectEventVarsMale
compare VAR_RESULT, FEMALE
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292C86
compare VAR_0x8008, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292D08
compare VAR_0x8008, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292D13
call_if_eq PlayersHouse_1F_EventScript_SetUpObjectEventVarsFemale
compare VAR_0x8008, MALE
call_if_eq PlayersHouse_1F_EventScript_PlayerEnterRoomMale
compare VAR_0x8008, FEMALE
call_if_eq PlayersHouse_1F_EventScript_PlayerEnterRoomFemale
applymovement VAR_0x8009, Common_Movement_FacePlayer
waitmovement 0
playse SE_PIN
@@ -454,64 +443,64 @@ LittlerootTown_MaysHouse_1F_EventScript_292AF2:: @ 8292AF2
applymovement VAR_0x8009, Common_Movement_Delay48
waitmovement 0
delay 20
compare VAR_0x8008, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292C96
compare VAR_0x8008, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292CA1
msgbox LittlerootTown_BrendansHouse_1F_Text_1F800E, MSGBOX_DEFAULT
compare VAR_0x8008, MALE
call_if_eq PlayersHouse_1F_EventScript_DadApproachPlayerMale
compare VAR_0x8008, FEMALE
call_if_eq PlayersHouse_1F_EventScript_DadApproachPlayerFemale
msgbox PlayersHouse_1F_Text_TicketFromBrineyCameForYou, MSGBOX_DEFAULT
giveitem_std ITEM_SS_TICKET
msgbox LittlerootTown_BrendansHouse_1F_Text_1F80FE, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_PortsInSlateportLilycove, MSGBOX_DEFAULT
closemessage
delay 20
compare VAR_0x8008, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292CAC
compare VAR_0x8008, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292CC1
msgbox LittlerootTown_BrendansHouse_1F_Text_1F815B, MSGBOX_DEFAULT
compare VAR_0x8008, MALE
call_if_eq PlayersHouse_1F_EventScript_MomApproachDadMale
compare VAR_0x8008, FEMALE
call_if_eq PlayersHouse_1F_EventScript_MomApproachDadFemale
msgbox PlayersHouse_1F_Text_BetterGetBackToGym, MSGBOX_DEFAULT
closemessage
compare VAR_0x8008, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292CD6
compare VAR_0x8008, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292CEF
compare VAR_0x8008, MALE
call_if_eq PlayersHouse_1F_EventScript_DadExitsMale
compare VAR_0x8008, FEMALE
call_if_eq PlayersHouse_1F_EventScript_DadExitsFemale
playse SE_DOOR
removeobject VAR_0x8009
setflag FLAG_RECEIVED_SS_TICKET
delay 30
compare VAR_0x8008, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292D48
compare VAR_0x8008, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292D5D
compare VAR_0x8008, MALE
call_if_eq PlayersHouse_1F_EventScript_MomApproachPlayerMale
compare VAR_0x8008, FEMALE
call_if_eq PlayersHouse_1F_EventScript_MomApproachPlayerFemale
delay 20
msgbox LittlerootTown_BrendansHouse_1F_Text_1F81B9, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_DadShouldStayLonger, MSGBOX_DEFAULT
closemessage
setflag FLAG_SYS_TV_LATIAS_LATIOS
special TurnOnTVScreen
delay 60
compare VAR_0x8008, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292D72
compare VAR_0x8008, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292D7D
msgbox LittlerootTown_BrendansHouse_1F_Text_1F824B, MSGBOX_DEFAULT
compare VAR_0x8008, MALE
call_if_eq PlayersHouse_1F_EventScript_MomNoticesLatiBroadcastMale
compare VAR_0x8008, FEMALE
call_if_eq PlayersHouse_1F_EventScript_MomNoticesLatiBroadcastFemale
msgbox PlayersHouse_1F_Text_IsThatABreakingStory, MSGBOX_DEFAULT
closemessage
compare VAR_0x8008, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292D1E
compare VAR_0x8008, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292D33
msgbox LittlerootTown_BrendansHouse_1F_Text_1F826F, MSGBOX_DEFAULT
compare VAR_0x8008, MALE
call_if_eq PlayersHouse_1F_EventScript_PlayerApproachTVForLatiMale
compare VAR_0x8008, FEMALE
call_if_eq PlayersHouse_1F_EventScript_PlayerApproachTVForLatiFemale
msgbox PlayersHouse_1F_Text_LatiEmergencyNewsFlash, MSGBOX_DEFAULT
closemessage
clearflag FLAG_SYS_TV_LATIAS_LATIOS
setflag FLAG_LATIOS_OR_LATIAS_ROAMING
special TurnOffTVScreen
compare VAR_0x8008, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292D88
compare VAR_0x8008, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_292D9D
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8351, MSGBOX_DEFAULT
compare VAR_0x8008, MALE
call_if_eq PlayersHouse_1F_EventScript_MomApproachPlayerAfterTVMale
compare VAR_0x8008, FEMALE
call_if_eq PlayersHouse_1F_EventScript_MomApproachPlayerAfterTVFemale
msgbox PlayersHouse_1F_Text_WhatColorDidTheySay, MSGBOX_DEFAULT
multichoice 22, 8, MULTI_TV_LATI, 1
copyvar VAR_0x8004, VAR_RESULT
special InitRoamer
copyvar VAR_ROAMER_POKEMON, VAR_RESULT
msgbox LittlerootTown_BrendansHouse_1F_Text_1F83A1, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_StillUnknownPokemon, MSGBOX_DEFAULT
closemessage
setvar VAR_LITTLEROOT_HOUSES_STATE, 4
setvar VAR_LITTLEROOT_HOUSES_STATE_2, 4
@@ -519,155 +508,155 @@ LittlerootTown_MaysHouse_1F_EventScript_292AF2:: @ 8292AF2
end
@ Never called.
LittlerootTown_BrendansHouse_1F_EventScript_292C72:: @ 8292C72
PlayersHouse_1F_EventScript_AirLatiBroadcast:: @ 8292C72
setflag FLAG_SYS_TV_LATIAS_LATIOS
return
LittlerootTown_BrendansHouse_1F_EventScript_292C76:: @ 8292C76
setvar VAR_0x8008, 0
setvar VAR_0x8009, 5
setvar VAR_0x800A, 1
PlayersHouse_1F_EventScript_SetUpObjectEventVarsMale:: @ 8292C76
setvar VAR_0x8008, MALE
setvar VAR_0x8009, 5 @ Dad object event ID
setvar VAR_0x800A, 1 @ Mom object event ID
return
LittlerootTown_BrendansHouse_1F_EventScript_292C86:: @ 8292C86
setvar VAR_0x8008, 1
setvar VAR_0x8009, 5
setvar VAR_0x800A, 1
PlayersHouse_1F_EventScript_SetUpObjectEventVarsFemale:: @ 8292C86
setvar VAR_0x8008, FEMALE
setvar VAR_0x8009, 5 @ Dad object event ID
setvar VAR_0x800A, 1 @ Mom object event ID
return
LittlerootTown_BrendansHouse_1F_EventScript_292C96:: @ 8292C96
applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_292DB2
PlayersHouse_1F_EventScript_DadApproachPlayerMale:: @ 8292C96
applymovement VAR_0x8009, PlayersHouse_1F_Movement_DadApproachPlayerMale
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292CA1:: @ 8292CA1
applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_292DB5
PlayersHouse_1F_EventScript_DadApproachPlayerFemale:: @ 8292CA1
applymovement VAR_0x8009, PlayersHouse_1F_Movement_DadApproachPlayerFemale
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292CAC:: @ 8292CAC
applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_292989
PlayersHouse_1F_EventScript_MomApproachDadMale:: @ 8292CAC
applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomApproachDadMale
waitmovement 0
applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_292DB8
applymovement VAR_0x8009, PlayersHouse_1F_Movement_DadFaceMomMale
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292CC1:: @ 8292CC1
applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_292991
PlayersHouse_1F_EventScript_MomApproachDadFemale:: @ 8292CC1
applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomApproachDadFemale
waitmovement 0
applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_292DBA
applymovement VAR_0x8009, PlayersHouse_1F_Movement_DadFaceMomFemale
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292CD6:: @ 8292CD6
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_292DCC
applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_292DCC
applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_292DBC
PlayersHouse_1F_EventScript_DadExitsMale:: @ 8292CD6
applymovement EVENT_OBJ_ID_PLAYER, PlayersHouse_1F_Movement_MomAndPlayerWatchDadExit
applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomAndPlayerWatchDadExit
applymovement VAR_0x8009, PlayersHouse_1F_Movement_DadExitsMale
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292CEF:: @ 8292CEF
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_292DCC
applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_292DCC
applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_292DC1
PlayersHouse_1F_EventScript_DadExitsFemale:: @ 8292CEF
applymovement EVENT_OBJ_ID_PLAYER, PlayersHouse_1F_Movement_MomAndPlayerWatchDadExit
applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomAndPlayerWatchDadExit
applymovement VAR_0x8009, PlayersHouse_1F_Movement_DadExitsFemale
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292D08:: @ 8292D08
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_292DC6
PlayersHouse_1F_EventScript_PlayerEnterRoomMale:: @ 8292D08
applymovement EVENT_OBJ_ID_PLAYER, PlayersHouse_1F_Movement_PlayerEnterRoomMale
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292D13:: @ 8292D13
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_292DD1
PlayersHouse_1F_EventScript_PlayerEnterRoomFemale:: @ 8292D13
applymovement EVENT_OBJ_ID_PLAYER, PlayersHouse_1F_Movement_PlayerEnterRoomFemale
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292D1E:: @ 8292D1E
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_292DD7
PlayersHouse_1F_EventScript_PlayerApproachTVForLatiMale:: @ 8292D1E
applymovement EVENT_OBJ_ID_PLAYER, PlayersHouse_1F_Movement_PlayerApproachTVForLatiMale
waitmovement 0
applymovement VAR_0x800A, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292D33:: @ 8292D33
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_292DDE
PlayersHouse_1F_EventScript_PlayerApproachTVForLatiFemale:: @ 8292D33
applymovement EVENT_OBJ_ID_PLAYER, PlayersHouse_1F_Movement_PlayerApproachTVForLatiFemale
waitmovement 0
applymovement VAR_0x800A, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292D48:: @ 8292D48
applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_292999
PlayersHouse_1F_EventScript_MomApproachPlayerMale:: @ 8292D48
applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomApproachPlayerMale
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292D5D:: @ 8292D5D
applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_29299B
PlayersHouse_1F_EventScript_MomApproachPlayerFemale:: @ 8292D5D
applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomApproachPlayerFemale
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292D72:: @ 8292D72
applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_29299D
PlayersHouse_1F_EventScript_MomNoticesLatiBroadcastMale:: @ 8292D72
applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomNoticesLatiBroadcastMale
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292D7D:: @ 8292D7D
applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_2929A6
PlayersHouse_1F_EventScript_MomNoticesLatiBroadcastFemale:: @ 8292D7D
applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomNoticesLatiBroadcastFemale
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292D88:: @ 8292D88
applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_2929AF
PlayersHouse_1F_EventScript_MomApproachPlayerAfterTVMale:: @ 8292D88
applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomApproachPlayerAfterTVMale
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_292D9D:: @ 8292D9D
applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_2929B3
PlayersHouse_1F_EventScript_MomApproachPlayerAfterTVFemale:: @ 8292D9D
applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomApproachPlayerAfterTVFemale
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_Movement_292DB2: @ 8292DB2
PlayersHouse_1F_Movement_DadApproachPlayerMale: @ 8292DB2
walk_right
walk_right
step_end
LittlerootTown_BrendansHouse_1F_Movement_292DB5: @ 8292DB5
PlayersHouse_1F_Movement_DadApproachPlayerFemale: @ 8292DB5
walk_left
walk_left
step_end
LittlerootTown_BrendansHouse_1F_Movement_292DB8: @ 8292DB8
PlayersHouse_1F_Movement_DadFaceMomMale: @ 8292DB8
face_left
step_end
LittlerootTown_BrendansHouse_1F_Movement_292DBA: @ 8292DBA
PlayersHouse_1F_Movement_DadFaceMomFemale: @ 8292DBA
face_right
step_end
LittlerootTown_BrendansHouse_1F_Movement_292DBC: @ 8292DBC
PlayersHouse_1F_Movement_DadExitsMale: @ 8292DBC
walk_down
walk_right
walk_down
delay_8
step_end
LittlerootTown_BrendansHouse_1F_Movement_292DC1: @ 8292DC1
PlayersHouse_1F_Movement_DadExitsFemale: @ 8292DC1
walk_down
walk_left
walk_down
delay_8
step_end
LittlerootTown_BrendansHouse_1F_Movement_292DC6: @ 8292DC6
PlayersHouse_1F_Movement_PlayerEnterRoomMale: @ 8292DC6
delay_16
walk_down
walk_down
@@ -675,14 +664,14 @@ LittlerootTown_BrendansHouse_1F_Movement_292DC6: @ 8292DC6
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_1F_Movement_292DCC: @ 8292DCC
PlayersHouse_1F_Movement_MomAndPlayerWatchDadExit: @ 8292DCC
delay_8
delay_16
delay_16
walk_in_place_fastest_down
step_end
LittlerootTown_BrendansHouse_1F_Movement_292DD1: @ 8292DD1
PlayersHouse_1F_Movement_PlayerEnterRoomFemale: @ 8292DD1
delay_16
walk_down
walk_down
@@ -690,7 +679,7 @@ LittlerootTown_BrendansHouse_1F_Movement_292DD1: @ 8292DD1
walk_in_place_fastest_right
step_end
LittlerootTown_BrendansHouse_1F_Movement_292DD7: @ 8292DD7
PlayersHouse_1F_Movement_PlayerApproachTVForLatiMale: @ 8292DD7
walk_up
walk_left
walk_left
@@ -699,7 +688,7 @@ LittlerootTown_BrendansHouse_1F_Movement_292DD7: @ 8292DD7
walk_in_place_fastest_up
step_end
LittlerootTown_BrendansHouse_1F_Movement_292DDE: @ 8292DDE
PlayersHouse_1F_Movement_PlayerApproachTVForLatiFemale: @ 8292DDE
walk_up
walk_right
walk_right
@@ -709,5 +698,5 @@ LittlerootTown_BrendansHouse_1F_Movement_292DDE: @ 8292DDE
step_end
EventScript_RunningShoesManual:: @ 8292DE5
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7F66, MSGBOX_SIGN
msgbox PlayersHouse_1F_Text_RunningShoesManual, MSGBOX_SIGN
end

View File

@@ -36,12 +36,12 @@ EventScript_27EE8A:: @ 827EE8A
end
EventScript_27EE9A:: @ 827EE9A
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7F0F, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_TheresAMovieOnTV, MSGBOX_DEFAULT
releaseall
end
EventScript_27EEA4:: @ 827EEA4
msgbox LittlerootTown_BrendansHouse_1F_Text_1F826F, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_LatiEmergencyNewsFlash, MSGBOX_DEFAULT
@ This is a junk call. Its input var (VAR_0x8004) hasn't been set, and
@ It's called again when Mom actually asks for the color, overwriting
@ whatever it does here.

View File

@@ -146,7 +146,7 @@
#define FLAG_DEFEATED_RIVAL_ROUTE103 0x82
#define FLAG_RECEIVED_DOLL_LANETTE 0x83
#define FLAG_RECEIVED_POTION_OLDALE 0x84
#define FLAG_MOM_SAYS_GOODBYE 0x85
#define FLAG_RECEIVED_AMULET_COIN 0x85
#define FLAG_PENDING_DAYCARE_EGG 0x86
#define FLAG_THANKED_FOR_PLAYING_WITH_WALLY 0x87
#define FLAG_ENABLE_FIRST_WALLY_POKENAV_CALL 0x88 // Set after defeating Wally outside Mauville Gym. Will activate a call later to register Wally.
@@ -786,7 +786,7 @@
#define FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN 0x2E7
#define FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT 0x2E8
#define FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_BRENDAN 0x2E9
#define FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_BRENDAN 0x2EA
#define FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_MAY 0x2EA
#define FLAG_HIDE_SAFARI_ZONE_SOUTH_EAST_EXPANSION 0x2EB
#define FLAG_HIDE_LILYCOVE_HARBOR_EVENT_TICKET_TAKER 0x2EC
#define FLAG_HIDE_SLATEPORT_CITY_SCOTT 0x2ED

View File

@@ -380,8 +380,8 @@ extern const u8 EventScript_FldEffFlash[];
extern const u8 EventScript_FldEffRockSmash[];
//player pc
extern const u8 LittlerootTown_BrendansHouse_2F_EventScript_1F863F[];
extern const u8 LittlerootTown_MaysHouse_2F_EventScript_1F958F[];
extern const u8 LittlerootTown_BrendansHouse_2F_EventScript_TurnOffPlayerPC[];
extern const u8 LittlerootTown_MaysHouse_2F_EventScript_TurnOffPlayerPC[];
//contest_strings
extern const u8 gText_0827D507[];
@@ -517,8 +517,8 @@ extern const u8 MauvilleCity_PokemonCenter_1F_Text_HotSpringsTitle[];
extern const u8 MauvilleCity_PokemonCenter_1F_Text_HotSpringsAction[];
extern const u8 MauvilleCity_PokemonCenter_1F_Text_HotSpringsStory[];
extern const u8 EventScript_PlayerPCMale[];
extern const u8 EventScript_PlayerPCFemale[];
extern const u8 LittlerootTown_BrendansHouse_2F_EventScript_PC[];
extern const u8 LittlerootTown_MaysHouse_2F_EventScript_PC[];
extern const u8 EventScript_PC[];
extern const u8 EventScript_TestSignpostMsg[];
extern const u8 EventScript_HiddenItemScript[];

View File

@@ -223,8 +223,8 @@ static bool8 TryStartInteractionScript(struct MapPosition *position, u16 metatil
return FALSE;
// Don't play interaction sound for certain scripts.
if (script != EventScript_PlayerPCMale
&& script != EventScript_PlayerPCFemale
if (script != LittlerootTown_BrendansHouse_2F_EventScript_PC
&& script != LittlerootTown_MaysHouse_2F_EventScript_PC
&& script != SecretBase_EventScript_PC
&& script != SecretBase_EventScript_RecordMixingPC
&& script != SecretBase_EventScript_DollInteract

View File

@@ -419,12 +419,12 @@ static void PlayerPC_Decoration(u8 taskId)
static void PlayerPC_TurnOff(u8 taskId)
{
if (gPcItemMenuOptionsNum == 4) // if the option count is 4, we are at the bedroom PC and not player PC, so do gender specific handling.
if (gPcItemMenuOptionsNum == 4) // if the option count is 4, we are at the bedroom PC, so do gender specific handling.
{
if (gSaveBlock2Ptr->playerGender == MALE)
ScriptContext1_SetupScript(LittlerootTown_BrendansHouse_2F_EventScript_1F863F);
ScriptContext1_SetupScript(LittlerootTown_BrendansHouse_2F_EventScript_TurnOffPlayerPC);
else
ScriptContext1_SetupScript(LittlerootTown_MaysHouse_2F_EventScript_1F958F);
ScriptContext1_SetupScript(LittlerootTown_MaysHouse_2F_EventScript_TurnOffPlayerPC);
}
else
{