mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-09 12:35:23 -05:00
36 lines
814 B
PHP
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
|