pokeemerald/data/maps/scripts/LittlerootTown_MaysHouse_1F.inc

424 lines
12 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

LittlerootTown_MaysHouse_1F_MapScripts:: @ 81F88A5
map_script 1, LittlerootTown_MaysHouse_1F_MapScript1_1F88B5
map_script 3, LittlerootTown_MaysHouse_1F_MapScript1_1F88F4
map_script 2, LittlerootTown_MaysHouse_1F_MapScript2_1F893A
.byte 0
LittlerootTown_MaysHouse_1F_MapScript1_1F88B5: @ 81F88B5
compare_var_to_value VAR_0x4092, 6
call_if 0, LittlerootTown_MaysHouse_1F_EventScript_1F88CA
checkflag FLAG_0x112
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F88DD
end
LittlerootTown_MaysHouse_1F_EventScript_1F88CA:: @ 81F88CA
setmetatile 5, 4, 624, 1
setmetatile 5, 2, 616, 1
return
LittlerootTown_MaysHouse_1F_EventScript_1F88DD:: @ 81F88DD
checkplayergender
compare_var_to_value VAR_RESULT, 1
goto_eq LittlerootTown_MaysHouse_1F_EventScript_1F88EA
return
LittlerootTown_MaysHouse_1F_EventScript_1F88EA:: @ 81F88EA
setmetatile 6, 7, 659, 1
return
LittlerootTown_MaysHouse_1F_MapScript1_1F88F4: @ 81F88F4
compare_var_to_value VAR_0x4092, 3
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F892E
compare_var_to_value VAR_0x4092, 5
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F8916
compare_var_to_value VAR_0x4092, 6
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F8922
end
LittlerootTown_MaysHouse_1F_EventScript_1F8916:: @ 81F8916
setobjectxyperm 1, 2, 4
setobjectmovementtype 1, 7
return
LittlerootTown_MaysHouse_1F_EventScript_1F8922:: @ 81F8922
setobjectxyperm 1, 6, 5
setobjectmovementtype 1, 7
return
LittlerootTown_MaysHouse_1F_EventScript_1F892E:: @ 81F892E
setobjectxyperm 1, 1, 8
setobjectmovementtype 1, 7
return
LittlerootTown_MaysHouse_1F_MapScript2_1F893A: @ 81F893A
map_script_2 VAR_0x4092, 3, LittlerootTown_MaysHouse_1F_EventScript_1F898C
map_script_2 VAR_0x4092, 5, LittlerootTown_MaysHouse_1F_EventScript_1F8964
map_script_2 VAR_0x4092, 6, LittlerootTown_MaysHouse_1F_EventScript_1F899D
map_script_2 VAR_0x408C, 1, LittlerootTown_MaysHouse_1F_EventScript_1F89AE
map_script_2 VAR_0x4082, 3, LittlerootTown_MaysHouse_1F_EventScript_292AF2
.2byte 0
LittlerootTown_MaysHouse_1F_EventScript_1F8964:: @ 81F8964
lockall
msgbox LittlerootTown_MaysHouse_1F_Text_1F7B67, 4
closemessage
applymovement 255, LittlerootTown_MaysHouse_1F_Movement_1F898A
applymovement 1, LittlerootTown_MaysHouse_1F_Movement_1F898A
waitmovement 0
warp LITTLEROOT_TOWN_MAYS_HOUSE_2F, 255, 1, 1
waitstate
releaseall
end
LittlerootTown_MaysHouse_1F_Movement_1F898A: @ 81F898A
step_up
step_end
LittlerootTown_MaysHouse_1F_EventScript_1F898C:: @ 81F898C
lockall
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
goto LittlerootTown_MaysHouse_1F_EventScript_292704
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
lockall
playse SE_PIN
applymovement 4, LittlerootTown_MaysHouse_1F_Movement_272598
waitmovement 0
applymovement 4, LittlerootTown_MaysHouse_1F_Movement_27259A
waitmovement 0
applymovement 255, LittlerootTown_MaysHouse_1F_Movement_2725A8
applymovement 4, LittlerootTown_MaysHouse_1F_Movement_1F89EC
waitmovement 0
special sub_8138B48
msgbox LittlerootTown_MaysHouse_1F_Text_1F8BC5, 4
setflag FLAG_0x057
setvar VAR_0x408C, 2
releaseall
end
LittlerootTown_MaysHouse_1F_Movement_1F89EC: @ 81F89EC
step_down
step_left
step_left
step_left
step_left
step_left
step_end
LittlerootTown_BrendansHouse_1F_EventScript_1F89F3:: @ 81F89F3
LittlerootTown_MaysHouse_1F_EventScript_1F89F3:: @ 81F89F3
lock
faceplayer
checkflag FLAG_0x082
goto_eq LittlerootTown_BrendansHouse_1F_EventScript_1F8A33
checkflag FLAG_SYS_POKEMON_GET
goto_eq LittlerootTown_BrendansHouse_1F_EventScript_1F8A29
compare_var_to_value VAR_0x408D, 3
goto_eq LittlerootTown_BrendansHouse_1F_EventScript_1F8A1F
special sub_8138B48
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8CA5, 4
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1F8A1F:: @ 81F8A1F
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8D37, 4
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1F8A29:: @ 81F8A29
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8D93, 4
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1F8A33:: @ 81F8A33
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8E01, 4
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1F8A3D:: @ 81F8A3D
LittlerootTown_MaysHouse_1F_EventScript_1F8A3D:: @ 81F8A3D
lock
faceplayer
special sub_8138B10
msgbox LittlerootTown_BrendansHouse_1F_Text_1F9262, 4
release
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A4C:: @ 81F8A4C
lockall
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
applymovement VAR_0x8004, LittlerootTown_MaysHouse_1F_Movement_2725A8
waitmovement 0
goto LittlerootTown_MaysHouse_1F_EventScript_292765
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A67:: @ 81F8A67
lockall
setvar VAR_0x8008, 0
goto LittlerootTown_MaysHouse_1F_EventScript_1F8A8B
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A73:: @ 81F8A73
lockall
setvar VAR_0x8008, 1
goto LittlerootTown_MaysHouse_1F_EventScript_1F8A8B
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A7F:: @ 81F8A7F
lockall
setvar VAR_0x8008, 2
goto LittlerootTown_MaysHouse_1F_EventScript_1F8A8B
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A8B:: @ 81F8A8B
playse SE_KAIDAN
delay 10
addobject 7
delay 30
playse SE_PIN
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_272598
waitmovement 0
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_27259A
waitmovement 0
compare_var_to_value VAR_0x8008, 1
call_if 5, LittlerootTown_MaysHouse_1F_EventScript_1F8B2A
playbgm BGM_GIRL_SUP, 1
compare_var_to_value VAR_0x8008, 0
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F8B35
compare_var_to_value VAR_0x8008, 1
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F8B40
compare_var_to_value VAR_0x8008, 2
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F8B4B
msgbox LittlerootTown_MaysHouse_1F_Text_1F8EC6, 4
closemessage
compare_var_to_value VAR_0x8008, 0
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F8B6A
compare_var_to_value VAR_0x8008, 1
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F8B7C
compare_var_to_value VAR_0x8008, 2
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F8B8E
playse SE_KAIDAN
removeobject 7
setflag FLAG_0x2EA
setflag FLAG_0x332
clearflag FLAG_0x2D2
delay 30
setvar VAR_0x408D, 3
setvar VAR_0x4050, 1
savebgm SE_STOP
fadedefaultbgm
releaseall
end
LittlerootTown_MaysHouse_1F_EventScript_1F8B2A:: @ 81F8B2A
applymovement 255, LittlerootTown_MaysHouse_1F_Movement_2725AA
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B35:: @ 81F8B35
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8B56
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B40:: @ 81F8B40
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8B5E
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B4B:: @ 81F8B4B
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8B62
waitmovement 0
return
LittlerootTown_MaysHouse_1F_Movement_1F8B56: @ 81F8B56
step_27
step_left
step_26
step_up
step_up
step_up
step_up
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8B5E: @ 81F8B5E
step_up
step_up
step_up
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8B62: @ 81F8B62
step_28
step_right
step_26
step_up
step_up
step_up
step_up
step_end
LittlerootTown_MaysHouse_1F_EventScript_1F8B6A:: @ 81F8B6A
applymovement 255, LittlerootTown_MaysHouse_1F_Movement_1F8BA0
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8BAF
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B7C:: @ 81F8B7C
applymovement 255, LittlerootTown_MaysHouse_1F_Movement_1F8BA4
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8BB5
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B8E:: @ 81F8B8E
applymovement 255, LittlerootTown_MaysHouse_1F_Movement_1F8BAB
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8BBF
waitmovement 0
return
LittlerootTown_MaysHouse_1F_Movement_1F8BA0: @ 81F8BA0
step_14
step_13
step_28
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BA4: @ 81F8BA4
step_14
step_13
step_28
step_14
step_14
step_26
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BAB: @ 81F8BAB
step_14
step_13
step_27
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BAF: @ 81F8BAF
step_28
step_right
step_26
step_up
step_up
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BB5: @ 81F8BB5
step_28
step_right
step_26
step_up
step_up
step_27
step_left
step_26
step_up
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BBF: @ 81F8BBF
step_27
step_left
step_26
step_up
step_up
step_end
LittlerootTown_BrendansHouse_1F_Text_1F8BC5: @ 81F8BC5
LittlerootTown_MaysHouse_1F_Text_1F8BC5: @ 81F8BC5
.string "Oh, hello. And you are?\p"
.string "… … … … … … … … …\n"
.string "… … … … … … … … …\p"
.string "Oh, youre {PLAYER}{KUN}, our new next-door\n"
.string "neighbor! Hi!\p"
.string "We have a {STR_VAR_1} about the same\n"
.string "age as you.\p"
.string "Our {STR_VAR_1} was excited about making\n"
.string "a new friend.\p"
.string "Our {STR_VAR_1} is upstairs, I think.$"
LittlerootTown_BrendansHouse_1F_Text_1F8CA5: @ 81F8CA5
.string "Like child, like father.\p"
.string "My husband is as wild about POKéMON\n"
.string "as our child.\p"
.string "If hes not at his LAB, hes likely\n"
.string "scrabbling about in grassy places.$"
LittlerootTown_BrendansHouse_1F_Text_1F8D37: @ 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
.string "Oh, {RIVAL} went out to ROUTE 103\n"
.string "just a little while ago.\p"
.string "Like father, like child.\n"
.string "{RIVAL} cant stay quietly at home.$"
LittlerootTown_BrendansHouse_1F_Text_1F8E01: @ 81F8E01
.string "I think its wonderful for people to\n"
.string "travel with POKéMON.\p"
.string "But you should go home every so often\n"
.string "to let your mother know youre okay.\p"
.string "She might not say it, but Im sure she\n"
.string "worries about you, {PLAYER}{KUN}.$"
LittlerootTown_MaysHouse_1F_Text_1F8EC6: @ 81F8EC6
.string "Huh?\n"
.string "Who… Who are you?\p"
.string "… … … … … … … …\n"
.string "… … … … … … … …\p"
.string "Oh, youre {PLAYER}{KUN}.\n"
.string "So your move was today.\p"
.string "Um… Im MAY.\n"
.string "Glad to meet you!\p"
.string "I…\n"
.string "I have this dream of becoming friends\l"
.string "with POKéMON all over the world.\p"
.string "I… I heard about you, {PLAYER}{KUN}, from\n"
.string "my dad, PROF. BIRCH.\p"
.string "I was hoping that you would be nice,\n"
.string "{PLAYER}{KUN}, and that we could be friends.\p"
.string "Oh, this is silly, isnt it?\n"
.string "I… Ive just met you, {PLAYER}{KUN}.\p"
.string "Eheheh…\p"
.string "Oh, no! I forgot!\p"
.string "I was supposed to go help Dad catch\n"
.string "some wild POKéMON!\p"
.string "{PLAYER}{KUN}, Ill catch you later!$"
LittlerootTown_BrendansHouse_1F_Text_1F90B4: @ 81F90B4
.string "Hey!\n"
.string "You…\p"
.string "Who are you?\p"
.string "Oh, youre {PLAYER}, arent you?\n"
.string "Moved in next door, right?\p"
.string "I didnt know that youre a girl.\p"
.string "Dad, PROF. BIRCH, said that our new\n"
.string "next-door neighbor is a GYM LEADERs\l"
.string "kid, so I assumed youd be a guy.\p"
.string "My names BRENDAN.\n"
.string "So, hi, neighbor!\p"
.string "Huh? Hey, {PLAYER}, dont you have\n"
.string "a POKéMON?\p"
.string "Do you want me to go catch you one?\p"
.string "Aw, darn, I forgot…\p"
.string "Im supposed to go help my dad catch\n"
.string "some wild POKéMON.\p"
.string "Some other time, okay?$"
LittlerootTown_BrendansHouse_1F_Text_1F9262: @ 81F9262
.string "Hi, neighbor!\p"
.string "Do you already have your\n"
.string "own POKéMON?$"