pokecrystal/maps/BlackthornCity.asm

356 lines
7.5 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const BLACKTHORNCITY_SUPER_NERD1
const BLACKTHORNCITY_SUPER_NERD2
const BLACKTHORNCITY_GRAMPS1
const BLACKTHORNCITY_GRAMPS2
const BLACKTHORNCITY_BLACK_BELT
const BLACKTHORNCITY_COOLTRAINER_F1
const BLACKTHORNCITY_YOUNGSTER1
const BLACKTHORNCITY_YOUNGSTER2
const BLACKTHORNCITY_COOLTRAINER_F2
2015-06-26 05:30:16 +00:00
BlackthornCity_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 2
; callbacks
2015-06-26 05:30:16 +00:00
dbw 5, .FlyPoint
dbw 2, .Santos
2015-06-26 05:30:16 +00:00
.FlyPoint
setflag ENGINE_FLYPOINT_BLACKTHORN
return
2015-06-26 05:30:16 +00:00
.Santos
checkcode VAR_WEEKDAY
2014-10-27 01:37:15 +00:00
if_equal SATURDAY, .SantosAppears
2015-11-27 05:22:14 +00:00
disappear BLACKTHORNCITY_YOUNGSTER2
return
2014-10-27 01:37:15 +00:00
.SantosAppears
2015-11-27 05:22:14 +00:00
appear BLACKTHORNCITY_YOUNGSTER2
return
2015-06-26 05:30:16 +00:00
SuperNerdScript_0x1a46e8:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_BEAT_CLAIR
iftrue UnknownScript_0x1a4702
2013-09-24 07:48:58 +00:00
checkevent EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x1a46fc
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a477a
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 05:30:16 +00:00
UnknownScript_0x1a46fc:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a47f3
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 05:30:16 +00:00
UnknownScript_0x1a4702:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a4865
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 05:30:16 +00:00
GrampsScript_0x1a4708:
jumptextfaceplayer UnknownText_0x1a48c3
2015-06-26 05:30:16 +00:00
GrampsScript_0x1a470b:
jumptextfaceplayer UnknownText_0x1a48fb
2015-06-26 05:30:16 +00:00
BlackBeltScript_0x1a470e:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x1a471c
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a494a
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 05:30:16 +00:00
UnknownScript_0x1a471c:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a4983
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 05:30:16 +00:00
CooltrainerFScript_0x1a4722:
jumptextfaceplayer UnknownText_0x1a49bd
2015-06-26 05:30:16 +00:00
YoungsterScript_0x1a4725:
jumptextfaceplayer UnknownText_0x1a49f1
2015-06-26 05:30:16 +00:00
CooltrainerFScript_0x1a4728:
jumptextfaceplayer UnknownText_0x1a4b1e
2014-10-27 01:37:15 +00:00
SantosScript:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_SPELL_TAG_FROM_SANTOS
2014-10-27 01:37:15 +00:00
iftrue SantosSaturdayScript
checkcode VAR_WEEKDAY
2014-10-27 01:37:15 +00:00
if_not_equal SATURDAY, SantosNotSaturdayScript
2013-09-24 07:48:58 +00:00
checkevent EVENT_MET_SANTOS_OF_SATURDAY
2014-10-27 01:37:15 +00:00
iftrue .MetSantos
2015-01-20 08:01:23 +00:00
writetext MeetSantosText
2015-11-30 03:29:45 +00:00
buttonsound
2013-09-24 07:48:58 +00:00
setevent EVENT_MET_SANTOS_OF_SATURDAY
2014-10-27 01:37:15 +00:00
.MetSantos
2015-01-20 08:01:23 +00:00
writetext SantosGivesGiftText
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-05 01:20:14 +00:00
verbosegiveitem SPELL_TAG
2014-10-27 01:37:15 +00:00
iffalse SantosDoneScript
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_SPELL_TAG_FROM_SANTOS
2015-01-20 08:01:23 +00:00
writetext SantosGaveGiftText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2014-10-27 01:37:15 +00:00
SantosSaturdayScript:
2015-01-20 08:01:23 +00:00
writetext SantosSaturdayText
2015-11-25 15:16:29 +00:00
waitbutton
2014-10-27 01:37:15 +00:00
SantosDoneScript:
2015-11-25 15:16:29 +00:00
closetext
end
2014-10-27 01:37:15 +00:00
SantosNotSaturdayScript:
2015-01-20 08:01:23 +00:00
writetext SantosNotSaturdayText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
BlackthornCitySign:
jumptext BlackthornCitySignText
2015-06-26 04:01:08 +00:00
BlackthornGymSign:
jumptext BlackthornGymSignText
2015-06-26 04:01:08 +00:00
MoveDeletersHouseSign:
jumptext MoveDeletersHouseSignText
2015-06-26 04:01:08 +00:00
DragonDensSign:
jumptext DragonDensSignText
2015-06-26 04:01:08 +00:00
BlackthornCityTrainerTips:
jumptext BlackthornCityTrainerTipsText
2015-06-26 04:01:08 +00:00
BlackthornCityPokeCenterSign:
2015-06-23 21:02:58 +00:00
jumpstd pokecentersign
2015-06-26 04:01:08 +00:00
BlackthornCityMartSign:
2015-06-23 21:02:58 +00:00
jumpstd martsign
2015-06-26 05:30:16 +00:00
UnknownText_0x1a477a:
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
2015-06-26 05:30:16 +00:00
UnknownText_0x1a47f3:
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
2015-06-26 05:30:16 +00:00
UnknownText_0x1a4865:
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
2015-06-26 05:30:16 +00:00
UnknownText_0x1a48c3:
text "No. Only chosen"
line "trainers may train"
para "here."
line "Please leave."
done
2015-06-26 05:30:16 +00:00
UnknownText_0x1a48fb:
text "If CLAIR allows"
line "it, her grand-"
cont "father--our MASTER"
cont "--will also."
para "You may enter."
done
2015-06-26 05:30:16 +00:00
UnknownText_0x1a494a:
text "My radio's busted?"
line "Lately, I only get"
cont "this weird signal."
done
2015-06-26 05:30:16 +00:00
UnknownText_0x1a4983:
text "Arooo! Voices in"
line "my head!"
para "Huh? I'm listening"
line "to my radio!"
done
2015-06-26 05:30:16 +00:00
UnknownText_0x1a49bd:
text "Are you going to"
line "make your #MON"
cont "forget some moves?"
done
2015-06-26 05:30:16 +00:00
UnknownText_0x1a49f1:
text "Dragon masters all"
line "come from the city"
cont "of BLACKTHORN."
done
2014-10-27 01:37:15 +00:00
MeetSantosText:
text "SANTOS: …"
para "It's Saturday…"
para "I'm SANTOS of"
line "Saturday…"
done
2014-10-27 01:37:15 +00:00
SantosGivesGiftText:
text "You can have this…"
done
2014-10-27 01:37:15 +00:00
SantosGaveGiftText:
text "SANTOS: …"
para "SPELL TAG…"
para "Ghost-type moves"
line "get stronger…"
para "It will frighten"
line "you…"
done
2014-10-27 01:37:15 +00:00
SantosSaturdayText:
text "SANTOS: …"
para "See you again on"
line "another Saturday…"
para "I won't have any"
line "more gifts…"
done
2014-10-27 01:37:15 +00:00
SantosNotSaturdayText:
text "SANTOS: Today's"
line "not Saturday…"
done
2015-06-26 05:30:16 +00:00
UnknownText_0x1a4b1e:
text "Wow, you came"
line "through the ICE"
cont "PATH?"
para "You must be a real"
line "hotshot trainer!"
done
2015-06-26 04:01:08 +00:00
BlackthornCitySignText:
text "BLACKTHORN CITY"
para "A Quiet Mountain"
line "Retreat"
done
2015-06-26 05:30:16 +00:00
BlackthornGymSignText:
text "BLACKTHORN CITY"
line "#MON GYM"
cont "LEADER: CLAIR"
para "The Blessed User"
line "of Dragon #MON"
done
2015-06-26 04:01:08 +00:00
MoveDeletersHouseSignText:
text "MOVE DELETER'S"
line "HOUSE"
done
2015-06-26 04:01:08 +00:00
DragonDensSignText:
text "DRAGON'S DEN"
line "AHEAD"
done
2015-06-26 05:30:16 +00:00
BlackthornCityTrainerTipsText:
text "TRAINER TIPS"
para "A #MON holding"
line "a MIRACLEBERRY"
para "will cure itself"
line "of any status"
cont "problem."
done
2015-06-26 05:30:16 +00:00
BlackthornCity_MapEventHeader:
; filler
db 0, 0
.Warps:
db 8
warp_def $b, $12, 1, BLACKTHORN_GYM_1F
warp_def $15, $d, 1, BLACKTHORN_DRAGON_SPEECH_HOUSE
warp_def $17, $1d, 1, BLACKTHORN_DODRIO_TRADE_HOUSE
warp_def $1d, $f, 2, BLACKTHORN_MART
warp_def $1d, $15, 1, BLACKTHORN_POKECENTER_1F
warp_def $1f, $9, 1, MOVE_DELETERS_HOUSE
warp_def $9, $24, 2, ICE_PATH_1F
warp_def $1, $14, 1, DRAGONS_DEN_1F
.XYTriggers:
db 0
.Signposts:
db 7
signpost 24, 34, SIGNPOST_READ, BlackthornCitySign
signpost 13, 17, SIGNPOST_READ, BlackthornGymSign
signpost 31, 7, SIGNPOST_READ, MoveDeletersHouseSign
signpost 3, 21, SIGNPOST_READ, DragonDensSign
signpost 25, 5, SIGNPOST_READ, BlackthornCityTrainerTips
signpost 29, 16, SIGNPOST_READ, BlackthornCityMartSign
signpost 29, 22, SIGNPOST_READ, BlackthornCityPokeCenterSign
.PersonEvents:
db 9
person_event SPRITE_SUPER_NERD, 12, 18, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, SuperNerdScript_0x1a46e8, EVENT_BLACKTHORN_CITY_SUPER_NERD_BLOCKS_GYM
person_event SPRITE_SUPER_NERD, 12, 19, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, SuperNerdScript_0x1a46e8, EVENT_BLACKTHORN_CITY_SUPER_NERD_DOES_NOT_BLOCK_GYM
person_event SPRITE_GRAMPS, 2, 20, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, GrampsScript_0x1a4708, EVENT_BLACKTHORN_CITY_GRAMPS_BLOCKS_DRAGONS_DEN
person_event SPRITE_GRAMPS, 2, 21, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, GrampsScript_0x1a470b, EVENT_BLACKTHORN_CITY_GRAMPS_NOT_BLOCKING_DRAGONS_DEN
person_event SPRITE_BLACK_BELT, 31, 24, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, BlackBeltScript_0x1a470e, -1
person_event SPRITE_COOLTRAINER_F, 25, 9, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 2, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, CooltrainerFScript_0x1a4722, -1
person_event SPRITE_YOUNGSTER, 15, 13, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, YoungsterScript_0x1a4725, -1
person_event SPRITE_YOUNGSTER, 20, 22, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, SantosScript, EVENT_BLACKTHORN_CITY_SANTOS_OF_SATURDAY
person_event SPRITE_COOLTRAINER_F, 19, 35, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, CooltrainerFScript_0x1a4728, -1