2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const KOGASROOM_KOGA
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
KogasRoom_MapScriptHeader:
|
2017-12-24 18:46:34 +00:00
|
|
|
.SceneScripts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
2017-12-24 18:46:34 +00:00
|
|
|
scene_script .LockDoor
|
|
|
|
scene_script .DummyScene
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
2017-09-28 16:33:26 +00:00
|
|
|
dbw MAPCALLBACK_TILES, .KogasRoomDoors
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.LockDoor:
|
2017-09-28 16:33:26 +00:00
|
|
|
priorityjump .KogasDoorLocksBehindYou
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.DummyScene:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-09-28 16:33:26 +00:00
|
|
|
.KogasRoomDoors:
|
2015-07-16 22:10:10 +00:00
|
|
|
checkevent EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
|
2017-09-28 16:33:26 +00:00
|
|
|
iffalse .KeepDoorsClosed
|
2013-02-17 06:54:07 +00:00
|
|
|
changeblock $4, $e, $2a
|
2017-09-28 16:33:26 +00:00
|
|
|
.KeepDoorsClosed:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_KOGAS_ROOM_EXIT_OPEN
|
2017-09-28 16:33:26 +00:00
|
|
|
iffalse .OpenDoors
|
2013-02-17 06:54:07 +00:00
|
|
|
changeblock $4, $2, $16
|
2017-09-28 16:33:26 +00:00
|
|
|
.OpenDoors:
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2017-09-28 16:33:26 +00:00
|
|
|
.KogasDoorLocksBehindYou:
|
2015-07-22 06:49:18 +00:00
|
|
|
applymovement PLAYER, MovementData_0x18078e
|
2013-02-17 06:54:07 +00:00
|
|
|
refreshscreen $86
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_STRENGTH
|
2013-02-17 06:54:07 +00:00
|
|
|
earthquake 80
|
|
|
|
changeblock $4, $e, $2a
|
|
|
|
reloadmappart
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2017-12-24 18:46:34 +00:00
|
|
|
setscene $1
|
2015-07-16 22:10:10 +00:00
|
|
|
setevent EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-09-28 16:33:26 +00:00
|
|
|
KogaScript_Battle:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-07-10 08:20:21 +00:00
|
|
|
checkevent EVENT_BEAT_ELITE_4_KOGA
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x180788
|
2017-09-28 16:33:26 +00:00
|
|
|
writetext KogaScript_KogaBeforeText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2017-09-28 16:33:26 +00:00
|
|
|
winlosstext KogaScript_KogaBeatenText, 0
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer KOGA, 1
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2015-07-10 08:20:21 +00:00
|
|
|
setevent EVENT_BEAT_ELITE_4_KOGA
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-09-28 16:33:26 +00:00
|
|
|
writetext KogaScript_KogaDefeatText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_ENTER_DOOR
|
2013-02-17 06:54:07 +00:00
|
|
|
changeblock $4, $2, $16
|
|
|
|
reloadmappart
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_KOGAS_ROOM_EXIT_OPEN
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x180788:
|
2017-09-28 16:33:26 +00:00
|
|
|
writetext KogaScript_KogaDefeatText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x18078e:
|
2016-05-14 17:46:14 +00:00
|
|
|
step UP
|
|
|
|
step UP
|
|
|
|
step UP
|
|
|
|
step UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2017-09-28 16:33:26 +00:00
|
|
|
KogaScript_KogaBeforeText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Fwahahahaha!"
|
|
|
|
|
|
|
|
para "I am KOGA of the"
|
|
|
|
line "ELITE FOUR."
|
|
|
|
|
|
|
|
para "I live in shadows,"
|
|
|
|
line "a ninja!"
|
|
|
|
|
|
|
|
para "My intricate style"
|
|
|
|
line "will confound and"
|
|
|
|
cont "destroy you!"
|
|
|
|
|
|
|
|
para "Confusion, sleep,"
|
|
|
|
line "poison…"
|
|
|
|
|
|
|
|
para "Prepare to be the"
|
|
|
|
line "victim of my sin-"
|
|
|
|
cont "ister technique!"
|
|
|
|
|
|
|
|
para "Fwahahahaha!"
|
|
|
|
|
|
|
|
para "#MON is not"
|
|
|
|
line "merely about brute"
|
|
|
|
|
|
|
|
para "force--you shall"
|
|
|
|
line "see soon enough!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-09-28 16:33:26 +00:00
|
|
|
KogaScript_KogaBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Ah!"
|
|
|
|
line "You have proven"
|
|
|
|
cont "your worth!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-09-28 16:33:26 +00:00
|
|
|
KogaScript_KogaDefeatText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I subjected you to"
|
|
|
|
line "everything I could"
|
|
|
|
cont "muster."
|
|
|
|
|
|
|
|
para "But my efforts"
|
|
|
|
line "failed. I must"
|
|
|
|
cont "hone my skills."
|
|
|
|
|
|
|
|
para "Go on to the next"
|
|
|
|
line "room, and put your"
|
|
|
|
cont "abilities to test!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
KogasRoom_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Warps:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 4
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $11, $4, 2, WILLS_ROOM
|
|
|
|
warp_def $11, $5, 3, WILLS_ROOM
|
|
|
|
warp_def $2, $4, 1, BRUNOS_ROOM
|
|
|
|
warp_def $2, $5, 2, BRUNOS_ROOM
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.CoordEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.BGEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.ObjectEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
2017-12-24 18:46:34 +00:00
|
|
|
object_event SPRITE_KOGA, 7, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, KogaScript_Battle, -1
|