pokefirered/data/maps/Route16_House/scripts.inc
2022-08-09 20:41:54 -04:00

36 lines
814 B
PHP

Route16_House_MapScripts::
.byte 0
Route16_House_EventScript_Woman::
lock
faceplayer
goto_if_set FLAG_GOT_HM02, Route16_House_EventScript_AlreadyGotHM02
msgbox Route16_House_Text_FoundMySecretRetreat
checkitemspace ITEM_HM02
goto_if_eq VAR_RESULT, FALSE, Route16_House_EventScript_NoRoomForHM02
giveitem_msg Route16_House_Text_ReceivedHM02FromGirl, ITEM_HM02
msgbox Route16_House_Text_ExplainHM02
setflag FLAG_GOT_HM02
release
end
Route16_House_EventScript_NoRoomForHM02::
msgbox Route16_House_Text_DontHaveAnyRoomForThis
release
end
Route16_House_EventScript_AlreadyGotHM02::
msgbox Route16_House_Text_ExplainHM02
release
end
Route16_House_EventScript_Fearow::
lock
faceplayer
waitse
playmoncry SPECIES_FEAROW, CRY_MODE_NORMAL
msgbox Route16_House_Text_Fearow
waitmoncry
release
end