pokeemerald/data/scripts/mevent_old_sea_map.inc

61 lines
1.6 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
MysteryEventScript_OldSeaMap::
2019-11-05 21:19:08 +01:00
setvaddress MysteryEventScript_OldSeaMap
lock
faceplayer
vgoto_if_set FLAG_RECEIVED_OLD_SEA_MAP, OldSeaMap_Obtained
vgoto_if_set FLAG_CAUGHT_MEW, OldSeaMap_Obtained
2019-11-05 21:19:08 +01:00
checkitem ITEM_OLD_SEA_MAP, 1
2019-12-19 01:22:39 +01:00
compare VAR_RESULT, TRUE
2019-11-05 21:19:08 +01:00
vgoto_if_eq OldSeaMap_Obtained
vmessage sText_MysteryGiftOldSeaMapForYou
waitmessage
waitbuttonpress
checkitemspace ITEM_OLD_SEA_MAP, 1
2019-12-19 01:22:39 +01:00
compare VAR_RESULT, FALSE
2019-11-05 21:19:08 +01:00
vgoto_if_eq OldSeaMap_NoBagSpace
giveitem ITEM_OLD_SEA_MAP
2019-11-05 21:19:08 +01:00
setflag FLAG_ENABLE_SHIP_FARAWAY_ISLAND
setflag FLAG_RECEIVED_OLD_SEA_MAP
vmessage sText_MysteryGiftOldSeaMapUseAtPort
waitmessage
waitbuttonpress
release
end
2021-07-20 21:18:31 +02:00
OldSeaMap_NoBagSpace:
2019-11-05 21:19:08 +01:00
vmessage sText_MysteryGiftOldSeaMapBagFull
waitmessage
waitbuttonpress
release
end
2021-07-20 21:18:31 +02:00
OldSeaMap_Obtained:
2019-11-05 21:19:08 +01:00
vmessage sText_MysteryGiftOldSeaMapThankYou
waitmessage
waitbuttonpress
release
end
sText_MysteryGiftOldSeaMapForYou:
.string "Thank you for using the MYSTERY\n"
.string "GIFT System.\p"
.string "Let me confirm--you are {PLAYER}?\p"
.string "We received this OLD SEA MAP\n"
.string "addressed to you.$"
sText_MysteryGiftOldSeaMapUseAtPort:
.string "It appears to be for use at the\n"
.string "LILYCOVE CITY port.\p"
.string "Why not give it a try and see what\n"
.string "it is about?$"
sText_MysteryGiftOldSeaMapThankYou:
.string "Thank you for using the MYSTERY\n"
.string "GIFT System.$"
sText_MysteryGiftOldSeaMapBagFull:
.string "Oh, I'm sorry, {PLAYER}.\n"
.string "Your BAG's KEY ITEMS POCKET is full.\p"
.string "Please store something on your PC,\n"
.string "then come back for this.$"