pokecrystal/maps/Route33.asm

212 lines
4.0 KiB
NASM
Raw Normal View History

2015-07-10 08:20:21 +00:00
Route33_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 08:20:21 +00:00
LassScript_0x1ac002:
jumptextfaceplayer UnknownText_0x1ac1e7
2015-07-10 08:20:21 +00:00
TrainerHikerAnthony:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_HIKER_ANTHONY, HIKER, ANTHONY2, HikerAnthony2SeenText, HikerAnthony2BeatenText, 0, HikerAnthony2Script
2015-07-10 08:20:21 +00:00
HikerAnthony2Script:
writecode VAR_CALLERID, PHONE_HIKER_ANTHONY
talkaftercancel
loadfont
checkflag ENGINE_ANTHONY
iftrue UnknownScript_0x1ac051
2015-07-10 12:08:03 +00:00
checkflag ENGINE_DUNSPARCE_SWARM
iftrue UnknownScript_0x1ac0c5
checkcellnum PHONE_HIKER_ANTHONY
iftrue UnknownScript_0x1ac0d7
checkevent EVENT_ANTHONY_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1ac03a
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1ac153
keeptextopen
setevent EVENT_ANTHONY_ASKED_FOR_PHONE_NUMBER
2015-01-20 08:01:23 +00:00
scall UnknownScript_0x1ac0cb
jump UnknownScript_0x1ac03d
2015-07-10 08:20:21 +00:00
UnknownScript_0x1ac03a:
2015-01-20 08:01:23 +00:00
scall UnknownScript_0x1ac0cf
2015-07-10 08:20:21 +00:00
UnknownScript_0x1ac03d:
askforphonenumber PHONE_HIKER_ANTHONY
if_equal $1, UnknownScript_0x1ac0df
if_equal $2, UnknownScript_0x1ac0db
trainertotext HIKER, ANTHONY2, $0
2015-01-20 08:01:23 +00:00
scall UnknownScript_0x1ac0d3
jump UnknownScript_0x1ac0d7
2015-07-10 08:20:21 +00:00
UnknownScript_0x1ac051:
2015-01-20 08:01:23 +00:00
scall UnknownScript_0x1ac0e3
2015-11-02 19:37:02 +00:00
winlosstext HikerAnthony2BeatenText, 0
2015-07-10 20:04:00 +00:00
copybytetovar wAnthonyFightCount
if_equal 4, .Fight4
if_equal 3, .Fight3
if_equal 2, .Fight2
if_equal 1, .Fight1
if_equal 0, .LoadFight0
.Fight4
2013-09-24 07:48:58 +00:00
checkevent EVENT_RESTORED_POWER_TO_KANTO
iftrue .LoadFight4
.Fight3
2015-06-25 03:20:04 +00:00
checkevent EVENT_BEAT_ELITE_FOUR
iftrue .LoadFight3
.Fight2
2013-09-24 07:48:58 +00:00
checkevent EVENT_CLEARED_RADIO_TOWER
iftrue .LoadFight2
.Fight1
checkflag ENGINE_FLYPOINT_OLIVINE
iftrue .LoadFight1
.LoadFight0
loadtrainer HIKER, ANTHONY2
startbattle
returnafterbattle
2015-07-10 20:04:00 +00:00
loadvar wAnthonyFightCount, 1
clearflag ENGINE_ANTHONY
end
.LoadFight1
loadtrainer HIKER, ANTHONY1
startbattle
returnafterbattle
2015-07-10 20:04:00 +00:00
loadvar wAnthonyFightCount, 2
clearflag ENGINE_ANTHONY
end
.LoadFight2
loadtrainer HIKER, ANTHONY3
startbattle
returnafterbattle
2015-07-10 20:04:00 +00:00
loadvar wAnthonyFightCount, 3
clearflag ENGINE_ANTHONY
end
.LoadFight3
loadtrainer HIKER, ANTHONY4
startbattle
returnafterbattle
2015-07-10 20:04:00 +00:00
loadvar wAnthonyFightCount, 4
clearflag ENGINE_ANTHONY
end
.LoadFight4
loadtrainer HIKER, ANTHONY5
startbattle
returnafterbattle
clearflag ENGINE_ANTHONY
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x1ac0c5:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1ac180
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x1ac0cb:
2015-06-25 01:26:24 +00:00
jumpstd asknumber1m
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x1ac0cf:
2015-06-25 01:26:24 +00:00
jumpstd asknumber2m
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x1ac0d3:
2015-06-25 01:26:24 +00:00
jumpstd registerednumberm
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x1ac0d7:
2015-06-25 01:26:24 +00:00
jumpstd numberacceptedm
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x1ac0db:
2015-06-25 01:26:24 +00:00
jumpstd numberdeclinedm
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x1ac0df:
2015-06-25 01:26:24 +00:00
jumpstd phonefullm
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x1ac0e3:
2015-06-25 01:26:24 +00:00
jumpstd rematchm
end
2015-07-10 08:20:21 +00:00
MapRoute33Signpost0Script:
jumptext UnknownText_0x1ac279
2015-07-10 08:20:21 +00:00
FruitTreeScript_0x1ac0ea:
fruittree $6
2015-07-10 08:20:21 +00:00
HikerAnthony2SeenText:
text "I came through the"
line "tunnel, but I"
para "still have plenty"
line "of energy left."
done
2015-07-10 08:20:21 +00:00
HikerAnthony2BeatenText:
text "Whoa! You've got"
line "more zip than me!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1ac153:
text "We HIKERS are at"
line "our best in the"
cont "mountains."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1ac180:
text "Hey, did you get a"
line "DUNSPARCE?"
para "I caught one too."
para "Take a look at it"
line "in the light. It's"
cont "got a funny face!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1ac1e7:
text "Pant, pant…"
para "I finally got"
line "through that cave."
para "It was much bigger"
line "than I'd expected."
para "I got too tired to"
line "explore the whole"
para "thing, so I came"
line "outside."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1ac279:
text "ROUTE 33"
done
2015-07-10 08:20:21 +00:00
Route33_MapEventHeader:
; filler
db 0, 0
.Warps:
db 1
warp_def $9, $b, 3, UNION_CAVE_1F
.XYTriggers:
db 0
.Signposts:
db 1
signpost 11, 11, SIGNPOST_READ, MapRoute33Signpost0Script
.PersonEvents:
db 3
2015-11-01 01:05:02 +00:00
person_event SPRITE_POKEFAN_M, 13, 6, SPRITEMOVEDATA_0A, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, 2, 2, TrainerHikerAnthony, -1
person_event SPRITE_LASS, 16, 13, SPRITEMOVEDATA_02, 1, 1, -1, -1, (1 << 3) | PAL_OW_BLUE, 0, 0, LassScript_0x1ac002, -1
person_event SPRITE_FRUIT_TREE, 16, 14, SPRITEMOVEDATA_01, 0, 0, -1, -1, 0, 0, 0, FruitTreeScript_0x1ac0ea, -1