mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-09 21:25:42 -05:00
50 lines
1.4 KiB
C++
50 lines
1.4 KiB
C++
.set LOCALID_CAPTAIN, 1
|
|
|
|
SSAnne_CaptainsOffice_MapScripts::
|
|
.byte 0
|
|
|
|
SSAnne_CaptainsOffice_EventScript_Captain::
|
|
lock
|
|
goto_if_set FLAG_GOT_HM01, SSAnne_CaptainsOffice_EventScript_AlreadyGotCut
|
|
msgbox SSAnne_CaptainsOffice_Text_CaptainIFeelSeasick
|
|
textcolor NPC_TEXT_COLOR_NEUTRAL
|
|
message SSAnne_CaptainsOffice_Text_RubbedCaptainsBack
|
|
waitmessage
|
|
playfanfare MUS_HEAL
|
|
waitfanfare
|
|
call EventScript_RestorePrevTextColor
|
|
delay 50
|
|
applymovement LOCALID_CAPTAIN, Common_Movement_FacePlayer
|
|
waitmovement 0
|
|
msgbox SSAnne_CaptainsOffice_Text_ThankYouHaveHMForCut
|
|
giveitem_msg SSAnne_CaptainsOffice_Text_ObtainedHM01FromCaptain, ITEM_HM01, 1, MUS_OBTAIN_KEY_ITEM
|
|
msgbox SSAnne_CaptainsOffice_Text_ExplainCut
|
|
setflag FLAG_GOT_HM01
|
|
setvar VAR_MAP_SCENE_VERMILION_CITY, 1
|
|
release
|
|
end
|
|
|
|
@ Unused
|
|
SSAnne_CaptainsOffice_EventScript_NoRoomForCut::
|
|
msgbox SSAnne_CaptainsOffice_Text_YouHaveNoRoomForThis
|
|
closemessage
|
|
applymovement LOCALID_CAPTAIN, Common_Movement_FaceOriginalDirection
|
|
waitmovement 0
|
|
release
|
|
end
|
|
|
|
SSAnne_CaptainsOffice_EventScript_AlreadyGotCut::
|
|
applymovement LOCALID_CAPTAIN, Common_Movement_FacePlayer
|
|
waitmovement 0
|
|
msgbox SSAnne_CaptainsOffice_Text_SSAnneWillSetSailSoon
|
|
release
|
|
end
|
|
|
|
SSAnne_CaptainsOffice_EventScript_TrashCan::
|
|
msgbox SSAnne_CaptainsOffice_Text_YuckShouldntHaveLooked, MSGBOX_SIGN
|
|
end
|
|
|
|
SSAnne_CaptainsOffice_EventScript_Book::
|
|
msgbox SSAnne_CaptainsOffice_Text_HowToConquerSeasickness, MSGBOX_SIGN
|
|
end
|