mirror of
https://github.com/pret/pokeemerald.git
synced 2026-08-09 22:44:41 -05:00
108 lines
2.8 KiB
PHP
108 lines
2.8 KiB
PHP
MysteryGiftScript_AuroraTicket::
|
||
setvaddress MysteryGiftScript_AuroraTicket
|
||
lock
|
||
faceplayer
|
||
vgoto_if_set FLAG_RECEIVED_AURORA_TICKET, AuroraTicket_Obtained
|
||
vgoto_if_set FLAG_BATTLED_DEOXYS, AuroraTicket_Obtained
|
||
checkitem ITEM_AURORA_TICKET
|
||
vgoto_if_eq VAR_RESULT, TRUE, AuroraTicket_Obtained
|
||
vmessage sText_AuroraTicketForYou
|
||
waitmessage
|
||
waitbuttonpress
|
||
checkitemspace ITEM_AURORA_TICKET
|
||
vgoto_if_eq VAR_RESULT, FALSE, AuroraTicket_NoBagSpace
|
||
giveitem ITEM_AURORA_TICKET
|
||
setflag FLAG_ENABLE_SHIP_BIRTH_ISLAND
|
||
setflag FLAG_RECEIVED_AURORA_TICKET
|
||
vmessage sText_AuroraTicketUseAtPort
|
||
waitmessage
|
||
waitbuttonpress
|
||
release
|
||
end
|
||
|
||
AuroraTicket_NoBagSpace:
|
||
vmessage sText_AuroraTicketBagFull
|
||
waitmessage
|
||
waitbuttonpress
|
||
release
|
||
end
|
||
|
||
AuroraTicket_Obtained:
|
||
vmessage sText_AuroraTicketThankYou
|
||
waitmessage
|
||
waitbuttonpress
|
||
release
|
||
end
|
||
|
||
.ifdef ENGLISH
|
||
sText_AuroraTicketForYou:
|
||
.string "Thank you for using the MYSTERY\n"
|
||
.string "GIFT System.\p"
|
||
.string "You must be {PLAYER}.\n"
|
||
.string "There is a ticket here for you.$"
|
||
|
||
sText_AuroraTicketUseAtPort:
|
||
.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_AuroraTicketThankYou:
|
||
.string "Thank you for using the MYSTERY\n"
|
||
.string "GIFT System.$"
|
||
|
||
sText_AuroraTicketBagFull:
|
||
.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.$"
|
||
.else
|
||
.ifdef FRENCH
|
||
sText_AuroraTicketForYou:
|
||
.string "Merci d’utiliser le système\n"
|
||
.string "CADEAU MYST.\p"
|
||
.string "Vous devez être {PLAYER}.\n"
|
||
.string "Il y a un ticket pour vous.$"
|
||
|
||
sText_AuroraTicketUseAtPort:
|
||
.string "Il peut être utilisé au port de\n"
|
||
.string "NENUCRIQUE.\p"
|
||
.string "Essayez-le pour voir de quoi \n"
|
||
.string "il s’agit.$"
|
||
|
||
sText_AuroraTicketThankYou:
|
||
.string "Merci d’utiliser le système\n"
|
||
.string "CADEAU MYST.$"
|
||
|
||
sText_AuroraTicketBagFull:
|
||
.string "Oh, je regrette, {PLAYER}. La POCHE\n"
|
||
.string "OBJ. RARES du SAC est pleine.\p"
|
||
.string "Faites de la place dans votre SAC\n"
|
||
.string "et revenez me voir.$"
|
||
.else
|
||
.ifdef ITALIAN
|
||
sText_AuroraTicketForYou:
|
||
.string "Grazie per usare il Sistema\n"
|
||
.string "DONO SEGRETO.\p"
|
||
.string "Tu sei {PLAYER}, vero? Ho qui\n"
|
||
.string "un biglietto per te.$"
|
||
|
||
sText_AuroraTicketUseAtPort:
|
||
.string "Dovrebbe servirti allo scalo di\n"
|
||
.string "PORTO ALGHEPOLI.\p"
|
||
.string "Ti conviene andare a vedere\n"
|
||
.string "di persona.$"
|
||
|
||
sText_AuroraTicketThankYou:
|
||
.string "Grazie per usare il Sistema\n"
|
||
.string "DONO SEGRETO.$"
|
||
|
||
sText_AuroraTicketBagFull:
|
||
.string "Oh, mi spiace. La TASCA STRUMENTI\n"
|
||
.string "BASE del tuo ZAINO è piena.\p"
|
||
.string "Torna a trovarmi dopo aver\n"
|
||
.string "depositato qualcosa nel PC.$"
|
||
.endif
|
||
.endif
|
||
.endif
|