2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const GOLDENRODDEPTSTOREROOF_CLERK
|
|
|
|
const GOLDENRODDEPTSTOREROOF_POKEFAN_F
|
|
|
|
const GOLDENRODDEPTSTOREROOF_FISHER
|
|
|
|
const GOLDENRODDEPTSTOREROOF_TWIN
|
|
|
|
const GOLDENRODDEPTSTOREROOF_SUPER_NERD
|
|
|
|
const GOLDENRODDEPTSTOREROOF_POKEFAN_M
|
|
|
|
const GOLDENRODDEPTSTOREROOF_TEACHER
|
|
|
|
const GOLDENRODDEPTSTOREROOF_BUG_CATCHER
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
GoldenrodDeptStoreRoof_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
2016-01-06 04:44:50 -08:00
|
|
|
dbw MAPCALLBACK_TILES, .CheckSaleChangeBlock
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-01-06 04:44:50 -08:00
|
|
|
dbw MAPCALLBACK_OBJECTS, .CheckSaleChangeClerk
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-17 14:17:10 -07:00
|
|
|
.CheckSaleChangeBlock:
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
|
2015-07-17 14:17:10 -07:00
|
|
|
iftrue .ChangeBlock
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-17 14:17:10 -07:00
|
|
|
.ChangeBlock:
|
2013-02-16 22:54:07 -08:00
|
|
|
changeblock $0, $2, $3f
|
|
|
|
changeblock $0, $4, $f
|
|
|
|
return
|
|
|
|
|
2015-07-17 14:17:10 -07:00
|
|
|
.CheckSaleChangeClerk:
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
|
2015-07-17 14:17:10 -07:00
|
|
|
iftrue .ChangeClerk
|
|
|
|
setevent EVENT_GOLDENROD_SALE_OFF
|
|
|
|
clearevent EVENT_GOLDENROD_SALE_ON
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-17 14:17:10 -07:00
|
|
|
.ChangeClerk:
|
|
|
|
clearevent EVENT_GOLDENROD_SALE_OFF
|
|
|
|
setevent EVENT_GOLDENROD_SALE_ON
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
ClerkScript_0x5673f:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-11-02 14:38:08 -08:00
|
|
|
pokemart MARTTYPE_ROOFTOP, 0
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
PokefanFScript_0x56746:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x5677f
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
FisherScript_0x56749:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x567d2
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-11-26 21:22:14 -08:00
|
|
|
spriteface GOLDENRODDEPTSTOREROOF_FISHER, UP
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
TwinScript_0x56754:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x56839
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
SuperNerdScript_0x56757:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x56867
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-11-26 21:22:14 -08:00
|
|
|
spriteface GOLDENRODDEPTSTOREROOF_SUPER_NERD, UP
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x56871
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-11-26 21:22:14 -08:00
|
|
|
spriteface GOLDENRODDEPTSTOREROOF_SUPER_NERD, RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
PokefanMScript_0x5676a:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x5688e
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
TeacherScript_0x5676d:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x56901
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
BugCatcherScript_0x56770:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x56942
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MapGoldenrodDeptStoreRoofSignpost0Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptext UnknownText_0x569c3
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MapGoldenrodDeptStoreRoofSignpost1Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptext UnknownText_0x56a2b
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MapGoldenrodDeptStoreRoofSignpost2Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptext UnknownText_0x56aa6
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MapGoldenrodDeptStoreRoofSignpost3Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptext UnknownText_0x56b11
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x5677f:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Whew, I'm tired."
|
|
|
|
|
|
|
|
para "I sometimes come"
|
|
|
|
line "up to the rooftop"
|
|
|
|
|
|
|
|
para "to take a break"
|
|
|
|
line "from shopping."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x567d2:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Pardon? Who says"
|
|
|
|
line "an adult can't get"
|
|
|
|
cont "into this?"
|
|
|
|
|
|
|
|
para "I'm going to be"
|
|
|
|
line "back every day to"
|
|
|
|
|
|
|
|
para "collect all the"
|
|
|
|
line "dolls!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x56839:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "They have bargain"
|
|
|
|
line "sales here every"
|
|
|
|
cont "so often."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x56867:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Oh, wow!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x56871:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Will you quit"
|
|
|
|
line "bothering me?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x5688e:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "There's something"
|
|
|
|
line "I really want, but"
|
|
|
|
|
|
|
|
para "I don't have the"
|
|
|
|
line "necessary cash…"
|
|
|
|
|
|
|
|
para "Maybe I'll sell"
|
|
|
|
line "off the BERRIES"
|
|
|
|
cont "I've collected…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x56901:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Oh, everything is"
|
|
|
|
line "so cheap!"
|
|
|
|
|
|
|
|
para "I bought so much,"
|
|
|
|
line "my PACK's crammed!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x56942:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "My #MON always"
|
|
|
|
line "get paralyzed or"
|
|
|
|
|
|
|
|
para "poisoned when the"
|
|
|
|
line "chips are down…"
|
|
|
|
|
|
|
|
para "So I came to buy"
|
|
|
|
line "some FULL HEAL."
|
|
|
|
|
|
|
|
para "I wonder if"
|
|
|
|
line "there's any left?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x569c3:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "These binoculars"
|
|
|
|
line "let me see far"
|
|
|
|
|
|
|
|
para "away. Maybe I can"
|
|
|
|
line "see my own house."
|
|
|
|
|
|
|
|
para "Is it the one with"
|
|
|
|
line "the green roof?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x56a2b:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hey! Some trainers"
|
|
|
|
line "are battling on"
|
|
|
|
cont "the road!"
|
|
|
|
|
|
|
|
para "A #MON fired a"
|
|
|
|
line "flurry of leaves!"
|
|
|
|
|
|
|
|
para "That makes me feel"
|
|
|
|
line "like battling"
|
|
|
|
cont "right now!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x56aa6:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "A FISHER caught a"
|
|
|
|
line "lot of MAGIKARP…"
|
|
|
|
|
|
|
|
para "They're SPLASHing"
|
|
|
|
line "at the same time!"
|
|
|
|
|
|
|
|
para "Look at the water"
|
|
|
|
line "going everywhere!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x56b11:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "A vending machine"
|
|
|
|
line "for #MON dolls?"
|
|
|
|
|
|
|
|
para "Insert money, then"
|
|
|
|
line "turn the crank…"
|
|
|
|
|
|
|
|
para "But it's almost"
|
|
|
|
line "empty…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
GoldenrodDeptStoreRoof_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $1, $d, 3, GOLDENROD_DEPT_STORE_6F
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 4
|
2015-07-16 15:10:10 -07:00
|
|
|
signpost 3, 15, SIGNPOST_RIGHT, MapGoldenrodDeptStoreRoofSignpost0Script
|
|
|
|
signpost 5, 15, SIGNPOST_RIGHT, MapGoldenrodDeptStoreRoofSignpost1Script
|
|
|
|
signpost 6, 15, SIGNPOST_RIGHT, MapGoldenrodDeptStoreRoofSignpost2Script
|
|
|
|
signpost 0, 3, SIGNPOST_UP, MapGoldenrodDeptStoreRoofSignpost3Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 8
|
2015-11-15 12:07:20 -08:00
|
|
|
person_event SPRITE_CLERK, 4, 1, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ClerkScript_0x5673f, EVENT_GOLDENROD_SALE_OFF
|
|
|
|
person_event SPRITE_POKEFAN_F, 3, 10, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, PokefanFScript_0x56746, -1
|
|
|
|
person_event SPRITE_FISHER, 1, 2, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, FisherScript_0x56749, -1
|
|
|
|
person_event SPRITE_TWIN, 4, 3, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, TwinScript_0x56754, EVENT_GOLDENROD_SALE_ON
|
|
|
|
person_event SPRITE_SUPER_NERD, 6, 14, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, SuperNerdScript_0x56757, EVENT_GOLDENROD_SALE_ON
|
|
|
|
person_event SPRITE_POKEFAN_M, 0, 7, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, PokefanMScript_0x5676a, EVENT_GOLDENROD_SALE_OFF
|
|
|
|
person_event SPRITE_TEACHER, 3, 5, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, TeacherScript_0x5676d, EVENT_GOLDENROD_SALE_OFF
|
|
|
|
person_event SPRITE_BUG_CATCHER, 6, 1, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, BugCatcherScript_0x56770, EVENT_GOLDENROD_SALE_OFF
|