2017-11-10 02:21:31 +01:00
|
|
|
LittlerootTown_BrendansHouse_2F_MapScripts:: @ 81F83E3
|
|
|
|
map_script 3, LittlerootTown_BrendansHouse_2F_MapScript1_1F83EE
|
|
|
|
map_script 4, LittlerootTown_BrendansHouse_2F_MapScript2_1F846A
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_MapScript1_1F83EE: @ 81F83EE
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x408D, 2
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 0, LittlerootTown_BrendansHouse_2F_EventScript_1F8457
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x408D, 3
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 4, LittlerootTown_BrendansHouse_2F_EventScript_1F841A
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x4092, 4
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, LittlerootTown_BrendansHouse_2F_EventScript_2926FE
|
|
|
|
call LittlerootTown_BrendansHouse_2F_EventScript_275CE1
|
|
|
|
setvar VAR_0x4089, 0
|
|
|
|
end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F841A:: @ 81F841A
|
|
|
|
checkflag FLAG_0x124
|
|
|
|
goto_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8433
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x4084, 2
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_if 4, LittlerootTown_BrendansHouse_2F_EventScript_1F8456
|
|
|
|
goto LittlerootTown_BrendansHouse_2F_EventScript_1F8433
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F8433:: @ 81F8433
|
|
|
|
checkplayergender
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8456
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x40D3, 2
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_if 4, LittlerootTown_BrendansHouse_2F_EventScript_1F9309
|
|
|
|
setobjectxyperm 1, 0, 2
|
|
|
|
setobjectmovementtype 1, 7
|
|
|
|
return
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F8456:: @ 81F8456
|
|
|
|
return
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F8457:: @ 81F8457
|
|
|
|
checkplayergender
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8464
|
|
|
|
return
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F8464:: @ 81F8464
|
|
|
|
setvar VAR_0x408D, 2
|
|
|
|
return
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_MapScript2_1F846A: @ 81F846A
|
|
|
|
map_script_2 VAR_0x4089, 0, LittlerootTown_BrendansHouse_2F_EventScript_1F8474
|
|
|
|
.2byte 0
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F8474:: @ 81F8474
|
|
|
|
checkplayergender
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2017-11-11 01:12:18 +01:00
|
|
|
goto_eq EventScript_275D0C
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F8481:: @ 81F8481
|
|
|
|
lockall
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x408D, 2
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8497
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LittlerootTown_BrendansHouse_2F_Text_1F9991, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F8497:: @ 81F8497
|
|
|
|
delay 10
|
|
|
|
addobject 1
|
|
|
|
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85BC
|
|
|
|
waitmovement 0
|
|
|
|
playse SE_PIN
|
|
|
|
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_272598
|
|
|
|
waitmovement 0
|
|
|
|
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_27259A
|
|
|
|
waitmovement 0
|
|
|
|
delay 10
|
2017-12-22 08:46:19 +01:00
|
|
|
playbgm MUS_BOY_SUP, 1
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_FACING, 2
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, LittlerootTown_BrendansHouse_2F_EventScript_1F8507
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_FACING, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, LittlerootTown_BrendansHouse_2F_EventScript_1F8536
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_FACING, 3
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, LittlerootTown_BrendansHouse_2F_EventScript_1F8565
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_FACING, 4
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, LittlerootTown_BrendansHouse_2F_EventScript_1F8594
|
|
|
|
setvar VAR_0x408D, 3
|
2018-10-18 21:28:59 +02:00
|
|
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_POKE_BALL
|
|
|
|
clearflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x4050, 1
|
2017-12-22 08:46:19 +01:00
|
|
|
savebgm MUS_DUMMY
|
2017-11-10 02:21:31 +01:00
|
|
|
fadedefaultbgm
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F8507:: @ 81F8507
|
|
|
|
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85C0
|
|
|
|
waitmovement 0
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_2725A8
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LittlerootTown_BrendansHouse_2F_Text_1F97B4, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_1F85CF
|
2017-11-10 02:21:31 +01:00
|
|
|
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85C6
|
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F8536:: @ 81F8536
|
|
|
|
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85D7
|
|
|
|
waitmovement 0
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_2725A8
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LittlerootTown_BrendansHouse_2F_Text_1F97B4, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_1F85E2
|
2017-11-10 02:21:31 +01:00
|
|
|
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85DB
|
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F8565:: @ 81F8565
|
|
|
|
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85E8
|
|
|
|
waitmovement 0
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_2725A8
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LittlerootTown_BrendansHouse_2F_Text_1F97B4, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_1F85F6
|
2017-11-10 02:21:31 +01:00
|
|
|
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85ED
|
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F8594:: @ 81F8594
|
|
|
|
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85FD
|
|
|
|
waitmovement 0
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_2725A6
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LittlerootTown_BrendansHouse_2F_Text_1F97B4, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
|
|
|
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F8604
|
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Movement_1F85BC: @ 81F85BC
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Movement_1F85C0: @ 81F85C0
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Movement_1F85C6: @ 81F85C6
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Movement_1F85CF: @ 81F85CF
|
2018-06-14 01:19:19 +02:00
|
|
|
delay_16
|
|
|
|
walk_in_place_fastest_up
|
|
|
|
delay_16
|
|
|
|
delay_16
|
|
|
|
delay_16
|
|
|
|
delay_16
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Movement_1F85D7: @ 81F85D7
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Movement_1F85DB: @ 81F85DB
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Movement_1F85E2: @ 81F85E2
|
2018-06-14 01:19:19 +02:00
|
|
|
delay_16
|
|
|
|
walk_in_place_fastest_up
|
|
|
|
delay_16
|
|
|
|
delay_16
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Movement_1F85E8: @ 81F85E8
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_down
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Movement_1F85ED: @ 81F85ED
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Movement_1F85F6: @ 81F85F6
|
2018-06-14 01:19:19 +02:00
|
|
|
delay_8
|
|
|
|
delay_16
|
|
|
|
walk_in_place_fastest_up
|
|
|
|
delay_16
|
|
|
|
delay_16
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Movement_1F85FD: @ 81F85FD
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Movement_1F8604: @ 81F8604
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2017-11-10 08:36:41 +01:00
|
|
|
LittlerootTown_BrendansHouse_2F_Movement_1F8609: @ 81F8609
|
2018-06-14 01:19:19 +02:00
|
|
|
delay_16
|
|
|
|
delay_16
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 08:36:41 +01:00
|
|
|
step_end
|
|
|
|
|
2018-10-17 04:47:08 +02:00
|
|
|
EventScript_PlayerPCMale:: @ 81F860D
|
2017-11-10 08:36:41 +01:00
|
|
|
lockall
|
|
|
|
checkplayergender
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2017-11-10 08:36:41 +01:00
|
|
|
goto_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8626
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2017-11-10 08:36:41 +01:00
|
|
|
goto_eq LittlerootTown_BrendansHouse_2F_EventScript_1F864C
|
|
|
|
end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F8626:: @ 81F8626
|
|
|
|
setvar VAR_0x8004, 1
|
2017-12-28 09:09:11 +01:00
|
|
|
special DoPCTurnOnEffect
|
2017-11-10 08:36:41 +01:00
|
|
|
playse SE_PC_ON
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox gUnknown_08272D87, MSGBOX_DEFAULT
|
2018-03-12 09:26:20 +01:00
|
|
|
special BedroomPC
|
2017-11-10 08:36:41 +01:00
|
|
|
waitstate
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2017-11-10 09:24:21 +01:00
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F863F:: @ 81F863F
|
|
|
|
setvar VAR_0x8004, 1
|
|
|
|
playse SE_PC_OFF
|
2017-12-28 09:09:11 +01:00
|
|
|
special DoPCTurnOffEffect
|
2017-11-10 09:24:21 +01:00
|
|
|
releaseall
|
|
|
|
end
|
2017-11-10 08:36:41 +01:00
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F864C:: @ 81F864C
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox gUnknown_08272CD5, MSGBOX_DEFAULT
|
2017-11-10 08:36:41 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F8656:: @ 81F8656
|
|
|
|
LittlerootTown_MaysHouse_2F_EventScript_1F8656:: @ 81F8656
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LittlerootTown_BrendansHouse_2F_Text_1F877F, MSGBOX_SIGN
|
2017-11-10 08:36:41 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_EventScript_1F865F:: @ 81F865F
|
|
|
|
LittlerootTown_MaysHouse_2F_EventScript_1F865F:: @ 81F865F
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LittlerootTown_BrendansHouse_2F_Text_1F884F, MSGBOX_SIGN
|
2017-11-10 08:36:41 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Text_1F8668: @ 81F8668
|
|
|
|
.string "The clock is stopped…\p"
|
|
|
|
.string "Better set it and start it!$"
|
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Text_1F869A: @ 81F869A
|
|
|
|
.string "MOM: {PLAYER}, how do you like your\n"
|
|
|
|
.string "new room?\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Good! Everything's put away neatly!\p"
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "They finished moving everything in\n"
|
|
|
|
.string "downstairs, too.\p"
|
|
|
|
.string "POKéMON movers are so convenient!\p"
|
|
|
|
.string "Oh, you should make sure that\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "everything's all there on your desk.$"
|
2017-11-10 08:36:41 +01:00
|
|
|
|
|
|
|
LittlerootTown_BrendansHouse_2F_Text_1F877F: @ 81F877F
|
|
|
|
.string "{PLAYER} flipped open the notebook.\p"
|
|
|
|
.string "ADVENTURE RULE NO. 1\n"
|
|
|
|
.string "Open the MENU with START.\p"
|
|
|
|
.string "ADVENTURE RULE NO. 2\n"
|
|
|
|
.string "Record your progress with SAVE.\p"
|
|
|
|
.string "The remaining pages are blank…$"
|
|
|
|
|
2017-11-10 09:24:21 +01:00
|
|
|
LittlerootTown_BrendansHouse_2F_Text_1F8820: @ 81F8820
|
|
|
|
.string "{PLAYER} took a closer look at the\n"
|
|
|
|
.string "HOENN region map.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2017-11-10 08:36:41 +01:00
|
|
|
LittlerootTown_BrendansHouse_2F_Text_1F884F: @ 81F884F
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "It's a Nintendo GameCube.\p"
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "A Game Boy Advance is connected to\n"
|
|
|
|
.string "serve as the Controller.$"
|