pokecrystal-board/maps/GoldenrodFlowerShop.asm

181 lines
3.2 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const GOLDENRODFLOWERSHOP_TEACHER
2016-04-06 21:59:45 -07:00
const GOLDENRODFLOWERSHOP_FLORIA
2015-11-26 21:22:14 -08:00
2015-07-10 01:45:35 -07:00
GoldenrodFlowerShop_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
FlowerShopTeacherScript:
2013-09-24 00:48:58 -07:00
checkevent EVENT_FOUGHT_SUDOWOODO
iftrue .Lalala
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_SQUIRTBOTTLE
iftrue .GotSquirtbottle
2015-06-25 22:30:16 -07:00
checkevent EVENT_MET_FLORIA
iffalse .HaventMetFloria
checkevent EVENT_TALKED_TO_FLORIA_AT_FLOWER_SHOP
iffalse .Lalala
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAINBADGE
iffalse .NoPlainBadge
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x554c2
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem SQUIRTBOTTLE
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_SQUIRTBOTTLE
2015-11-25 07:16:29 -08:00
closetext
2015-06-25 22:30:16 -07:00
setevent EVENT_FLORIA_AT_SUDOWOODO
clearevent EVENT_FLORIA_AT_FLOWER_SHOP
end
.Lalala:
2015-11-26 21:22:14 -08:00
spriteface GOLDENRODFLOWERSHOP_TEACHER, LEFT
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x5552e
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.GotSquirtbottle:
jumptextfaceplayer UnknownText_0x5550d
.NoPlainBadge:
jumptextfaceplayer UnknownText_0x55463
.HaventMetFloria:
jumptextfaceplayer UnknownText_0x553d4
FlowerShopFloriaScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_FOUGHT_SUDOWOODO
iftrue .FoughtSudowoodo
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_SQUIRTBOTTLE
iftrue .GotSquirtbottle
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x55561
2015-11-25 07:16:29 -08:00
waitbutton
closetext
setevent EVENT_TALKED_TO_FLORIA_AT_FLOWER_SHOP
setevent EVENT_FLORIA_AT_FLOWER_SHOP
2015-06-25 22:30:16 -07:00
clearevent EVENT_FLORIA_AT_SUDOWOODO
end
.GotSquirtbottle:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x555e6
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.FoughtSudowoodo:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x55604
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-25 21:01:08 -07:00
FlowerShopShelf1:
; unused
jumpstd picturebookshelf
2015-06-25 21:01:08 -07:00
FlowerShopShelf2:
; unused
jumpstd magazinebookshelf
2015-06-25 21:01:08 -07:00
FlowerShopRadio:
; unused
2015-06-23 14:02:58 -07:00
jumpstd radio2
2015-07-10 01:45:35 -07:00
UnknownText_0x553d4:
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
2015-07-10 01:45:35 -07:00
UnknownText_0x55463:
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
2015-07-10 01:45:35 -07:00
UnknownText_0x554c2:
text "Oh, you're better"
line "than WHITNEY…"
para "You'll be OK,"
line "then. Here's the"
cont "SQUIRTBOTTLE!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x5550d:
text "Don't do anything"
line "too dangerous!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x5552e:
text "Lalala lalalala."
line "Have plenty of"
cont "water, my lovely!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x55561:
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
2015-07-10 01:45:35 -07:00
UnknownText_0x555e6:
text "Wow, you beat"
line "WHITNEY? Cool!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x55604:
text "So it really was a"
line "#MON!"
done
2015-07-10 01:45:35 -07:00
GoldenrodFlowerShop_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 6, GOLDENROD_CITY
warp_def $7, $3, 6, GOLDENROD_CITY
.CoordEvents:
db 0
.BGEvents:
db 0
.ObjectEvents:
db 2
object_event SPRITE_TEACHER, 4, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FlowerShopTeacherScript, -1
object_event SPRITE_LASS, 6, 5, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FlowerShopFloriaScript, EVENT_FLORIA_AT_FLOWER_SHOP