pokecrystal/maps/PokemonFanClub.asm

317 lines
6.9 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
const POKEMONFANCLUB_CHAIRMAN
2015-11-27 05:22:14 +00:00
const POKEMONFANCLUB_RECEPTIONIST
const POKEMONFANCLUB_CLEFAIRY_GUY
2015-11-27 05:22:14 +00:00
const POKEMONFANCLUB_TEACHER
const POKEMONFANCLUB_FAIRY
const POKEMONFANCLUB_ODDISH
PokemonFanClub_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
PokemonFanClubChairmanScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT
2018-02-02 04:30:17 +00:00
iftrue .HeardSpeech
2013-09-24 07:48:58 +00:00
checkevent EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT_BUT_BAG_WAS_FULL
2018-02-02 04:30:17 +00:00
iftrue .HeardSpeechButBagFull
writetext PokemonFanClubChairmanDidYouVisitToHearAboutMyMonText
yesorno
2018-02-02 04:30:17 +00:00
iffalse .NotListening
writetext PokemonFanClubChairmanRapidashText
2019-11-03 17:48:54 +00:00
promptbutton
2018-02-02 04:30:17 +00:00
.HeardSpeechButBagFull:
writetext PokemonFanClubChairmanIWantYouToHaveThisText
2019-11-03 17:48:54 +00:00
promptbutton
2015-11-05 01:20:14 +00:00
verbosegiveitem RARE_CANDY
2018-02-02 04:30:17 +00:00
iffalse .BagFull
2013-09-24 07:48:58 +00:00
setevent EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT
writetext PokemonFanClubChairmanItsARareCandyText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-02-02 04:30:17 +00:00
.HeardSpeech:
writetext PokemonFanClubChairmanMoreTalesToTellText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-02-02 04:30:17 +00:00
.NotListening:
writetext PokemonFanClubChairmanHowDisappointingText
2015-11-25 15:16:29 +00:00
waitbutton
2018-02-02 04:30:17 +00:00
.BagFull:
2015-11-25 15:16:29 +00:00
closetext
end
2017-12-18 00:48:04 +00:00
PokemonFanClubReceptionistScript:
jumptextfaceplayer PokemonFanClubReceptionistText
PokemonFanClubClefairyGuyScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_LOST_ITEM_FROM_FAN_CLUB
2018-02-02 04:30:17 +00:00
iftrue .GotLostItem
2013-09-24 07:48:58 +00:00
checkevent EVENT_RETURNED_MACHINE_PART
2018-02-02 04:30:17 +00:00
iftrue .FoundClefairyDoll
writetext PokemonFanClubClefairyGuyClefairyIsSoAdorableText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-02-02 04:30:17 +00:00
.FoundClefairyDoll:
writetext PokemonFanClubClefairyGuyMakingDoWithADollIFoundText
2013-09-24 07:48:58 +00:00
checkevent EVENT_MET_COPYCAT_FOUND_OUT_ABOUT_LOST_ITEM
2018-02-02 04:30:17 +00:00
iftrue .MetCopycat
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-02-02 04:30:17 +00:00
.MetCopycat:
2019-11-03 17:48:54 +00:00
promptbutton
writetext PokemonFanClubClefairyGuyTakeThisDollBackToGirlText
2019-11-03 17:48:54 +00:00
promptbutton
2015-11-25 15:16:29 +00:00
waitsfx
2015-11-05 01:20:14 +00:00
giveitem LOST_ITEM
2018-02-02 04:30:17 +00:00
iffalse .NoRoom
2015-11-27 05:22:14 +00:00
disappear POKEMONFANCLUB_FAIRY
writetext PokemonFanClubPlayerReceivedDollText
playsound SFX_KEY_ITEM
2015-11-25 15:16:29 +00:00
waitsfx
itemnotify
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_LOST_ITEM_FROM_FAN_CLUB
2015-11-25 15:16:29 +00:00
closetext
end
2018-02-02 04:30:17 +00:00
.GotLostItem:
writetext PokemonFanClubClefairyGuyGoingToGetARealClefairyText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-02-02 04:30:17 +00:00
.NoRoom:
writetext PokemonFanClubClefairyGuyPackIsJammedFullText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
PokemonFanClubTeacherScript:
jumptextfaceplayer PokemonFanClubTeacherText
PokemonFanClubClefairyDollScript:
jumptext PokemonFanClubClefairyDollText
PokemonFanClubBayleefScript:
2015-12-09 23:25:44 +00:00
opentext
writetext PokemonFanClubBayleefText
cry BAYLEEF
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
PokemonFanClubListenSign:
2018-02-02 04:30:17 +00:00
jumptext PokemonFanClubListenSignText
PokemonFanClubBraggingSign:
2018-02-02 04:30:17 +00:00
jumptext PokemonFanClubBraggingSignText
PokemonFanClubChairmanDidYouVisitToHearAboutMyMonText:
text "I'm the CHAIRMAN"
line "of the #MON FAN"
cont "CLUB."
para "I've raised over"
line "150 #MON."
para "I'm very fussy"
line "when it comes to"
cont "#MON."
para "Did you visit just"
line "to hear about my"
cont "#MON?"
done
PokemonFanClubChairmanRapidashText:
text "Good!"
line "Then listen up!"
para "So… my favorite"
line "RAPIDASH…"
para "It… cute… lovely…"
line "smart… unbearably…"
cont "plus… amazing… oh…"
cont "you think so?…"
cont "Too much… wild…"
cont "beautiful… kindly…"
cont "love it!"
para "Hug it… when…"
line "sleeping… warm and"
cont "cuddly… Oh, and…"
cont "spectacular…"
cont "ravishing… simply"
cont "divine…"
cont "Oops! Look at the"
cont "time! I've kept"
cont "you too long!"
done
PokemonFanClubChairmanIWantYouToHaveThisText:
text "Thanks for hearing"
line "me out. I want you"
cont "to have this!"
done
PokemonFanClubChairmanItsARareCandyText:
text "It's a RARE CANDY"
line "that makes #MON"
cont "stronger."
para "I prefer making my"
line "#MON stronger"
para "by battling, so"
line "you can have it."
done
PokemonFanClubChairmanMoreTalesToTellText:
text "Hello, <PLAY_G>!"
para "Did you come see"
line "me about my #-"
cont "MON again?"
para "No? Oh… I had more"
line "tales to tell…"
done
PokemonFanClubChairmanHowDisappointingText:
text "How disappointing…"
para "Come back if you"
line "want to listen."
done
2017-12-18 00:48:04 +00:00
PokemonFanClubReceptionistText:
text "Our CHAIRMAN is"
line "very vocal when it"
cont "comes to #MON…"
done
PokemonFanClubClefairyGuyClefairyIsSoAdorableText:
text "I love the way"
line "CLEFAIRY waggles"
para "its finger when"
line "it's trying to use"
para "METRONOME."
line "It's so adorable!"
done
PokemonFanClubClefairyGuyMakingDoWithADollIFoundText:
text "I love CLEFAIRY,"
line "but I could never"
para "catch one. So I'm"
line "making do with a"
para "# DOLL that I"
line "found."
done
PokemonFanClubClefairyGuyTakeThisDollBackToGirlText:
text "Oh, I see now. The"
line "girl who lost this"
para "# DOLL is sad…"
para "OK. Could you take"
line "this # DOLL"
para "back to that poor"
line "little girl?"
para "I'll befriend a"
line "real CLEFAIRY on"
para "my own one day."
line "No worries!"
done
PokemonFanClubPlayerReceivedDollText:
text "<PLAYER> received"
line "# DOLL."
done
PokemonFanClubClefairyGuyGoingToGetARealClefairyText:
text "You watch. I'm"
line "going to get a"
para "real CLEFAIRY as"
line "my friend."
done
PokemonFanClubClefairyGuyPackIsJammedFullText:
text "Your PACK is"
line "jammed full."
done
2017-12-18 00:48:04 +00:00
PokemonFanClubTeacherText:
text "Look at my darling"
line "BAYLEEF!"
para "The leaf on its"
line "head is so cute!"
done
PokemonFanClubClefairyDollText:
text "It's a CLEFAIRY!"
line "Huh?"
para "Oh, right. It's a"
line "CLEFAIRY #"
cont "DOLL."
done
PokemonFanClubBayleefText:
text "BAYLEEF: Li liif!"
done
2018-02-02 04:30:17 +00:00
PokemonFanClubListenSignText:
text "Let's all listen"
line "politely to other"
cont "trainers."
done
2018-02-02 04:30:17 +00:00
PokemonFanClubBraggingSignText:
text "If someone brags,"
line "brag right back!"
done
PokemonFanClub_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 2, 7, VERMILION_CITY, 3
warp_event 3, 7, VERMILION_CITY, 3
db 0 ; coord events
db 2 ; bg events
bg_event 7, 0, BGEVENT_READ, PokemonFanClubListenSign
bg_event 9, 0, BGEVENT_READ, PokemonFanClubBraggingSign
db 6 ; object events
object_event 3, 1, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PokemonFanClubChairmanScript, -1
2018-02-02 03:22:07 +00:00
object_event 4, 1, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PokemonFanClubReceptionistScript, -1
object_event 2, 3, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PokemonFanClubClefairyGuyScript, -1
2018-02-02 03:22:07 +00:00
object_event 7, 2, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PokemonFanClubTeacherScript, -1
object_event 2, 4, SPRITE_FAIRY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PokemonFanClubClefairyDollScript, EVENT_VERMILION_FAN_CLUB_DOLL
object_event 7, 3, SPRITE_ODDISH, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PokemonFanClubBayleefScript, -1