mirror of
https://github.com/pret/pokefirered.git
synced 2026-06-02 22:04:27 -05:00
62 lines
2.0 KiB
PHP
62 lines
2.0 KiB
PHP
.equ LOCALID_MOM, 1
|
|
|
|
PalletTown_PlayersHouse_1F_MapScripts:: @ 8168C08
|
|
.byte 0
|
|
|
|
PalletTown_PlayersHouse_1F_EventScript_Mom:: @ 8168C09
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_BEAT_RIVAL_IN_OAKS_LAB, PalletTown_PlayersHouse_1F_EventScript_MomHeal
|
|
checkplayergender
|
|
compare VAR_RESULT, MALE
|
|
call_if_eq PalletTown_PlayersHouse_1F_EventScript_MomOakLookingForYouMale
|
|
compare VAR_RESULT, FEMALE
|
|
call_if_eq PalletTown_PlayersHouse_1F_EventScript_MomOakLookingForYouFemale
|
|
closemessage
|
|
applymovement LOCALID_MOM, Movement_FaceOriginalDirection
|
|
waitmovement 0
|
|
release
|
|
end
|
|
|
|
PalletTown_PlayersHouse_1F_EventScript_MomOakLookingForYouMale:: @ 8168C38
|
|
msgbox PalletTown_PlayersHouse_1F_Text_AllBoysLeaveOakLookingForYou
|
|
return
|
|
|
|
PalletTown_PlayersHouse_1F_EventScript_MomOakLookingForYouFemale:: @ 8168C41
|
|
msgbox PalletTown_PlayersHouse_1F_Text_AllGirlsLeaveOakLookingForYou
|
|
return
|
|
|
|
PalletTown_PlayersHouse_1F_EventScript_MomHeal:: @ 8168C4A
|
|
msgbox PalletTown_PlayersHouse_1F_Text_YouShouldTakeQuickRest
|
|
closemessage
|
|
call EventScript_OutOfCenterPartyHeal
|
|
msgbox PalletTown_PlayersHouse_1F_Text_LookingGreatTakeCare
|
|
release
|
|
end
|
|
|
|
@ Displays special text if interacted with from side or back (which are normally inaccessible)
|
|
PalletTown_PlayersHouse_1F_EventScript_TV:: @ 8168C62
|
|
lockall
|
|
compare VAR_FACING, DIR_NORTH
|
|
goto_if_eq PalletTown_PlayersHouse_1F_EventScript_TVScreen
|
|
msgbox PalletTown_PlayersHouse_1F_Text_OopsWrongSide
|
|
releaseall
|
|
end
|
|
|
|
PalletTown_PlayersHouse_1F_EventScript_TVScreen:: @ 8168C78
|
|
checkplayergender
|
|
compare VAR_RESULT, MALE
|
|
call_if_eq PalletTown_PlayersHouse_1F_EventScript_TVScreenMale
|
|
compare VAR_RESULT, FEMALE
|
|
call_if_eq PalletTown_PlayersHouse_1F_EventScript_TVScreenFemale
|
|
releaseall
|
|
end
|
|
|
|
PalletTown_PlayersHouse_1F_EventScript_TVScreenMale:: @ 8168C91
|
|
msgbox PalletTown_PlayersHouse_1F_Text_MovieOnTVFourBoysOnRailroad
|
|
return
|
|
|
|
PalletTown_PlayersHouse_1F_EventScript_TVScreenFemale:: @ 8168C9A
|
|
msgbox PalletTown_PlayersHouse_1F_Text_MovieOnTVGirlOnBrickRoad
|
|
return
|