pokecrystal/maps/GoldenrodFlowerShop.asm

174 lines
3.8 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-27 05:22:14 +00:00
const GOLDENRODFLOWERSHOP_TEACHER
2016-04-07 04:59:45 +00:00
const GOLDENRODFLOWERSHOP_FLORIA
2015-11-27 05:22:14 +00:00
GoldenrodFlowerShop_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
FlowerShopTeacherScript:
2013-09-24 07:48:58 +00:00
checkevent EVENT_FOUGHT_SUDOWOODO
iftrue .Lalala
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_SQUIRTBOTTLE
iftrue .GotSquirtbottle
2015-06-26 05:30:16 +00:00
checkevent EVENT_MET_FLORIA
iffalse .HaventMetFloria
checkevent EVENT_TALKED_TO_FLORIA_AT_FLOWER_SHOP
iffalse .Lalala
2015-07-10 12:08:03 +00:00
checkflag ENGINE_PLAINBADGE
iffalse .NoPlainBadge
faceplayer
2015-12-09 23:25:44 +00:00
opentext
writetext GoldenrodFlowerShopTeacherHeresTheSquirtbottleText
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-05 01:20:14 +00:00
verbosegiveitem SQUIRTBOTTLE
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_SQUIRTBOTTLE
2015-11-25 15:16:29 +00:00
closetext
2015-06-26 05:30:16 +00:00
setevent EVENT_FLORIA_AT_SUDOWOODO
clearevent EVENT_FLORIA_AT_FLOWER_SHOP
end
.Lalala:
turnobject GOLDENRODFLOWERSHOP_TEACHER, LEFT
2015-12-09 23:25:44 +00:00
opentext
writetext GoldenrodFlowerShopTeacherLalalaHavePlentyOfWaterText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.GotSquirtbottle:
jumptextfaceplayer GoldenrodFlowerShopTeacherDontDoAnythingDangerousText
.NoPlainBadge:
jumptextfaceplayer GoldenrodFlowerShopTeacherAskWantToBorrowWaterBottleText
.HaventMetFloria:
jumptextfaceplayer GoldenrodFlowerShopTeacherMySisterWentToSeeWigglyTreeRoute36Text
FlowerShopFloriaScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_FOUGHT_SUDOWOODO
iftrue .FoughtSudowoodo
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_SQUIRTBOTTLE
iftrue .GotSquirtbottle
writetext GoldenrodFlowerShopFloriaWonderIfSisWillLendWaterBottleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
setevent EVENT_TALKED_TO_FLORIA_AT_FLOWER_SHOP
setevent EVENT_FLORIA_AT_FLOWER_SHOP
2015-06-26 05:30:16 +00:00
clearevent EVENT_FLORIA_AT_SUDOWOODO
end
.GotSquirtbottle:
writetext GoldenrodFlowerShopFloriaYouBeatWhitneyText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.FoughtSudowoodo:
writetext GoldenrodFlowerShopFloriaItReallyWasAMonText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
FlowerShopShelf1:
; unused
jumpstd picturebookshelf
2015-06-26 04:01:08 +00:00
FlowerShopShelf2:
; unused
jumpstd magazinebookshelf
2015-06-26 04:01:08 +00:00
FlowerShopRadio:
; unused
2015-06-23 21:02:58 +00:00
jumpstd radio2
GoldenrodFlowerShopTeacherMySisterWentToSeeWigglyTreeRoute36Text:
text "Have you seen that"
line "wiggly tree that's"
para "growing on ROUTE"
line "36?"
para "My little sister"
line "got all excited"
para "and went to see"
line "it…"
para "I'm worried… Isn't"
line "it dangerous?"
done
GoldenrodFlowerShopTeacherAskWantToBorrowWaterBottleText:
text "Do you want to"
line "borrow the water"
para "bottle too?"
line "I don't want you"
para "doing anything"
line "dangerous with it."
done
GoldenrodFlowerShopTeacherHeresTheSquirtbottleText:
text "Oh, you're better"
line "than WHITNEY…"
para "You'll be OK,"
line "then. Here's the"
cont "SQUIRTBOTTLE!"
done
GoldenrodFlowerShopTeacherDontDoAnythingDangerousText:
text "Don't do anything"
line "too dangerous!"
done
GoldenrodFlowerShopTeacherLalalaHavePlentyOfWaterText:
text "Lalala lalalala."
line "Have plenty of"
cont "water, my lovely!"
done
GoldenrodFlowerShopFloriaWonderIfSisWillLendWaterBottleText:
text "When I told my sis"
line "about the jiggly"
para "tree, she told me"
line "it's dangerous."
para "If I beat WHITNEY,"
line "I wonder if she'll"
para "lend me her water"
line "bottle…"
done
GoldenrodFlowerShopFloriaYouBeatWhitneyText:
text "Wow, you beat"
line "WHITNEY? Cool!"
done
GoldenrodFlowerShopFloriaItReallyWasAMonText:
text "So it really was a"
line "#MON!"
done
GoldenrodFlowerShop_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 2, 7, GOLDENROD_CITY, 6
warp_event 3, 7, GOLDENROD_CITY, 6
db 0 ; coord events
db 0 ; bg events
db 2 ; object events
2018-02-02 03:22:07 +00:00
object_event 2, 4, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FlowerShopTeacherScript, -1
object_event 5, 6, SPRITE_LASS, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FlowerShopFloriaScript, EVENT_FLORIA_AT_FLOWER_SHOP