2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const OLIVINELIGHTHOUSE2F_SAILOR
|
|
|
|
const OLIVINELIGHTHOUSE2F_GENTLEMAN
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
OlivineLighthouse2F_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerGentlemanAlfred:
|
2015-11-02 11:37:02 -08:00
|
|
|
trainer EVENT_BEAT_GENTLEMAN_ALFRED, GENTLEMAN, ALFRED, GentlemanAlfredSeenText, GentlemanAlfredBeatenText, 0, GentlemanAlfredScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
GentlemanAlfredScript:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext GentlemanAlfredAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerSailorHuey1:
|
2015-11-02 11:37:02 -08:00
|
|
|
trainer EVENT_BEAT_SAILOR_HUEY, SAILOR, HUEY1, SailorHuey1SeenText, SailorHuey1BeatenText, 0, SailorHuey1Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SailorHuey1Script:
|
2015-07-18 20:45:39 -07:00
|
|
|
writecode VAR_CALLERID, PHONE_SAILOR_HUEY
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-10 01:36:57 -07:00
|
|
|
checkflag ENGINE_HUEY
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x5afc7
|
2015-07-18 20:45:39 -07:00
|
|
|
checkcellnum PHONE_SAILOR_HUEY
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x5b05f
|
2015-07-10 03:31:08 -07:00
|
|
|
checkevent EVENT_HUEY_ASKED_FOR_PHONE_NUMBER
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x5afb0
|
2015-07-10 03:31:08 -07:00
|
|
|
setevent EVENT_HUEY_ASKED_FOR_PHONE_NUMBER
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x5b053
|
|
|
|
jump UnknownScript_0x5afb3
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x5afb0:
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x5b057
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x5afb3:
|
2015-07-18 20:45:39 -07:00
|
|
|
askforphonenumber PHONE_SAILOR_HUEY
|
2013-02-16 22:54:07 -08:00
|
|
|
if_equal $1, UnknownScript_0x5b067
|
|
|
|
if_equal $2, UnknownScript_0x5b063
|
|
|
|
trainertotext SAILOR, HUEY1, $0
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x5b05b
|
|
|
|
jump UnknownScript_0x5b05f
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x5afc7:
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x5b06b
|
2015-11-02 11:37:02 -08:00
|
|
|
winlosstext SailorHuey1BeatenText, 0
|
2015-07-10 13:04:00 -07:00
|
|
|
copybytetovar wHueyFightCount
|
2015-07-10 03:31:08 -07:00
|
|
|
if_equal 3, .Fight3
|
|
|
|
if_equal 2, .Fight2
|
|
|
|
if_equal 1, .Fight1
|
|
|
|
if_equal 0, .LoadFight0
|
2016-04-10 11:42:14 -07:00
|
|
|
.Fight3:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_RESTORED_POWER_TO_KANTO
|
2015-07-10 03:31:08 -07:00
|
|
|
iftrue .LoadFight3
|
2016-04-10 11:42:14 -07:00
|
|
|
.Fight2:
|
2015-06-24 20:20:04 -07:00
|
|
|
checkevent EVENT_BEAT_ELITE_FOUR
|
2015-07-10 03:31:08 -07:00
|
|
|
iftrue .LoadFight2
|
2016-04-10 11:42:14 -07:00
|
|
|
.Fight1:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
2015-07-10 03:31:08 -07:00
|
|
|
iftrue .LoadFight1
|
2016-04-10 11:42:14 -07:00
|
|
|
.LoadFight0:
|
2015-12-01 18:54:11 -08:00
|
|
|
loadtrainer SAILOR, HUEY1
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
reloadmapafterbattle
|
2015-07-10 13:04:00 -07:00
|
|
|
loadvar wHueyFightCount, 1
|
2015-07-10 01:36:57 -07:00
|
|
|
clearflag ENGINE_HUEY
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.LoadFight1:
|
2015-12-01 18:54:11 -08:00
|
|
|
loadtrainer SAILOR, HUEY2
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
reloadmapafterbattle
|
2015-07-10 13:04:00 -07:00
|
|
|
loadvar wHueyFightCount, 2
|
2015-07-10 01:36:57 -07:00
|
|
|
clearflag ENGINE_HUEY
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.LoadFight2:
|
2015-12-01 18:54:11 -08:00
|
|
|
loadtrainer SAILOR, HUEY3
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
reloadmapafterbattle
|
2015-07-10 13:04:00 -07:00
|
|
|
loadvar wHueyFightCount, 3
|
2015-07-10 01:36:57 -07:00
|
|
|
clearflag ENGINE_HUEY
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.LoadFight3:
|
2015-12-01 18:54:11 -08:00
|
|
|
loadtrainer SAILOR, HUEY4
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
reloadmapafterbattle
|
2015-07-10 01:36:57 -07:00
|
|
|
clearflag ENGINE_HUEY
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_HUEY_PROTEIN
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x5b03f
|
2015-07-10 03:31:08 -07:00
|
|
|
checkevent EVENT_GOT_PROTEIN_FROM_HUEY
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x5b03e
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x5b076
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem PROTEIN
|
2013-02-16 22:54:07 -08:00
|
|
|
iffalse UnknownScript_0x5b06f
|
2015-07-10 03:31:08 -07:00
|
|
|
setevent EVENT_GOT_PROTEIN_FROM_HUEY
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x5b05f
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x5b03e:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x5b03f:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x5b1b6
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem PROTEIN
|
2013-02-16 22:54:07 -08:00
|
|
|
iffalse UnknownScript_0x5b06f
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_HUEY_PROTEIN
|
2015-07-11 23:00:17 -07:00
|
|
|
setevent EVENT_GOT_PROTEIN_FROM_HUEY
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x5b05f
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x5b053:
|
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_0x5b057:
|
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_0x5b05b:
|
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_0x5b05f:
|
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_0x5b063:
|
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_0x5b067:
|
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_0x5b06b:
|
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
|
|
|
UnknownScript_0x5b06f:
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_HUEY_PROTEIN
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd packfullm
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x5b076:
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd rematchgiftm
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SailorHuey1SeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Men of the sea are"
|
|
|
|
line "always spoiling"
|
|
|
|
cont "for a good fight!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SailorHuey1BeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Urf!"
|
|
|
|
line "I lose!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
; possibly unused
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownText_0x5b0be:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "What power!"
|
|
|
|
line "How would you like"
|
|
|
|
|
|
|
|
para "to sail the seas"
|
|
|
|
line "with me?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
GentlemanAlfredSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hm? This is no"
|
|
|
|
line "place for playing."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
GentlemanAlfredBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Ah! I can see that"
|
|
|
|
line "you're serious."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
GentlemanAlfredAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Up top is a #-"
|
|
|
|
line "MON that keeps the"
|
|
|
|
cont "LIGHTHOUSE lit."
|
|
|
|
|
|
|
|
para "But I hear that"
|
|
|
|
line "it's sick now and"
|
|
|
|
|
|
|
|
para "can't be cured by"
|
|
|
|
line "ordinary medicine."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownText_0x5b1b6:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Man! You're as"
|
|
|
|
line "tough as ever!"
|
|
|
|
|
|
|
|
para "Anyway, here's"
|
|
|
|
line "that medicine from"
|
|
|
|
cont "before."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
OlivineLighthouse2F_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 6
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $b, $3, 3, OLIVINE_LIGHTHOUSE_1F
|
|
|
|
warp_def $3, $5, 2, OLIVINE_LIGHTHOUSE_3F
|
|
|
|
warp_def $d, $10, 4, OLIVINE_LIGHTHOUSE_1F
|
|
|
|
warp_def $d, $11, 5, OLIVINE_LIGHTHOUSE_1F
|
|
|
|
warp_def $b, $10, 4, OLIVINE_LIGHTHOUSE_3F
|
|
|
|
warp_def $b, $11, 5, OLIVINE_LIGHTHOUSE_3F
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2017-12-10 17:50:08 -08:00
|
|
|
person_event SPRITE_SAILOR, 3, 9, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, PERSONTYPE_TRAINER, 3, TrainerSailorHuey1, -1
|
|
|
|
person_event SPRITE_GENTLEMAN, 8, 17, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, PERSONTYPE_TRAINER, 3, TrainerGentlemanAlfred, -1
|