2013-02-16 22:54:07 -08:00
|
|
|
GoldenrodDeptStore5F_MapScriptHeader: ; 0x5608b
|
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
|
|
|
dbw 2, UnknownScript_0x56090
|
|
|
|
; 0x56090
|
|
|
|
|
|
|
|
UnknownScript_0x56090: ; 0x56090
|
|
|
|
checkcode $b
|
|
|
|
if_equal SUNDAY, UnknownScript_0x56099
|
|
|
|
disappear $7
|
|
|
|
return
|
|
|
|
; 0x56099
|
|
|
|
|
|
|
|
UnknownScript_0x56099: ; 0x56099
|
|
|
|
appear $7
|
|
|
|
return
|
|
|
|
; 0x5609c
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
ClerkScript_0x5609c: ; 0x5609c
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_TM02_HEADBUTT
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x560ad
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_TM08_ROCK_SMASH
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x560c2
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x560b6
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x560ad
|
|
|
|
|
|
|
|
UnknownScript_0x560ad: ; 0x560ad
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_TM08_ROCK_SMASH
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x560c8
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x560bc
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x560b6
|
|
|
|
|
|
|
|
UnknownScript_0x560b6: ; 0x560b6
|
|
|
|
pokemart $0, $0009
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x560bc
|
|
|
|
|
|
|
|
UnknownScript_0x560bc: ; 0x560bc
|
|
|
|
pokemart $0, $000a
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x560c2
|
|
|
|
|
|
|
|
UnknownScript_0x560c2: ; 0x560c2
|
|
|
|
pokemart $0, $000b
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x560c8
|
|
|
|
|
|
|
|
UnknownScript_0x560c8: ; 0x560c8
|
|
|
|
pokemart $0, $000c
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x560ce
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
ReceptionistScript_0x560ce: ; 0x560ce
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
|
|
|
checkcode $b
|
|
|
|
if_not_equal SUNDAY, UnknownScript_0x56112
|
2013-09-24 00:51:42 -07:00
|
|
|
checkflag $005b
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x56112
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function718d
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x56143
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
2013-09-26 15:40:20 -07:00
|
|
|
if_greater_than $95, UnknownScript_0x560ee
|
|
|
|
if_greater_than $31, UnknownScript_0x560fd
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x56103
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x560ee
|
|
|
|
|
|
|
|
UnknownScript_0x560ee: ; 0x560ee
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x5615a
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
|
|
|
verbosegiveitem TM_27, 1
|
|
|
|
iffalse UnknownScript_0x56116
|
2013-09-24 00:51:42 -07:00
|
|
|
setflag $005b
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x560fd
|
|
|
|
|
|
|
|
UnknownScript_0x560fd: ; 0x560fd
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x561a6
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x56103
|
|
|
|
|
|
|
|
UnknownScript_0x56103: ; 0x56103
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x561d8
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
|
|
|
verbosegiveitem TM_21, 1
|
|
|
|
iffalse UnknownScript_0x56116
|
2013-09-24 00:51:42 -07:00
|
|
|
setflag $005b
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x56112
|
|
|
|
|
|
|
|
UnknownScript_0x56112: ; 0x56112
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x56202
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
UnknownScript_0x56116: ; 0x56116
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x56118
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
TwinScript_0x56118: ; 0x56118
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-02-11 15:03:42 -08:00
|
|
|
special SpecialGameboyCheck
|
2013-02-16 22:54:07 -08:00
|
|
|
if_not_equal $2, UnknownScript_0x5612a
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x56241
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function1050b9
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
; 0x5612a
|
|
|
|
|
|
|
|
UnknownScript_0x5612a: ; 0x5612a
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x56279
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x56130
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
LassScript_0x56130: ; 0x56130
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x562ad
|
|
|
|
; 0x56133
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
CooltrainerMScript_0x56133: ; 0x56133
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
|
|
|
trade $0
|
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x5613a
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
PokefanMScript_0x5613a: ; 0x5613a
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x562f3
|
|
|
|
; 0x5613d
|
|
|
|
|
|
|
|
MapGoldenrodDeptStore5FSignpost0Script: ; 0x5613d
|
|
|
|
jumptext UnknownText_0x56364
|
|
|
|
; 0x56140
|
|
|
|
|
|
|
|
MapGoldenrodDeptStore5FSignpost1Script: ; 0x56140
|
|
|
|
jumpstd $0014
|
|
|
|
; 0x56143
|
|
|
|
|
|
|
|
UnknownText_0x56143: ; 0x56143
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hello. Oh, your"
|
|
|
|
line "#MON…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x5615a
|
|
|
|
|
|
|
|
UnknownText_0x5615a: ; 0x5615a
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's very attached"
|
|
|
|
line "to you."
|
|
|
|
|
|
|
|
para "This move should"
|
|
|
|
line "be perfect for a"
|
|
|
|
cont "pair like you."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x561a6
|
|
|
|
|
|
|
|
UnknownText_0x561a6: ; 0x561a6
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's adorable!"
|
|
|
|
|
|
|
|
para "You should teach"
|
|
|
|
line "it good TM moves."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x561d8
|
|
|
|
|
|
|
|
UnknownText_0x561d8: ; 0x561d8
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It looks evil. How"
|
|
|
|
line "about this TM for"
|
|
|
|
cont "it?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x56202
|
|
|
|
|
|
|
|
UnknownText_0x56202: ; 0x56202
|
2014-03-05 21:29:44 -08:00
|
|
|
text "There are sure to"
|
|
|
|
line "be TMs that are"
|
|
|
|
|
|
|
|
para "just perfect for"
|
|
|
|
line "your #MON."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x56241
|
|
|
|
|
|
|
|
UnknownText_0x56241: ; 0x56241
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MYSTERY GIFT."
|
|
|
|
|
|
|
|
para "With just a"
|
|
|
|
line "little beep, you"
|
|
|
|
cont "get a gift."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x56279
|
|
|
|
|
|
|
|
UnknownText_0x56279: ; 0x56279
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The MYSTERY GIFT"
|
|
|
|
line "option requires a"
|
|
|
|
cont "Game Boy Color."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x562ad
|
|
|
|
|
|
|
|
UnknownText_0x562ad: ; 0x562ad
|
2014-03-05 21:29:44 -08:00
|
|
|
text "On Sundays, a lady"
|
|
|
|
line "comes to check out"
|
|
|
|
cont "#MON."
|
|
|
|
|
|
|
|
para "She even gives"
|
|
|
|
line "away TMs!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x562f3
|
|
|
|
|
|
|
|
UnknownText_0x562f3: ; 0x562f3
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You can't rename a"
|
|
|
|
line "#MON you get in"
|
|
|
|
cont "a trade."
|
|
|
|
|
|
|
|
para "The name is a re-"
|
|
|
|
line "flection of the"
|
|
|
|
|
|
|
|
para "original trainer's"
|
|
|
|
line "feelings for it."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x56364
|
|
|
|
|
|
|
|
UnknownText_0x56364: ; 0x56364
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Customize Your"
|
|
|
|
line "#MON"
|
|
|
|
|
|
|
|
para "5F TM CORNER"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x56386
|
|
|
|
|
|
|
|
GoldenrodDeptStore5F_MapEventHeader: ; 0x56386
|
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 3
|
|
|
|
warp_def $0, $c, 1, GROUP_GOLDENROD_DEPT_STORE_4F, MAP_GOLDENROD_DEPT_STORE_4F
|
|
|
|
warp_def $0, $f, 1, GROUP_GOLDENROD_DEPT_STORE_6F, MAP_GOLDENROD_DEPT_STORE_6F
|
|
|
|
warp_def $0, $2, 1, GROUP_GOLDENROD_DEPT_STORE_ELEVATOR, MAP_GOLDENROD_DEPT_STORE_ELEVATOR
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 2
|
|
|
|
signpost 0, 14, $0, MapGoldenrodDeptStore5FSignpost0Script
|
|
|
|
signpost 0, 3, $0, MapGoldenrodDeptStore5FSignpost1Script
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 6
|
2013-07-12 14:06:11 -07:00
|
|
|
person_event SPRITE_CLERK, 9, 12, $7, $0, 255, 255, $0, 0, ClerkScript_0x5609c, $ffff
|
|
|
|
person_event SPRITE_LASS, 10, 7, $2, $11, 255, 255, $0, 0, LassScript_0x56130, $ffff
|
|
|
|
person_event SPRITE_COOLTRAINER_M, 7, 10, $3, $0, 255, 255, $0, 0, CooltrainerMScript_0x56133, $ffff
|
|
|
|
person_event SPRITE_POKEFAN_M, 9, 17, $2, $22, 255, 255, $0, 0, PokefanMScript_0x5613a, $ffff
|
|
|
|
person_event SPRITE_TWIN, 5, 13, $6, $0, 255, 255, $a0, 0, TwinScript_0x56118, $ffff
|
|
|
|
person_event SPRITE_RECEPTIONIST, 9, 11, $7, $0, 255, 255, $80, 0, ReceptionistScript_0x560ce, $0763
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x563f3
|
|
|
|
|