mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-28 12:44:18 +01:00
424 lines
12 KiB
PHP
424 lines
12 KiB
PHP
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_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_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_0x4092, 3
|
||
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F892E
|
||
compare VAR_0x4092, 5
|
||
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F8916
|
||
compare 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 MAP_LITTLEROOT_TOWN_MAYS_HOUSE_2F, 255, 1, 1
|
||
waitstate
|
||
releaseall
|
||
end
|
||
|
||
LittlerootTown_MaysHouse_1F_Movement_1F898A: @ 81F898A
|
||
walk_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 GetRivalSonDaughterString
|
||
msgbox LittlerootTown_MaysHouse_1F_Text_1F8BC5, 4
|
||
setflag FLAG_0x057
|
||
setvar VAR_0x408C, 2
|
||
releaseall
|
||
end
|
||
|
||
LittlerootTown_MaysHouse_1F_Movement_1F89EC: @ 81F89EC
|
||
walk_down
|
||
walk_left
|
||
walk_left
|
||
walk_left
|
||
walk_left
|
||
walk_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_0x408D, 3
|
||
goto_eq LittlerootTown_BrendansHouse_1F_EventScript_1F8A1F
|
||
special GetRivalSonDaughterString
|
||
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 GetPlayerBigGuyGirlString
|
||
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_0x8008, 1
|
||
call_if 5, LittlerootTown_MaysHouse_1F_EventScript_1F8B2A
|
||
playbgm MUS_GIRL_SUP, 1
|
||
compare VAR_0x8008, 0
|
||
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F8B35
|
||
compare VAR_0x8008, 1
|
||
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F8B40
|
||
compare VAR_0x8008, 2
|
||
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F8B4B
|
||
msgbox LittlerootTown_MaysHouse_1F_Text_1F8EC6, 4
|
||
closemessage
|
||
compare VAR_0x8008, 0
|
||
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F8B6A
|
||
compare VAR_0x8008, 1
|
||
call_if 1, LittlerootTown_MaysHouse_1F_EventScript_1F8B7C
|
||
compare 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 MUS_DUMMY
|
||
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
|
||
walk_in_place_fastest_left
|
||
walk_left
|
||
walk_in_place_fastest_up
|
||
walk_up
|
||
walk_up
|
||
walk_up
|
||
walk_up
|
||
step_end
|
||
|
||
LittlerootTown_MaysHouse_1F_Movement_1F8B5E: @ 81F8B5E
|
||
walk_up
|
||
walk_up
|
||
walk_up
|
||
step_end
|
||
|
||
LittlerootTown_MaysHouse_1F_Movement_1F8B62: @ 81F8B62
|
||
walk_in_place_fastest_right
|
||
walk_right
|
||
walk_in_place_fastest_up
|
||
walk_up
|
||
walk_up
|
||
walk_up
|
||
walk_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
|
||
delay_16
|
||
delay_8
|
||
walk_in_place_fastest_right
|
||
step_end
|
||
|
||
LittlerootTown_MaysHouse_1F_Movement_1F8BA4: @ 81F8BA4
|
||
delay_16
|
||
delay_8
|
||
walk_in_place_fastest_right
|
||
delay_16
|
||
delay_16
|
||
walk_in_place_fastest_up
|
||
step_end
|
||
|
||
LittlerootTown_MaysHouse_1F_Movement_1F8BAB: @ 81F8BAB
|
||
delay_16
|
||
delay_8
|
||
walk_in_place_fastest_left
|
||
step_end
|
||
|
||
LittlerootTown_MaysHouse_1F_Movement_1F8BAF: @ 81F8BAF
|
||
walk_in_place_fastest_right
|
||
walk_right
|
||
walk_in_place_fastest_up
|
||
walk_up
|
||
walk_up
|
||
step_end
|
||
|
||
LittlerootTown_MaysHouse_1F_Movement_1F8BB5: @ 81F8BB5
|
||
walk_in_place_fastest_right
|
||
walk_right
|
||
walk_in_place_fastest_up
|
||
walk_up
|
||
walk_up
|
||
walk_in_place_fastest_left
|
||
walk_left
|
||
walk_in_place_fastest_up
|
||
walk_up
|
||
step_end
|
||
|
||
LittlerootTown_MaysHouse_1F_Movement_1F8BBF: @ 81F8BBF
|
||
walk_in_place_fastest_left
|
||
walk_left
|
||
walk_in_place_fastest_up
|
||
walk_up
|
||
walk_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, you’re {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 he’s not at his LAB, he’s 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} can’t stay quietly at home.$"
|
||
|
||
LittlerootTown_BrendansHouse_1F_Text_1F8E01: @ 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"
|
||
.string "to let your mother know you’re okay.\p"
|
||
.string "She might not say it, but I’m 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, you’re {PLAYER}{KUN}.\n"
|
||
.string "So your move was today.\p"
|
||
.string "Um… I’m 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, isn’t it?\n"
|
||
.string "I… I’ve 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}, I’ll catch you later!$"
|
||
|
||
LittlerootTown_BrendansHouse_1F_Text_1F90B4: @ 81F90B4
|
||
.string "Hey!\n"
|
||
.string "You…\p"
|
||
.string "Who are you?\p"
|
||
.string "Oh, you’re {PLAYER}, aren’t you?\n"
|
||
.string "Moved in next door, right?\p"
|
||
.string "I didn’t know that you’re a girl.\p"
|
||
.string "Dad, PROF. BIRCH, said that our new\n"
|
||
.string "next-door neighbor is a GYM LEADER’s\l"
|
||
.string "kid, so I assumed you’d be a guy.\p"
|
||
.string "My name’s BRENDAN.\n"
|
||
.string "So, hi, neighbor!\p"
|
||
.string "Huh? Hey, {PLAYER}, don’t 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 "I’m 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?$"
|