pokecrystal-board/maps/AzaleaTown.asm

497 lines
9.4 KiB
NASM
Raw Normal View History

2015-06-25 22:30:16 -07:00
AzaleaTown_MapScriptHeader:
; trigger count
db 3
; triggers
2015-06-25 22:30:16 -07:00
dw .Trigger1, $0000
dw .Trigger2, $0000
dw .Trigger3, $0000
; callback count
db 1
; callbacks
2015-06-25 22:30:16 -07:00
dbw 5, .Flypoint
2015-06-25 22:30:16 -07:00
.Trigger1
end
2015-06-25 22:30:16 -07:00
.Trigger2
end
2015-06-25 22:30:16 -07:00
.Trigger3
end
2015-06-25 22:30:16 -07:00
.Flypoint
setflag ENGINE_FLYPOINT_AZALEA
return
2015-06-25 22:30:16 -07:00
UnknownScript_0x198018:
moveperson $b, $b, $b
spriteface $0, RIGHT
showemote $0, $0, 15
special Functionc48f
pause 15
appear $b
applymovement $b, MovementData_0x198134
spriteface $0, DOWN
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x198049
2015-06-25 22:30:16 -07:00
UnknownScript_0x198034:
spriteface $0, RIGHT
showemote $0, $0, 15
special Functionc48f
pause 15
appear $b
applymovement $b, MovementData_0x19813c
spriteface $0, UP
2015-06-25 22:30:16 -07:00
UnknownScript_0x198049:
playmusic MUSIC_RIVAL_ENCOUNTER
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19814d
closetext
loadmovesprites
2013-09-24 00:48:58 -07:00
setevent $06bf
checkevent EVENT_GOT_TOTODILE_FROM_ELM
iftrue UnknownScript_0x198071
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
iftrue UnknownScript_0x198081
winlosstext UnknownText_0x1981e6, UnknownText_0x19835b
setlasttalked $b
loadtrainer RIVAL1, RIVAL1_6
startbattle
reloadmapmusic
returnafterbattle
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x198091
2015-06-25 22:30:16 -07:00
UnknownScript_0x198071:
winlosstext UnknownText_0x1981e6, UnknownText_0x19835b
setlasttalked $b
loadtrainer RIVAL1, RIVAL1_4
startbattle
reloadmapmusic
returnafterbattle
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x198091
2015-06-25 22:30:16 -07:00
UnknownScript_0x198081:
winlosstext UnknownText_0x1981e6, UnknownText_0x19835b
setlasttalked $b
loadtrainer RIVAL1, RIVAL1_5
startbattle
reloadmapmusic
returnafterbattle
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x198091
2015-06-25 22:30:16 -07:00
UnknownScript_0x198091:
playmusic MUSIC_RIVAL_AFTER
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x198233
closetext
loadmovesprites
spriteface $0, LEFT
applymovement $b, MovementData_0x198144
playsound SFX_EXIT_BUILDING
disappear $b
dotrigger $0
waitbutton
playmapmusic
end
2015-06-25 22:30:16 -07:00
AzaleaRocketScript_0x1980ab:
jumptextfaceplayer UnknownText_0x19837b
2015-06-25 22:30:16 -07:00
AzaleaRocketScript_0x1980ae:
jumptextfaceplayer UnknownText_0x1983c7
2015-06-25 22:30:16 -07:00
GrampsScript_0x1980b1:
faceplayer
loadfont
2013-09-24 00:48:58 -07:00
checkevent EVENT_CLEARED_SLOWPOKE_WELL
iftrue UnknownScript_0x1980bf
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19841b
closetext
loadmovesprites
end
2015-06-25 22:30:16 -07:00
UnknownScript_0x1980bf:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x198473
closetext
loadmovesprites
end
2015-06-25 22:30:16 -07:00
TeacherScript_0x1980c5:
jumptextfaceplayer UnknownText_0x1984ce
2015-06-25 22:30:16 -07:00
YoungsterScript_0x1980c8:
jumptextfaceplayer UnknownText_0x19851a
2015-06-25 22:30:16 -07:00
SlowpokeScript_0x1980cb:
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1985b0
pause 60
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1985c3
cry SLOWPOKE
closetext
loadmovesprites
end
2015-06-25 22:30:16 -07:00
WoosterScript:
2014-04-17 19:06:30 -07:00
; unused
faceplayer
loadfont
2015-01-20 00:01:23 -08:00
writetext WoosterText
2014-04-17 19:06:30 -07:00
cry QUAGSIRE
closetext
loadmovesprites
end
2015-06-25 22:30:16 -07:00
UnknownScript_0x1980e5:
applymovement $0, MovementData_0x198148
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1985df
keeptextopen
spriteface $d, RIGHT
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19860b
keeptextopen
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x198628
closetext
verbosegiveitem GS_BALL, 1
spriteface $d, LEFT
2015-07-10 05:08:03 -07:00
setflag ENGINE_HAVE_EXAMINED_GS_BALL
2013-09-24 00:48:58 -07:00
clearevent $06ed
setevent $06eb
dotrigger $0
loadmovesprites
end
2015-06-25 22:30:16 -07:00
KurtOutsideScript_0x19810c:
faceplayer
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x198628
closetext
spriteface $d, LEFT
loadmovesprites
end
2015-06-25 21:01:08 -07:00
AzaleaTownSign:
jumptext AzaleaTownSignText
2015-06-25 21:01:08 -07:00
KurtsHouseSign:
jumptext KurtsHouseSignText
2015-06-25 21:01:08 -07:00
AzaleaGymSign:
jumptext AzaleaGymSignText
2015-06-25 21:01:08 -07:00
SlowpokeWellSign:
jumptext SlowpokeWellSignText
2015-06-25 21:01:08 -07:00
CharcoalKilnSign:
jumptext CharcoalKilnSignText
2015-06-25 21:01:08 -07:00
AzaleaTownIlextForestSign:
jumptext AzaleaTownIlexForestSignText
2015-06-25 21:01:08 -07:00
AzaleaTownPokeCenterSign:
2015-06-23 14:02:58 -07:00
jumpstd pokecentersign
2015-06-25 21:01:08 -07:00
AzaleaTownMartSign:
2015-06-23 14:02:58 -07:00
jumpstd martsign
2015-06-25 21:01:08 -07:00
WhiteApricornTree:
fruittree $14
2015-06-25 22:30:16 -07:00
MapAzaleaTownSignpostItem8:
dw $00b1
db FULL_HEAL
2015-06-25 22:30:16 -07:00
MovementData_0x198134:
step_left
step_left
step_left
step_left
step_left
step_left
turn_head_up
step_end
2015-06-25 22:30:16 -07:00
MovementData_0x19813c:
step_left
step_left
step_left
step_left
step_left
step_left
turn_head_down
step_end
2015-06-25 22:30:16 -07:00
MovementData_0x198144:
step_left
step_left
step_left
step_end
2015-06-25 22:30:16 -07:00
MovementData_0x198148:
step_left
step_left
step_up
turn_head_left
step_end
2015-06-25 22:30:16 -07:00
UnknownText_0x19814d:
text "…Tell me some-"
line "thing."
para "Is it true that"
line "TEAM ROCKET has"
cont "returned?"
para "What? You beat"
line "them? Hah! Quit"
cont "lying."
para "You're not joking?"
line "Then let's see how"
cont "good you are."
done
2015-06-25 22:30:16 -07:00
UnknownText_0x1981e6:
text "… Humph! Useless"
line "#MON!"
para "Listen, you. You"
line "only won because"
para "my #MON were"
line "weak."
done
2015-06-25 22:30:16 -07:00
UnknownText_0x198233:
text "I hate the weak."
para "#MON, trainers."
line "It doesn't matter"
cont "who or what."
para "I'm going to be"
line "strong and wipe"
cont "out the weak."
para "That goes for TEAM"
line "ROCKET too."
para "They act big and"
line "tough in a group."
para "But get them"
line "alone, and they're"
cont "weak."
para "I hate them all."
para "You stay out of my"
line "way. A weakling"
para "like you is only a"
line "distraction."
done
2015-06-25 22:30:16 -07:00
UnknownText_0x19835b:
text "…Humph! I knew"
line "you were lying."
done
2015-06-25 22:30:16 -07:00
UnknownText_0x19837b:
text "It's unsafe to go"
line "in there, so I'm"
cont "standing guard."
para "Aren't I a good"
line "Samaritan?"
done
2015-06-25 22:30:16 -07:00
UnknownText_0x1983c7:
text "Do you know about"
line "SLOWPOKETAIL? I"
cont "heard it's tasty!"
para "Aren't you glad I"
line "told you that?"
done
2015-06-25 22:30:16 -07:00
UnknownText_0x19841b:
text "The SLOWPOKE have"
line "disappeared from"
cont "town…"
para "I heard their"
line "TAILS are being"
cont "sold somewhere."
done
2015-06-25 22:30:16 -07:00
UnknownText_0x198473:
text "The SLOWPOKE have"
line "returned."
para "Knowing them, they"
line "could've just been"
para "goofing off some-"
line "where."
done
2015-06-25 22:30:16 -07:00
UnknownText_0x1984ce:
text "Did you come to"
line "get KURT to make"
cont "some BALLS?"
para "A lot of people do"
line "just that."
done
2015-06-25 22:30:16 -07:00
UnknownText_0x19851a:
text "Cut through AZALEA"
line "and you'll be in"
cont "ILEX FOREST."
para "But these skinny"
line "trees make it"
para "impossible to get"
line "through."
para "The CHARCOAL MAN's"
line "#MON can CUT"
cont "down trees."
done
2015-06-25 22:30:16 -07:00
UnknownText_0x1985b0:
text "SLOWPOKE: …"
para $56, " ", $56, " ", $56
done
2015-06-25 22:30:16 -07:00
UnknownText_0x1985c3:
text $56, " ", $56, "Yawn?"
done
2015-06-25 22:30:16 -07:00
WoosterText:
text "WOOSTER: Gugyoo…"
done
2015-06-25 22:30:16 -07:00
UnknownText_0x1985df:
text "ILEX FOREST is"
line "restless!"
para "What is going on?"
done
2015-06-25 22:30:16 -07:00
UnknownText_0x19860b:
text "<PLAYER>, here's"
line "your GS BALL back!"
done
2015-06-25 22:30:16 -07:00
UnknownText_0x198628:
text "Could you go see"
line "why ILEX FOREST is"
cont "so restless?"
done
2015-06-25 21:01:08 -07:00
AzaleaTownSignText:
text "AZALEA TOWN"
line "Where People and"
para "#MON Live in"
line "Happy Harmony"
done
2015-06-25 21:01:08 -07:00
KurtsHouseSignText:
text "KURT'S HOUSE"
done
2015-06-25 21:01:08 -07:00
AzaleaGymSignText:
text "AZALEA TOWN"
line "#MON GYM"
cont "LEADER: BUGSY"
para "The Walking"
line "Bug #MON"
cont "Encyclopedia"
done
2015-06-25 21:01:08 -07:00
SlowpokeWellSignText:
text "SLOWPOKE WELL"
para "Also known as the"
line "RAINMAKER WELL."
para "Locals believe"
line "that a SLOWPOKE's"
cont "yawn summons rain."
para "Records show that"
line "a SLOWPOKE's yawn"
para "ended a drought"
line "400 years ago."
done
2015-06-25 21:01:08 -07:00
CharcoalKilnSignText:
text "CHARCOAL KILN"
done
2015-06-25 21:01:08 -07:00
AzaleaTownIlexForestSignText:
text "ILEX FOREST"
para "Enter through the"
line "gate."
done
2015-06-25 22:30:16 -07:00
AzaleaTown_MapEventHeader:
; filler
db 0, 0
; warps
db 8
warp_def $9, $f, 1, GROUP_AZALEA_POKECENTER_1F, MAP_AZALEA_POKECENTER_1F
warp_def $d, $15, 1, GROUP_CHARCOAL_KILN, MAP_CHARCOAL_KILN
warp_def $5, $15, 2, GROUP_AZALEA_MART, MAP_AZALEA_MART
warp_def $5, $9, 1, GROUP_KURTS_HOUSE, MAP_KURTS_HOUSE
warp_def $f, $a, 1, GROUP_AZALEA_GYM, MAP_AZALEA_GYM
warp_def $7, $1f, 1, GROUP_SLOWPOKE_WELL_B1F, MAP_SLOWPOKE_WELL_B1F
warp_def $a, $2, 3, GROUP_ILEX_FOREST_AZALEA_GATE, MAP_ILEX_FOREST_AZALEA_GATE
warp_def $b, $2, 4, GROUP_ILEX_FOREST_AZALEA_GATE, MAP_ILEX_FOREST_AZALEA_GATE
; xy triggers
db 3
xy_trigger 1, $a, $5, $0, UnknownScript_0x198018, $0, $0
xy_trigger 1, $b, $5, $0, UnknownScript_0x198034, $0, $0
xy_trigger 2, $6, $9, $0, UnknownScript_0x1980e5, $0, $0
; signposts
db 9
2015-06-25 21:01:08 -07:00
signpost 9, 19, $0, AzaleaTownSign
signpost 9, 10, $0, KurtsHouseSign
signpost 15, 14, $0, AzaleaGymSign
signpost 7, 29, $0, SlowpokeWellSign
signpost 13, 19, $0, CharcoalKilnSign
signpost 9, 16, $0, AzaleaTownPokeCenterSign
signpost 5, 22, $0, AzaleaTownMartSign
signpost 9, 3, $0, AzaleaTownIlextForestSign
signpost 6, 31, $7, MapAzaleaTownSignpostItem8
; people-events
db 12
2013-07-12 14:06:11 -07:00
person_event SPRITE_AZALEA_ROCKET, 13, 35, $6, $0, 255, 255, $0, 0, AzaleaRocketScript_0x1980ab, $06fa
person_event SPRITE_GRAMPS, 13, 25, $2, $21, 255, 255, $0, 0, GrampsScript_0x1980b1, $ffff
person_event SPRITE_TEACHER, 17, 19, $4, $20, 255, 255, $90, 0, TeacherScript_0x1980c5, $ffff
person_event SPRITE_YOUNGSTER, 13, 11, $5, $1, 255, 255, $a0, 0, YoungsterScript_0x1980c8, $ffff
person_event SPRITE_SLOWPOKE, 21, 12, $1, $0, 255, 255, $0, 0, SlowpokeScript_0x1980cb, $06f9
person_event SPRITE_SLOWPOKE, 13, 22, $1, $0, 255, 255, $0, 0, SlowpokeScript_0x1980cb, $06f9
person_event SPRITE_SLOWPOKE, 13, 33, $1, $0, 255, 255, $0, 0, SlowpokeScript_0x1980cb, $06f9
person_event SPRITE_SLOWPOKE, 19, 19, $1, $0, 255, 255, $0, 0, SlowpokeScript_0x1980cb, $06f9
2015-06-25 21:01:08 -07:00
person_event SPRITE_FRUIT_TREE, 6, 12, $1, $0, 255, 255, $0, 0, WhiteApricornTree, $ffff
2013-07-12 14:06:11 -07:00
person_event SPRITE_AZALEA_ROCKET, 14, 15, $8, $0, 255, 255, $0, 0, ObjectEvent, $06bf
person_event SPRITE_AZALEA_ROCKET, 20, 14, $6, $0, 255, 255, $0, 0, AzaleaRocketScript_0x1980ae, $06fc
person_event SPRITE_KURT_OUTSIDE, 9, 10, $8, $0, 255, 255, $0, 0, KurtOutsideScript_0x19810c, $07a4