2013-02-16 22:54:07 -08:00
|
|
|
BlackthornCity_MapScriptHeader: ; 0x1a46d0
|
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 2
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
|
|
|
dbw 5, UnknownScript_0x1a46d8
|
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
dbw 2, SantosCallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
UnknownScript_0x1a46d8: ; 0x1a46d8
|
2013-09-24 00:51:42 -07:00
|
|
|
setflag $004b
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
; 0x1a46dc
|
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
SantosCallback:
|
2013-02-16 22:54:07 -08:00
|
|
|
checkcode $b
|
2014-10-26 18:37:15 -07:00
|
|
|
if_equal SATURDAY, .SantosAppears
|
2013-02-16 22:54:07 -08:00
|
|
|
disappear $9
|
|
|
|
return
|
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
.SantosAppears
|
2013-02-16 22:54:07 -08:00
|
|
|
appear $9
|
|
|
|
return
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
SuperNerdScript_0x1a46e8: ; 0x1a46e8
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_BEAT_CLAIR
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a4702
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a46fc
|
|
|
|
2writetext UnknownText_0x1a477a
|
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x1a46fc
|
|
|
|
|
|
|
|
UnknownScript_0x1a46fc: ; 0x1a46fc
|
|
|
|
2writetext UnknownText_0x1a47f3
|
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x1a4702
|
|
|
|
|
|
|
|
UnknownScript_0x1a4702: ; 0x1a4702
|
|
|
|
2writetext UnknownText_0x1a4865
|
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x1a4708
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
GrampsScript_0x1a4708: ; 0x1a4708
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x1a48c3
|
|
|
|
; 0x1a470b
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
GrampsScript_0x1a470b: ; 0x1a470b
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x1a48fb
|
|
|
|
; 0x1a470e
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
BlackBeltScript_0x1a470e: ; 0x1a470e
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a471c
|
|
|
|
2writetext UnknownText_0x1a494a
|
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x1a471c
|
|
|
|
|
|
|
|
UnknownScript_0x1a471c: ; 0x1a471c
|
|
|
|
2writetext UnknownText_0x1a4983
|
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x1a4722
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
CooltrainerFScript_0x1a4722: ; 0x1a4722
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x1a49bd
|
|
|
|
; 0x1a4725
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
YoungsterScript_0x1a4725: ; 0x1a4725
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x1a49f1
|
|
|
|
; 0x1a4728
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
CooltrainerFScript_0x1a4728: ; 0x1a4728
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x1a4b1e
|
|
|
|
; 0x1a472b
|
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
SantosScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_SPELL_TAG_FROM_SANTOS
|
2014-10-26 18:37:15 -07:00
|
|
|
iftrue SantosSaturdayScript
|
2013-02-16 22:54:07 -08:00
|
|
|
checkcode $b
|
2014-10-26 18:37:15 -07:00
|
|
|
if_not_equal SATURDAY, SantosNotSaturdayScript
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_MET_SANTOS_OF_SATURDAY
|
2014-10-26 18:37:15 -07:00
|
|
|
iftrue .MetSantos
|
|
|
|
2writetext MeetSantosText
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_MET_SANTOS_OF_SATURDAY
|
2014-10-26 18:37:15 -07:00
|
|
|
.MetSantos
|
|
|
|
2writetext SantosGivesGiftText
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
|
|
|
verbosegiveitem SPELL_TAG, 1
|
2014-10-26 18:37:15 -07:00
|
|
|
iffalse SantosDoneScript
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_SPELL_TAG_FROM_SANTOS
|
2014-10-26 18:37:15 -07:00
|
|
|
2writetext SantosGaveGiftText
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
SantosSaturdayScript:
|
|
|
|
2writetext SantosSaturdayText
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2014-10-26 18:37:15 -07:00
|
|
|
SantosDoneScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
SantosNotSaturdayScript:
|
|
|
|
2writetext SantosNotSaturdayText
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
|
|
|
MapBlackthornCitySignpost0Script: ; 0x1a4765
|
|
|
|
jumptext UnknownText_0x1a4b67
|
|
|
|
; 0x1a4768
|
|
|
|
|
|
|
|
MapBlackthornCitySignpost1Script: ; 0x1a4768
|
|
|
|
jumptext UnknownText_0x1a4b91
|
|
|
|
; 0x1a476b
|
|
|
|
|
|
|
|
MapBlackthornCitySignpost2Script: ; 0x1a476b
|
|
|
|
jumptext UnknownText_0x1a4bd9
|
|
|
|
; 0x1a476e
|
|
|
|
|
|
|
|
MapBlackthornCitySignpost3Script: ; 0x1a476e
|
|
|
|
jumptext UnknownText_0x1a4bef
|
|
|
|
; 0x1a4771
|
|
|
|
|
|
|
|
MapBlackthornCitySignpost4Script: ; 0x1a4771
|
|
|
|
jumptext UnknownText_0x1a4c03
|
|
|
|
; 0x1a4774
|
|
|
|
|
|
|
|
MapBlackthornCitySignpost6Script: ; 0x1a4774
|
|
|
|
jumpstd $0010
|
|
|
|
; 0x1a4777
|
|
|
|
|
|
|
|
MapBlackthornCitySignpost5Script: ; 0x1a4777
|
|
|
|
jumpstd $0011
|
|
|
|
; 0x1a477a
|
|
|
|
|
|
|
|
UnknownText_0x1a477a: ; 0x1a477a
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I am sorry."
|
|
|
|
|
|
|
|
para "CLAIR, our GYM"
|
|
|
|
line "LEADER, entered"
|
|
|
|
|
|
|
|
para "the DRAGON'S DEN"
|
|
|
|
line "behind the GYM."
|
|
|
|
|
|
|
|
para "I have no idea"
|
|
|
|
line "when our LEADER"
|
|
|
|
cont "will return."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a47f3
|
|
|
|
|
|
|
|
UnknownText_0x1a47f3: ; 0x1a47f3
|
2014-03-05 21:29:44 -08:00
|
|
|
text "CLAIR, our GYM"
|
|
|
|
line "LEADER, is waiting"
|
|
|
|
cont "for you."
|
|
|
|
|
|
|
|
para "However, it would"
|
|
|
|
line "be impossible for"
|
|
|
|
|
|
|
|
para "a run-of-the-mill"
|
|
|
|
line "trainer to win."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a4865
|
|
|
|
|
|
|
|
UnknownText_0x1a4865: ; 0x1a4865
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You defeated"
|
|
|
|
line "CLAIR?"
|
|
|
|
|
|
|
|
para "That's amazing!"
|
|
|
|
|
|
|
|
para "I've never heard"
|
|
|
|
line "of her losing to"
|
|
|
|
|
|
|
|
para "anyone other than"
|
|
|
|
line "LANCE."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a48c3
|
|
|
|
|
|
|
|
UnknownText_0x1a48c3: ; 0x1a48c3
|
2014-03-05 21:29:44 -08:00
|
|
|
text "No. Only chosen"
|
|
|
|
line "trainers may train"
|
|
|
|
|
|
|
|
para "here."
|
|
|
|
line "Please leave."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a48fb
|
|
|
|
|
|
|
|
UnknownText_0x1a48fb: ; 0x1a48fb
|
2014-03-05 21:29:44 -08:00
|
|
|
text "If CLAIR allows"
|
|
|
|
line "it, her grand-"
|
|
|
|
cont "father--our MASTER"
|
|
|
|
cont "--will also."
|
|
|
|
|
|
|
|
para "You may enter."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a494a
|
|
|
|
|
|
|
|
UnknownText_0x1a494a: ; 0x1a494a
|
2014-03-05 21:29:44 -08:00
|
|
|
text "My radio's busted?"
|
|
|
|
line "Lately, I only get"
|
|
|
|
cont "this weird signal."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a4983
|
|
|
|
|
|
|
|
UnknownText_0x1a4983: ; 0x1a4983
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Arooo! Voices in"
|
|
|
|
line "my head!"
|
|
|
|
|
|
|
|
para "Huh? I'm listening"
|
|
|
|
line "to my radio!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a49bd
|
|
|
|
|
|
|
|
UnknownText_0x1a49bd: ; 0x1a49bd
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Are you going to"
|
|
|
|
line "make your #MON"
|
|
|
|
cont "forget some moves?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a49f1
|
|
|
|
|
|
|
|
UnknownText_0x1a49f1: ; 0x1a49f1
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Dragon masters all"
|
|
|
|
line "come from the city"
|
|
|
|
cont "of BLACKTHORN."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a4a27
|
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
MeetSantosText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SANTOS: …"
|
|
|
|
|
|
|
|
para "It's Saturday…"
|
|
|
|
|
|
|
|
para "I'm SANTOS of"
|
|
|
|
line "Saturday…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
SantosGivesGiftText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You can have this…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
SantosGaveGiftText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SANTOS: …"
|
|
|
|
|
|
|
|
para "SPELL TAG…"
|
|
|
|
|
|
|
|
para "Ghost-type moves"
|
|
|
|
line "get stronger…"
|
|
|
|
|
|
|
|
para "It will frighten"
|
|
|
|
line "you…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
SantosSaturdayText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SANTOS: …"
|
|
|
|
|
|
|
|
para "See you again on"
|
|
|
|
line "another Saturday…"
|
|
|
|
|
|
|
|
para "I won't have any"
|
|
|
|
line "more gifts…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
SantosNotSaturdayText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SANTOS: Today's"
|
|
|
|
line "not Saturday…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
UnknownText_0x1a4b1e: ; 0x1a4b1e
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Wow, you came"
|
|
|
|
line "through the ICE"
|
|
|
|
cont "PATH?"
|
|
|
|
|
|
|
|
para "You must be a real"
|
|
|
|
line "hotshot trainer!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a4b67
|
|
|
|
|
|
|
|
UnknownText_0x1a4b67: ; 0x1a4b67
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BLACKTHORN CITY"
|
|
|
|
|
|
|
|
para "A Quiet Mountain"
|
|
|
|
line "Retreat"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a4b91
|
|
|
|
|
|
|
|
UnknownText_0x1a4b91: ; 0x1a4b91
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BLACKTHORN CITY"
|
|
|
|
line "#MON GYM"
|
|
|
|
cont "LEADER: CLAIR"
|
|
|
|
|
|
|
|
para "The Blessed User"
|
|
|
|
line "of Dragon #MON"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a4bd9
|
|
|
|
|
|
|
|
UnknownText_0x1a4bd9: ; 0x1a4bd9
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MOVE DELETER'S"
|
|
|
|
line "HOUSE"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a4bef
|
|
|
|
|
|
|
|
UnknownText_0x1a4bef: ; 0x1a4bef
|
2014-03-05 21:29:44 -08:00
|
|
|
text "DRAGON'S DEN"
|
|
|
|
line "AHEAD"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a4c03
|
|
|
|
|
|
|
|
UnknownText_0x1a4c03: ; 0x1a4c03
|
2014-03-05 21:29:44 -08:00
|
|
|
text "TRAINER TIPS"
|
|
|
|
|
|
|
|
para "A #MON holding"
|
|
|
|
line "a MIRACLEBERRY"
|
|
|
|
|
|
|
|
para "will cure itself"
|
|
|
|
line "of any status"
|
|
|
|
cont "problem."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a4c57
|
|
|
|
|
|
|
|
BlackthornCity_MapEventHeader: ; 0x1a4c57
|
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 8
|
|
|
|
warp_def $b, $12, 1, GROUP_BLACKTHORN_GYM_1F, MAP_BLACKTHORN_GYM_1F
|
|
|
|
warp_def $15, $d, 1, GROUP_BLACKTHORN_DRAGON_SPEECH_HOUSE, MAP_BLACKTHORN_DRAGON_SPEECH_HOUSE
|
|
|
|
warp_def $17, $1d, 1, GROUP_BLACKTHORN_DODRIO_TRADE_HOUSE, MAP_BLACKTHORN_DODRIO_TRADE_HOUSE
|
|
|
|
warp_def $1d, $f, 2, GROUP_BLACKTHORN_MART, MAP_BLACKTHORN_MART
|
|
|
|
warp_def $1d, $15, 1, GROUP_BLACKTHORN_POKECENTER_1F, MAP_BLACKTHORN_POKECENTER_1F
|
|
|
|
warp_def $1f, $9, 1, GROUP_MOVE_DELETERS_HOUSE, MAP_MOVE_DELETERS_HOUSE
|
|
|
|
warp_def $9, $24, 2, GROUP_ICE_PATH_1F, MAP_ICE_PATH_1F
|
|
|
|
warp_def $1, $14, 1, GROUP_DRAGONS_DEN_1F, MAP_DRAGONS_DEN_1F
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 7
|
|
|
|
signpost 24, 34, $0, MapBlackthornCitySignpost0Script
|
|
|
|
signpost 13, 17, $0, MapBlackthornCitySignpost1Script
|
|
|
|
signpost 31, 7, $0, MapBlackthornCitySignpost2Script
|
|
|
|
signpost 3, 21, $0, MapBlackthornCitySignpost3Script
|
|
|
|
signpost 25, 5, $0, MapBlackthornCitySignpost4Script
|
|
|
|
signpost 29, 16, $0, MapBlackthornCitySignpost5Script
|
|
|
|
signpost 29, 22, $0, MapBlackthornCitySignpost6Script
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 9
|
2013-07-12 14:06:11 -07:00
|
|
|
person_event SPRITE_SUPER_NERD, 16, 22, $6, $0, 255, 255, $80, 0, SuperNerdScript_0x1a46e8, $06e3
|
|
|
|
person_event SPRITE_SUPER_NERD, 16, 23, $6, $0, 255, 255, $80, 0, SuperNerdScript_0x1a46e8, $06e4
|
|
|
|
person_event SPRITE_GRAMPS, 6, 24, $6, $0, 255, 255, $0, 0, GrampsScript_0x1a4708, $074c
|
|
|
|
person_event SPRITE_GRAMPS, 6, 25, $8, $0, 255, 255, $0, 0, GrampsScript_0x1a470b, $074d
|
|
|
|
person_event SPRITE_BLACK_BELT, 35, 28, $5, $1, 255, 255, $90, 0, BlackBeltScript_0x1a470e, $ffff
|
|
|
|
person_event SPRITE_COOLTRAINER_F, 29, 13, $5, $2, 255, 255, $80, 0, CooltrainerFScript_0x1a4722, $ffff
|
|
|
|
person_event SPRITE_YOUNGSTER, 19, 17, $5, $1, 255, 255, $0, 0, YoungsterScript_0x1a4725, $ffff
|
2014-10-26 18:37:15 -07:00
|
|
|
person_event SPRITE_YOUNGSTER, 24, 26, $6, $0, 255, 255, $0, 0, SantosScript, $075d
|
2013-07-12 14:06:11 -07:00
|
|
|
person_event SPRITE_COOLTRAINER_F, 23, 39, $7, $0, 255, 255, $a0, 0, CooltrainerFScript_0x1a4728, $ffff
|