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

26 lines
744 B
PHP

SafariZone_SecretHouse_MapScripts::
.byte 0
SafariZone_SecretHouse_EventScript_Attendant::
lock
faceplayer
goto_if_set FLAG_GOT_HM03, SafariZone_SecretHouse_EventScript_ExplainSurf
msgbox SafariZone_SecretHouse_Text_CongratsYouveWon
checkitemspace ITEM_HM03
goto_if_eq VAR_RESULT, FALSE, SafariZone_SecretHouse_EventScript_NoRoomForHM03
giveitem_msg SafariZone_SecretHouse_Text_ReceivedHM03FromAttendant, ITEM_HM03
msgbox SafariZone_SecretHouse_Text_ExplainSurf
setflag FLAG_GOT_HM03
release
end
SafariZone_SecretHouse_EventScript_NoRoomForHM03::
msgbox SafariZone_SecretHouse_Text_DontHaveRoomForPrize
release
end
SafariZone_SecretHouse_EventScript_ExplainSurf::
msgbox SafariZone_SecretHouse_Text_ExplainSurf
release
end