2015-07-10 01:20:21 -07:00
|
|
|
Route33_MapScriptHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 0
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
LassScript_0x1ac002:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x1ac1e7
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerHikerAnthony:
|
2013-02-16 22:54:07 -08:00
|
|
|
; bit/flag number
|
2015-07-10 01:20:21 -07:00
|
|
|
dw EVENT_BEAT_HIKER_ANTHONY
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db HIKER, ANTHONY2
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw HikerAnthony2SeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw HikerAnthony2BeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw HikerAnthony2Script
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
HikerAnthony2Script:
|
2015-07-09 19:08:03 -07:00
|
|
|
writecode VAR_CALLERID, $13
|
2013-02-16 22:54:07 -08:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-07-10 01:36:57 -07:00
|
|
|
checkflag ENGINE_ANTHONY
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1ac051
|
2013-09-24 00:51:42 -07:00
|
|
|
checkflag $00a0
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1ac0c5
|
|
|
|
checkcellnum $13
|
|
|
|
iftrue UnknownScript_0x1ac0d7
|
2015-07-10 03:31:08 -07:00
|
|
|
checkevent EVENT_ANTHONY_ASKED_FOR_PHONE_NUMBER
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1ac03a
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1ac153
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
2015-07-10 03:31:08 -07:00
|
|
|
setevent EVENT_ANTHONY_ASKED_FOR_PHONE_NUMBER
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x1ac0cb
|
|
|
|
jump UnknownScript_0x1ac03d
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x1ac03a:
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x1ac0cf
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x1ac03d:
|
2013-02-16 22:54:07 -08:00
|
|
|
askforphonenumber $13
|
|
|
|
if_equal $1, UnknownScript_0x1ac0df
|
|
|
|
if_equal $2, UnknownScript_0x1ac0db
|
|
|
|
trainertotext HIKER, ANTHONY2, $0
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x1ac0d3
|
|
|
|
jump UnknownScript_0x1ac0d7
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x1ac051:
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x1ac0e3
|
2013-02-16 22:54:07 -08:00
|
|
|
winlosstext HikerAnthony2BeatenText, $0000
|
2015-07-10 03:31:08 -07:00
|
|
|
copybytetovar AnthonyFightCount
|
|
|
|
if_equal 4, .Fight4
|
|
|
|
if_equal 3, .Fight3
|
|
|
|
if_equal 2, .Fight2
|
|
|
|
if_equal 1, .Fight1
|
|
|
|
if_equal 0, .LoadFight0
|
|
|
|
.Fight4
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_RESTORED_POWER_TO_KANTO
|
2015-07-10 03:31:08 -07:00
|
|
|
iftrue .LoadFight4
|
|
|
|
.Fight3
|
2015-06-24 20:20:04 -07:00
|
|
|
checkevent EVENT_BEAT_ELITE_FOUR
|
2015-07-10 03:31:08 -07:00
|
|
|
iftrue .LoadFight3
|
|
|
|
.Fight2
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
2015-07-10 03:31:08 -07:00
|
|
|
iftrue .LoadFight2
|
|
|
|
.Fight1
|
|
|
|
checkflag ENGINE_FLYPOINT_OLIVINE
|
|
|
|
iftrue .LoadFight1
|
|
|
|
.LoadFight0
|
2013-02-16 22:54:07 -08:00
|
|
|
loadtrainer HIKER, ANTHONY2
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2015-07-10 03:31:08 -07:00
|
|
|
loadvar AnthonyFightCount, 1
|
2015-07-10 01:36:57 -07:00
|
|
|
clearflag ENGINE_ANTHONY
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 03:31:08 -07:00
|
|
|
.LoadFight1
|
2013-02-16 22:54:07 -08:00
|
|
|
loadtrainer HIKER, ANTHONY1
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2015-07-10 03:31:08 -07:00
|
|
|
loadvar AnthonyFightCount, 2
|
2015-07-10 01:36:57 -07:00
|
|
|
clearflag ENGINE_ANTHONY
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 03:31:08 -07:00
|
|
|
.LoadFight2
|
2013-02-16 22:54:07 -08:00
|
|
|
loadtrainer HIKER, ANTHONY3
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2015-07-10 03:31:08 -07:00
|
|
|
loadvar AnthonyFightCount, 3
|
2015-07-10 01:36:57 -07:00
|
|
|
clearflag ENGINE_ANTHONY
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 03:31:08 -07:00
|
|
|
.LoadFight3
|
2013-02-16 22:54:07 -08:00
|
|
|
loadtrainer HIKER, ANTHONY4
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2015-07-10 03:31:08 -07:00
|
|
|
loadvar AnthonyFightCount, 4
|
2015-07-10 01:36:57 -07:00
|
|
|
clearflag ENGINE_ANTHONY
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 03:31:08 -07:00
|
|
|
.LoadFight4
|
2013-02-16 22:54:07 -08:00
|
|
|
loadtrainer HIKER, ANTHONY5
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2015-07-10 01:36:57 -07:00
|
|
|
clearflag ENGINE_ANTHONY
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x1ac0c5:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1ac180
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x1ac0cb:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd asknumber1m
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x1ac0cf:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd asknumber2m
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x1ac0d3:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd registerednumberm
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x1ac0d7:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd numberacceptedm
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x1ac0db:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd numberdeclinedm
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x1ac0df:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd phonefullm
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x1ac0e3:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd rematchm
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
MapRoute33Signpost0Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptext UnknownText_0x1ac279
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
FruitTreeScript_0x1ac0ea:
|
2013-02-16 22:54:07 -08:00
|
|
|
fruittree $6
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
HikerAnthony2SeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I came through the"
|
|
|
|
line "tunnel, but I"
|
|
|
|
|
|
|
|
para "still have plenty"
|
|
|
|
line "of energy left."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
HikerAnthony2BeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Whoa! You've got"
|
|
|
|
line "more zip than me!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownText_0x1ac153:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "We HIKERS are at"
|
|
|
|
line "our best in the"
|
|
|
|
cont "mountains."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownText_0x1ac180:
|
2014-03-05 21:29:44 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownText_0x1ac1e7:
|
2014-03-05 21:29:44 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownText_0x1ac279:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ROUTE 33"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
Route33_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 1
|
|
|
|
warp_def $9, $b, 3, GROUP_UNION_CAVE_1F, MAP_UNION_CAVE_1F
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 1
|
|
|
|
signpost 11, 11, $0, MapRoute33Signpost0Script
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 3
|
2015-07-10 01:20:21 -07:00
|
|
|
person_event SPRITE_POKEFAN_M, 17, 10, $a, $0, 255, 255, $b2, 2, TrainerHikerAnthony, $ffff
|
2013-07-12 14:06:11 -07:00
|
|
|
person_event SPRITE_LASS, 20, 17, $2, $11, 255, 255, $90, 0, LassScript_0x1ac002, $ffff
|
|
|
|
person_event SPRITE_FRUIT_TREE, 20, 18, $1, $0, 255, 255, $0, 0, FruitTreeScript_0x1ac0ea, $ffff
|