Commit bb36fe0d authored by Derrick Sobodash's avatar Derrick Sobodash

Can't remember what all is coming in this commit...

parent 36edc5b8
......@@ -66,6 +66,17 @@ endif
@./toolchain/bin/dbconv
@./toolchain/bin/ptobmp
@rm ./resources/decomp/*.bin
@echo "Decompiling event scripts..."
@mkdir -p ./resources/scripts/event
@./toolchain/decompev.php &>/dev/null
.PHONY: ips
ips:
ifneq ($(MD5),91d62c4cb790fc2fb38b10b68616e228)
$(error dl.rom md5 mismatch, expected 91d62c4cb790fc2fb38b10b68616e228)
endif
@echo "Creating IPS patch..."
@./toolchain/createips.php
.PHONY: toolchain
toolchain:
......
......@@ -13,7 +13,7 @@ More information to come...
## Requirements
1. PHP 7.0+ installed in /usr/bin/php. This is available by default on all Macs running any version of OS X. For Linux desktops, you should install your relevant `php5-cli` package.
1. PHP 7.0+ installed in /usr/bin/php. This is available by default on all Macs running any version of OS X. For Linux desktops, you should install your relevant `php7-cli` package.
2. clang (on OS X) or gcc (on Linux). We have only tested with versions 4.1+.
Windows users are on their own.
......
File added
......@@ -129,7 +129,6 @@ intro()
jsr write_tilemap
rep #$10
jsr half_wait
jsr fadein
jsr wait
jsr fadeout
......@@ -145,9 +144,7 @@ intro()
jsr write_tilemap
rep #$10
jsr half_wait
jsr fadein
jsr half_wait
jsr wait
jsr fadeout
......
# Movement-Triggered Events
on.move(4, lbl_397, VILLAGER_25, 0, 0xff)
on.move(20, lbl_3a0, VILLAGER_25, 0, 0xff)
on.move(22, lbl_3f5, RIDEL_7F, 0, 0xff)
on.move(28, lbl_491, LEON_D5, 0, 0xff)
on.move(33, lbl_4de, LAIRD_18, 3, 0xff)
on.move(36, lbl_523, BALDO_19, 1, 0xff)
on.move(1, lbl_55b, BALDO_19, 0, 0xff)
on.move(0, lbl_563, BALDO_19, 0, 0xff)
on.move(40, lbl_81c, IMPERIALCOMMANDER_2F, 0, 0xff)
on.move(3, lbl_836, IMPERIALCOMMANDER_2F, 0, 0xff)
on.move(4, lbl_397, VILLAGER_25, 0)
on.move(20, lbl_3a0, VILLAGER_25, 0)
on.move(22, lbl_3f5, RIDEL_7F, 0)
on.move(28, lbl_491, LEON_D5, 0)
on.move(33, lbl_4de, LAIRD_18, 3)
on.move(36, lbl_523, BALDO_19, 1)
on.move(1, lbl_55b, BALDO_19, 0)
on.move(0, lbl_563, BALDO_19, 0)
on.move(40, lbl_81c, IMPERIALCOMMANDER_2F, 0)
on.move(3, lbl_836, IMPERIALCOMMANDER_2F, 0)
break
# Attack-Triggered Events
on.attack(15, lbl_357, ERWIN_01, BALDO_19, 0x00, 0x00, 0xff)
on.attack(16, lbl_36e, ERWIN_01, IMPERIALCOMMANDER_2F, 0x00, 0x00, 0xff)
on.attack(15, lbl_37e, HEIN_05, BALDO_19, 0x00, 0x00, 0xff)
on.attack(18, lbl_38f, HEIN_05, BALDO_19, 0x00, 0xff, 0xff)
on.attack(21, lbl_3d9, NULL_FF, VILLAGER_25, 0xff, 0x00, 0xff)
on.attack(23, lbl_403, RIDEL_7F, NULL_FF, 0x00, 0xff, 0xff)
on.attack(24, lbl_40b, NULL_FF, RIDEL_7F, 0xff, 0x00, 0xff)
on.attack(31, lbl_4af, ERWIN_01, LEON_D5, 0x00, 0x00, 0xff)
on.attack(32, lbl_4d9, LEON_D5, NULL_FF, 0x00, 0xff, 0xff)
on.attack(35, lbl_50d, LAIRD_18, RIDEL_7F, 0x00, 0x00, 0xff)
on.attack(38, lbl_5f5, BALDO_19, VILLAGER_25, 0x00, 0xff, 0xff)
on.attack(41, lbl_854, IMPERIALCOMMANDER_2F, NULL_FF, 0x00, 0xff, 0xff)
on.attack(41, lbl_85f, NULL_FF, IMPERIALCOMMANDER_2F, 0xff, 0x00, 0xff)
on.attack(15, lbl_357, ERWIN_01, BALDO_19, 0x00, 0x00)
on.attack(16, lbl_36e, ERWIN_01, IMPERIALCOMMANDER_2F, 0x00, 0x00)
on.attack(15, lbl_37e, HEIN_05, BALDO_19, 0x00, 0x00)
on.attack(18, lbl_38f, HEIN_05, BALDO_19, 0x00, 0xff)
on.attack(21, lbl_3d9, NULL_FF, VILLAGER_25, 0xff, 0x00)
on.attack(23, lbl_403, RIDEL_7F, NULL_FF, 0x00, 0xff)
on.attack(24, lbl_40b, NULL_FF, RIDEL_7F, 0xff, 0x00)
on.attack(31, lbl_4af, ERWIN_01, LEON_D5, 0x00, 0x00)
on.attack(32, lbl_4d9, LEON_D5, NULL_FF, 0x00, 0xff)
on.attack(35, lbl_50d, LAIRD_18, RIDEL_7F, 0x00, 0x00)
on.attack(38, lbl_5f5, BALDO_19, VILLAGER_25, 0x00, 0xff)
on.attack(41, lbl_854, IMPERIALCOMMANDER_2F, NULL_FF, 0x00, 0xff)
on.attack(41, lbl_85f, NULL_FF, IMPERIALCOMMANDER_2F, 0xff, 0x00)
break
# Damage-Triggered Events
......@@ -45,20 +45,20 @@ on.damage(43, lbl_895, NULL_FF, IMPERIALCOMMANDER_2F, 0xff, 0x00)
break
# Position-Triggered Events
on.range(7, lbl_2af, LIANA_02, ERWIN_01, 1, 0x00, 0x00, 0x00, 0x00)
on.range(8, lbl_2c1, LIANA_02, HEIN_05, 1, 0x00, 0x00, 0x00, 0x00)
on.bound(9, lbl_2d3, BALDO_19, 11, 42, 18, 42, 0x00, 0x00)
on.bound(10, lbl_2ed, BALDO_19, 7, 34, 18, 40, 0x00, 0x00)
on.bound(11, lbl_308, NPC_COMMANDER_F0, 24, 5, 24, 5, 0x00, 0x00)
on.bound(12, lbl_328, NPC_COMMANDER_F0, 18, 25, 18, 25, 0x00, 0x00)
on.bound(13, lbl_348, VILLAGER_25, 1, 16, 1, 23, 0x00, 0x00)
on.range(2, lbl_57a, LIANA_02, BALDO_19, 1, 0x00, 0x00, 0x00, 0x00)
on.range(37, lbl_5b2, BALDO_19, LIANA_02, 1, 0x00, 0x00, 0x00, 0x00)
on.range(7, lbl_2af, LIANA_02, ERWIN_01, 1)
on.range(8, lbl_2c1, LIANA_02, HEIN_05, 1)
on.bound(9, lbl_2d3, BALDO_19, 11, 42, 18, 42)
on.bound(10, lbl_2ed, BALDO_19, 7, 34, 18, 40)
on.bound(11, lbl_308, NPC_COMMANDER_F0, 24, 5, 24, 5)
on.bound(12, lbl_328, NPC_COMMANDER_F0, 18, 25, 18, 25)
on.bound(13, lbl_348, VILLAGER_25, 1, 16, 1, 23)
on.range(2, lbl_57a, LIANA_02, BALDO_19, 1)
on.range(37, lbl_5b2, BALDO_19, LIANA_02, 1)
break
# Turn-Triggered Events
on.turn(6, lbl_26d, ALLY, 2, 0x00)
on.turn(5, lbl_27b, ALLY, 0, 0x00)
on.turn(6, lbl_26d, ALLY, 2)
on.turn(5, lbl_27b, ALLY, 0)
break
# Core Events
......
# Movement-Triggered Events
on.move(24, lbl_3f7, SCOTT_06, 0, 0xff)
on.move(27, lbl_40f, LOREN_2B, 2, 0xff)
on.move(0, lbl_417, LOREN_2B, 0, 0xff)
on.move(30, lbl_46c, ROHGA_0B, 0, 0xff)
on.move(34, lbl_48d, LEON_D5, 1, 0xff)
on.move(37, lbl_4e0, LAIRD_18, 1, 0xff)
on.move(24, lbl_3f7, SCOTT_06, 0)
on.move(27, lbl_40f, LOREN_2B, 2)
on.move(0, lbl_417, LOREN_2B, 0)
on.move(30, lbl_46c, ROHGA_0B, 0)
on.move(34, lbl_48d, LEON_D5, 1)
on.move(37, lbl_4e0, LAIRD_18, 1)
break
# Attack-Triggered Events
on.attack(18, lbl_3a9, ERWIN_01, LAIRD_18, 0x00, 0xff, 0xff)
on.attack(19, lbl_3b1, ERWIN_01, LAIRD_18, 0x00, 0x00, 0xff)
on.attack(25, lbl_3ff, SCOTT_06, NULL_FF, 0x00, 0xff, 0xff)
on.attack(28, lbl_438, LOREN_2B, NULL_FF, 0x00, 0xff, 0xff)
on.attack(31, lbl_47a, NULL_FF, ROHGA_0B, 0xff, 0x00, 0xff)
on.attack(36, lbl_4d8, NULL_FF, LEON_D5, 0xff, 0x00, 0xff)
on.attack(39, lbl_55b, IMPERIALCOMMANDER_2F, NULL_FF, 0x00, 0xff, 0xff)
on.attack(18, lbl_3a9, ERWIN_01, LAIRD_18, 0x00, 0xff)
on.attack(19, lbl_3b1, ERWIN_01, LAIRD_18, 0x00, 0x00)
on.attack(25, lbl_3ff, SCOTT_06, NULL_FF, 0x00, 0xff)
on.attack(28, lbl_438, LOREN_2B, NULL_FF, 0x00, 0xff)
on.attack(31, lbl_47a, NULL_FF, ROHGA_0B, 0xff, 0x00)
on.attack(36, lbl_4d8, NULL_FF, LEON_D5, 0xff, 0x00)
on.attack(39, lbl_55b, IMPERIALCOMMANDER_2F, NULL_FF, 0x00, 0xff)
break
# Damage-Triggered Events
......@@ -41,25 +41,25 @@ on.damage(48, lbl_5d1, NULL_FF, LIANA_02, 0xff, 0x00)
break
# Position-Triggered Events
on.bound(8, lbl_2ef, NPC_SUBUNIT_F1, 1, 10, 25, 22, 0x00, 0x00)
on.bound(10, lbl_2fb, NPC_SUBUNIT_F1, 1, 1, 25, 14, 0x00, 0x00)
on.bound(12, lbl_308, LIANA_02, 1, 1, 25, 1, 0x00, 0x00)
on.bound(14, lbl_336, SCOTT_06, 1, 15, 25, 19, 0x00, 0x00)
on.bound(14, lbl_342, LIANA_CA, 1, 15, 25, 19, 0x00, 0x00)
on.bound(14, lbl_34e, HEIN_05, 1, 15, 25, 19, 0x00, 0x00)
on.bound(15, lbl_35a, ERWIN_01, 1, 15, 25, 19, 0x00, 0x00)
on.bound(16, lbl_36c, NPC_COMMANDER_F0, 4, 4, 4, 4, 0x00, 0x00)
on.bound(17, lbl_38c, NPC_COMMANDER_F0, 21, 30, 21, 30, 0x00, 0x00)
on.bound(8, lbl_2ef, NPC_SUBUNIT_F1, 1, 10, 25, 22)
on.bound(10, lbl_2fb, NPC_SUBUNIT_F1, 1, 1, 25, 14)
on.bound(12, lbl_308, LIANA_02, 1, 1, 25, 1)
on.bound(14, lbl_336, SCOTT_06, 1, 15, 25, 19)
on.bound(14, lbl_342, LIANA_CA, 1, 15, 25, 19)
on.bound(14, lbl_34e, HEIN_05, 1, 15, 25, 19)
on.bound(15, lbl_35a, ERWIN_01, 1, 15, 25, 19)
on.bound(16, lbl_36c, NPC_COMMANDER_F0, 4, 4, 4, 4)
on.bound(17, lbl_38c, NPC_COMMANDER_F0, 21, 30, 21, 30)
break
# Turn-Triggered Events
on.turn(1, lbl_276, ALLY, 1, 0x00)
on.turn(2, lbl_27e, ENEMY, 1, 0x00)
on.turn(3, lbl_2a6, ALLY, 2, 0x00)
on.turn(4, lbl_2b8, ALLY, 0, 0x00)
on.turn(5, lbl_2bd, ALLY, 0, 0x00)
on.turn(6, lbl_2cd, ENEMY, 5, 0x00)
on.turn(7, lbl_2d9, ALLY, 3, 0x00)
on.turn(1, lbl_276, ALLY, 1)
on.turn(2, lbl_27e, ENEMY, 1)
on.turn(3, lbl_2a6, ALLY, 2)
on.turn(4, lbl_2b8, ALLY, 0)
on.turn(5, lbl_2bd, ALLY, 0)
on.turn(6, lbl_2cd, ENEMY, 5)
on.turn(7, lbl_2d9, ALLY, 3)
break
# Core Events
......
# Movement-Triggered Events
on.move(27, lbl_4e1, ROHGA_0B, 1, 0xff)
on.move(0, lbl_4f5, ROHGA_0B, 0, 0xff)
on.move(31, lbl_51d, CHERIE_04, 0, 0xff)
on.move(1, lbl_52b, CHERIE_04, 0, 0xff)
on.move(34, lbl_5a9, PRIEST_24, 0, 0xff)
on.move(36, lbl_619, MORGAN_1B, 10, 0xff)
on.move(50, lbl_6ef, IMPERIALCOMMANDER_31, 0, 0xff)
on.move(55, lbl_713, IMPERIALCOMMANDER_33, 0, 0xff)
on.move(27, lbl_4e1, ROHGA_0B, 1)
on.move(0, lbl_4f5, ROHGA_0B, 0)
on.move(31, lbl_51d, CHERIE_04, 0)
on.move(1, lbl_52b, CHERIE_04, 0)
on.move(34, lbl_5a9, PRIEST_24, 0)
on.move(36, lbl_619, MORGAN_1B, 10)
on.move(50, lbl_6ef, IMPERIALCOMMANDER_31, 0)
on.move(55, lbl_713, IMPERIALCOMMANDER_33, 0)
break
# Attack-Triggered Events
on.attack(16, lbl_42b, ERWIN_01, LIANA_02, 0x00, 0xff, 0xff)
on.attack(18, lbl_43d, HEIN_05, LIANA_02, 0x00, 0xff, 0xff)
on.attack(20, lbl_44d, LIANA_02, SCOTT_06, 0xff, 0x00, 0xff)
on.attack(22, lbl_45d, NULL_FF, LIANA_02, 0xff, 0x00, 0xff)
on.attack(24, lbl_475, ERWIN_01, LIANA_02, 0x00, 0x00, 0xff)
on.attack(24, lbl_47a, HEIN_05, LIANA_02, 0x00, 0x00, 0xff)
on.attack(24, lbl_47f, SCOTT_06, LIANA_02, 0x00, 0x00, 0xff)
on.attack(25, lbl_484, LIANA_02, ERWIN_01, 0x00, 0x00, 0xff)
on.attack(3, lbl_498, LIANA_02, ERWIN_01, 0x00, 0xff, 0xff)
on.attack(28, lbl_4fd, ROHGA_0B, NULL_FF, 0x00, 0xff, 0xff)
on.attack(32, lbl_595, CHERIE_04, NULL_FF, 0x00, 0xff, 0xff)
on.attack(37, lbl_5d6, NULL_FF, PRIEST_75, 0xff, 0x00, 0xff)
on.attack(39, lbl_5fc, ZORUM_1A, NULL_FF, 0x00, 0xff, 0xff)
on.attack(40, lbl_604, NULL_FF, ZORUM_1A, 0xff, 0x00, 0xff)
on.attack(45, lbl_6a6, NULL_FF, MORGAN_1B, 0xff, 0x00, 0xff)
on.attack(46, lbl_6ae, MORGAN_1B, NULL_FF, 0x00, 0xff, 0xff)
on.attack(51, lbl_6f7, IMPERIALCOMMANDER_31, NULL_FF, 0x00, 0xff, 0xff)
on.attack(56, lbl_71b, IMPERIALCOMMANDER_33, NULL_FF, 0x00, 0xff, 0xff)
on.attack(16, lbl_42b, ERWIN_01, LIANA_02, 0x00, 0xff)
on.attack(18, lbl_43d, HEIN_05, LIANA_02, 0x00, 0xff)
on.attack(20, lbl_44d, LIANA_02, SCOTT_06, 0xff, 0x00)
on.attack(22, lbl_45d, NULL_FF, LIANA_02, 0xff, 0x00)
on.attack(24, lbl_475, ERWIN_01, LIANA_02, 0x00, 0x00)
on.attack(24, lbl_47a, HEIN_05, LIANA_02, 0x00, 0x00)
on.attack(24, lbl_47f, SCOTT_06, LIANA_02, 0x00, 0x00)
on.attack(25, lbl_484, LIANA_02, ERWIN_01, 0x00, 0x00)
on.attack(3, lbl_498, LIANA_02, ERWIN_01, 0x00, 0xff)
on.attack(28, lbl_4fd, ROHGA_0B, NULL_FF, 0x00, 0xff)
on.attack(32, lbl_595, CHERIE_04, NULL_FF, 0x00, 0xff)
on.attack(37, lbl_5d6, NULL_FF, PRIEST_75, 0xff, 0x00)
on.attack(39, lbl_5fc, ZORUM_1A, NULL_FF, 0x00, 0xff)
on.attack(40, lbl_604, NULL_FF, ZORUM_1A, 0xff, 0x00)
on.attack(45, lbl_6a6, NULL_FF, MORGAN_1B, 0xff, 0x00)
on.attack(46, lbl_6ae, MORGAN_1B, NULL_FF, 0x00, 0xff)
on.attack(51, lbl_6f7, IMPERIALCOMMANDER_31, NULL_FF, 0x00, 0xff)
on.attack(56, lbl_71b, IMPERIALCOMMANDER_33, NULL_FF, 0x00, 0xff)
break
# Damage-Triggered Events
......@@ -61,19 +61,19 @@ on.damage(54, lbl_8f3, NULL_FF, IMPERIALCOMMANDER_32, 0xff, 0x00)
break
# Position-Triggered Events
on.bound(13, lbl_3d7, NPC_SUBUNIT_F1, 5, 22, 32, 35, 0x00, 0x00)
on.bound(15, lbl_40b, NPC_COMMANDER_F0, 2, 30, 2, 30, 0x00, 0x00)
on.bound(13, lbl_3d7, NPC_SUBUNIT_F1, 5, 22, 32, 35)
on.bound(15, lbl_40b, NPC_COMMANDER_F0, 2, 30, 2, 30)
break
# Turn-Triggered Events
on.turn(4, lbl_2cb, ENEMY, 1, 0x00)
on.turn(5, lbl_301, ALLY, 2, 0x00)
on.turn(6, lbl_337, ALLY, 8, 0x00)
on.turn(7, lbl_370, ENEMY, 10, 0x00)
on.turn(8, lbl_38c, ALLY, 12, 0x00)
on.turn(9, lbl_391, ALLY, 3, 0x00)
on.turn(10, lbl_3c3, ALLY, 7, 0x00)
on.turn(11, lbl_3cf, ALLY, 6, 0x00)
on.turn(4, lbl_2cb, ENEMY, 1)
on.turn(5, lbl_301, ALLY, 2)
on.turn(6, lbl_337, ALLY, 8)
on.turn(7, lbl_370, ENEMY, 10)
on.turn(8, lbl_38c, ALLY, 12)
on.turn(9, lbl_391, ALLY, 3)
on.turn(10, lbl_3c3, ALLY, 7)
on.turn(11, lbl_3cf, ALLY, 6)
break
# Core Events
......@@ -455,7 +455,7 @@ lbl_52b:
# Okay, thanks.\0
msg(CHERIE_04, ERWIN_01, CHERIE, FOLLOW, 92)
# So, what should I do?\0
prompt.options(lbl_568, lbl_587, 93, 94, 95, 0x00, 0xf6, 0x00, 0x00)
prompt.options(lbl_568, lbl_587, 93, 94, 95, 0xf6)
# Protect the right entrance\0
# Protect the left entrance\0
# Stay where you are\0
......
# Movement-Triggered Events
on.move(24, lbl_3fd, CHERIE_04, 0, 0xff)
on.move(31, lbl_431, KEITH_07, 1, 0xff)
on.move(2, lbl_451, COMMANDER_21, 0, 0xff)
on.move(39, lbl_484, VARGAS_D6, 2, 0xff)
on.move(3, lbl_528, MORGAN_1B, 0, 0xff)
on.move(54, lbl_58c, MORGAN_1B, 0, 0xff)
on.move(4, lbl_5a4, MORGAN_1B, 0, 0xff)
on.move(59, lbl_5da, IMPERIALCOMMANDER_37, 0, 0xff)
on.move(5, lbl_5ec, IMPERIALCOMMANDER_37, 0, 0xff)
on.move(24, lbl_3fd, CHERIE_04, 0)
on.move(31, lbl_431, KEITH_07, 1)
on.move(2, lbl_451, COMMANDER_21, 0)
on.move(39, lbl_484, VARGAS_D6, 2)
on.move(3, lbl_528, MORGAN_1B, 0)
on.move(54, lbl_58c, MORGAN_1B, 0)
on.move(4, lbl_5a4, MORGAN_1B, 0)
on.move(59, lbl_5da, IMPERIALCOMMANDER_37, 0)
on.move(5, lbl_5ec, IMPERIALCOMMANDER_37, 0)
break
# Attack-Triggered Events
on.attack(15, lbl_3a1, ERWIN_01, VARGAS_D6, 0x00, 0x00, 0xff)
on.attack(19, lbl_3c3, SCOTT_06, NULL_FF, 0x00, 0xff, 0xff)
on.attack(21, lbl_3d3, ROHGA_0B, VARGAS_D6, 0x00, 0x00, 0xff)
on.attack(22, lbl_3ed, ROHGA_0B, NULL_FF, 0x00, 0xff, 0xff)
on.attack(27, lbl_410, CHERIE_04, NULL_FF, 0x00, 0xff, 0xff)
on.attack(28, lbl_418, LIANA_02, VARGAS_D6, 0x00, 0x00, 0xff)
on.attack(33, lbl_459, COMMANDER_21, NULL_FF, 0x00, 0xff, 0xff)
on.attack(36, lbl_46c, COMMANDER_22, NULL_FF, 0x00, 0xff, 0xff)
on.attack(37, lbl_474, NULL_FF, COMMANDER_22, 0xff, 0x00, 0xff)
on.attack(40, lbl_48c, VARGAS_D6, COMMANDER_21, 0x00, 0xff, 0xff)
on.attack(40, lbl_494, VARGAS_D6, COMMANDER_21, 0x00, 0x00, 0xff)
on.attack(49, lbl_4d9, IMPERIALCOMMANDER_34, NULL_FF, 0x00, 0xff, 0xff)
on.attack(6, lbl_5b8, NULL_FF, MORGAN_1B, 0xff, 0x00, 0xff)
on.attack(57, lbl_5c0, MORGAN_1B, NULL_FF, 0x00, 0xff, 0xff)
on.attack(60, lbl_5fe, IMPERIALCOMMANDER_37, NULL_FF, 0x00, 0xff, 0xff)
on.attack(15, lbl_3a1, ERWIN_01, VARGAS_D6, 0x00, 0x00)
on.attack(19, lbl_3c3, SCOTT_06, NULL_FF, 0x00, 0xff)
on.attack(21, lbl_3d3, ROHGA_0B, VARGAS_D6, 0x00, 0x00)
on.attack(22, lbl_3ed, ROHGA_0B, NULL_FF, 0x00, 0xff)
on.attack(27, lbl_410, CHERIE_04, NULL_FF, 0x00, 0xff)
on.attack(28, lbl_418, LIANA_02, VARGAS_D6, 0x00, 0x00)
on.attack(33, lbl_459, COMMANDER_21, NULL_FF, 0x00, 0xff)
on.attack(36, lbl_46c, COMMANDER_22, NULL_FF, 0x00, 0xff)
on.attack(37, lbl_474, NULL_FF, COMMANDER_22, 0xff, 0x00)
on.attack(40, lbl_48c, VARGAS_D6, COMMANDER_21, 0x00, 0xff)
on.attack(40, lbl_494, VARGAS_D6, COMMANDER_21, 0x00, 0x00)
on.attack(49, lbl_4d9, IMPERIALCOMMANDER_34, NULL_FF, 0x00, 0xff)
on.attack(6, lbl_5b8, NULL_FF, MORGAN_1B, 0xff, 0x00)
on.attack(57, lbl_5c0, MORGAN_1B, NULL_FF, 0x00, 0xff)
on.attack(60, lbl_5fe, IMPERIALCOMMANDER_37, NULL_FF, 0x00, 0xff)
break
# Damage-Triggered Events
......@@ -63,18 +63,18 @@ on.damage(45, lbl_6c5, IMPERIALCOMMANDER_30, NULL_FF, 0x00, 0xff)
break
# Position-Triggered Events
on.bound(13, lbl_37c, NPC_COMMANDER_F0, 2, 2, 2, 2, 0x00, 0x00)
on.bound(14, lbl_39c, MORGAN_1B, 11, 33, 21, 34, 0x00, 0x00)
on.bound(13, lbl_37c, NPC_COMMANDER_F0, 2, 2, 2, 2)
on.bound(14, lbl_39c, MORGAN_1B, 11, 33, 21, 34)
break
# Turn-Triggered Events
on.turn(7, lbl_2e9, ENEMY, 7, 0x00)
on.turn(9, lbl_2f1, ALLY, 2, 0x00)
on.turn(10, lbl_307, ENEMY, 1, 0x00)
on.turn(11, lbl_327, ALLY, 4, 0x00)
on.turn(12, lbl_352, ALLY, 3, 0x00)
on.turn(1, lbl_36e, ENEMY, 0, 0x00)
on.turn(0, lbl_377, ENEMY, 0, 0x00)
on.turn(7, lbl_2e9, ENEMY, 7)
on.turn(9, lbl_2f1, ALLY, 2)
on.turn(10, lbl_307, ENEMY, 1)
on.turn(11, lbl_327, ALLY, 4)
on.turn(12, lbl_352, ALLY, 3)
on.turn(1, lbl_36e, ENEMY, 0)
on.turn(0, lbl_377, ENEMY, 0)
break
# Core Events
......
# Movement-Triggered Events
on.move(16, lbl_47c, JESSICA_14, 1, 0xff)
on.move(17, lbl_4b9, JESSICA_14, 2, 0xff)
on.move(21, lbl_4fd, EGBERT_D8, 1, 0xff)
on.move(22, lbl_502, EGBERT_D8, 2, 0xff)
on.move(25, lbl_54d, CAMILLA_A1, 1, 0xff)
on.move(29, lbl_612, IMPERIALCOMMANDER_31, 1, 0xff)
on.move(31, lbl_62e, IMPERIALCOMMANDER_32, 0, 0xff)
on.move(36, lbl_670, ZORUM_1A, 0, 0xff)
on.move(40, lbl_6c7, VARGAS_D6, 0, 0xff)
on.move(4, lbl_6cf, VARGAS_D6, 0, 0xff)
on.move(16, lbl_47c, JESSICA_14, 1)
on.move(17, lbl_4b9, JESSICA_14, 2)
on.move(21, lbl_4fd, EGBERT_D8, 1)
on.move(22, lbl_502, EGBERT_D8, 2)
on.move(25, lbl_54d, CAMILLA_A1, 1)
on.move(29, lbl_612, IMPERIALCOMMANDER_31, 1)
on.move(31, lbl_62e, IMPERIALCOMMANDER_32, 0)
on.move(36, lbl_670, ZORUM_1A, 0)
on.move(40, lbl_6c7, VARGAS_D6, 0)
on.move(4, lbl_6cf, VARGAS_D6, 0)
break
# Attack-Triggered Events
on.attack(19, lbl_4db, LIANA_02, NULL_FF, 0x00, 0xff, 0xff)
on.attack(23, lbl_519, NULL_FF, EGBERT_D8, 0xff, 0x00, 0xff)
on.attack(37, lbl_688, ZORUM_1A, NULL_FF, 0x00, 0xff, 0xff)
on.attack(19, lbl_4db, LIANA_02, NULL_FF, 0x00, 0xff)
on.attack(23, lbl_519, NULL_FF, EGBERT_D8, 0xff, 0x00)
on.attack(37, lbl_688, ZORUM_1A, NULL_FF, 0x00, 0xff)
break
# Damage-Triggered Events
......@@ -41,20 +41,20 @@ on.damage(39, lbl_7b8, NULL_FF, ZORUM_1A, 0xff, 0x00)
break
# Position-Triggered Events
on.bound(7, lbl_42e, NPC_COMMANDER_F0, 17, 9, 17, 9, 0x00, 0x00)
on.bound(8, lbl_440, NPC_SUBUNIT_F1, 1, 26, 23, 42, 0x00, 0x00)
on.bound(9, lbl_445, VARGAS_D6, 13, 38, 15, 40, 0x00, 0x00)
on.bound(7, lbl_42e, NPC_COMMANDER_F0, 17, 9, 17, 9)
on.bound(8, lbl_440, NPC_SUBUNIT_F1, 1, 26, 23, 42)
on.bound(9, lbl_445, VARGAS_D6, 13, 38, 15, 40)
break
# Turn-Triggered Events
on.turn(5, lbl_3cc, ENEMY, 2, 0x00)
on.turn(6, lbl_3ec, ALLY, 2, 0x00)
on.turn(0, lbl_3f1, ALLY, 0, 0x00)
on.turn(1, lbl_3fa, ENEMY, 0, 0x00)
on.turn(2, lbl_403, ENEMY, 0, 0x00)
on.turn(42, lbl_74f, ALLY, 2, 0x00)
on.turn(43, lbl_771, ALLY, 18, 0x00)
on.turn(44, lbl_777, ALLY, 3, 0x00)
on.turn(5, lbl_3cc, ENEMY, 2)
on.turn(6, lbl_3ec, ALLY, 2)
on.turn(0, lbl_3f1, ALLY, 0)
on.turn(1, lbl_3fa, ENEMY, 0)
on.turn(2, lbl_403, ENEMY, 0)
on.turn(42, lbl_74f, ALLY, 2)
on.turn(43, lbl_771, ALLY, 18)
on.turn(44, lbl_777, ALLY, 3)
break
# Core Events
......
# Movement-Triggered Events
on.move(21, lbl_383, JESSICA_14, 1, 0xff)
on.move(5, lbl_3c3, EGBERT_D8, 0, 0xff)
on.move(26, lbl_3c8, EGBERT_D8, 0, 0xff)
on.move(4, lbl_41a, LICH_4A, 0, 0xff)
on.move(39, lbl_492, VARGAS_D6, 0, 0xff)
on.move(21, lbl_383, JESSICA_14, 1)
on.move(5, lbl_3c3, EGBERT_D8, 0)
on.move(26, lbl_3c8, EGBERT_D8, 0)
on.move(4, lbl_41a, LICH_4A, 0)
on.move(39, lbl_492, VARGAS_D6, 0)
break
# Attack-Triggered Events
on.attack(19, lbl_367, LESTER_09, EGBERT_D8, 0x00, 0x00, 0xff)
on.attack(22, lbl_391, JESSICA_14, EGBERT_D8, 0x00, 0x00, 0xff)
on.attack(24, lbl_3a7, LIANA_02, NULL_FF, 0x00, 0xff, 0xff)
on.attack(28, lbl_43a, LICH_4A, NULL_FF, 0x00, 0xff, 0xff)
on.attack(29, lbl_442, NULL_FF, LICH_4A, 0xff, 0x00, 0xff)
on.attack(40, lbl_49a, VARGAS_D6, NULL_FF, 0x00, 0xff, 0xff)
on.attack(19, lbl_367, LESTER_09, EGBERT_D8, 0x00, 0x00)
on.attack(22, lbl_391, JESSICA_14, EGBERT_D8, 0x00, 0x00)
on.attack(24, lbl_3a7, LIANA_02, NULL_FF, 0x00, 0xff)
on.attack(28, lbl_43a, LICH_4A, NULL_FF, 0x00, 0xff)
on.attack(29, lbl_442, NULL_FF, LICH_4A, 0xff, 0x00)
on.attack(40, lbl_49a, VARGAS_D6, NULL_FF, 0x00, 0xff)
break
# Damage-Triggered Events
......@@ -42,19 +42,19 @@ on.defeat(44, lbl_4bf, GELGAZER_3F, GELGAZER_40, GHOST_50, GHOST_51, WEREWOLF_39
break
# Position-Triggered Events
on.bound(8, lbl_283, NPC_SUBUNIT_F1, 1, 10, 22, 17, 0x00, 0x00)
on.bound(9, lbl_305, ERWIN_01, 2, 6, 2, 6, 0x00, 0x00)
on.bound(10, lbl_310, NPC_COMMANDER_F0, 11, 4, 11, 4, 0x00, 0x00)
on.bound(11, lbl_321, NPC_SUBUNIT_F1, 1, 1, 11, 20, 0x00, 0x00)
on.bound(12, lbl_327, NPC_SUBUNIT_F1, 12, 1, 22, 20, 0x00, 0x00)
on.bound(13, lbl_32d, NPC_SUBUNIT_F1, 11, 3, 13, 3, 0x00, 0x00)
on.bound(8, lbl_283, NPC_SUBUNIT_F1, 1, 10, 22, 17)
on.bound(9, lbl_305, ERWIN_01, 2, 6, 2, 6)
on.bound(10, lbl_310, NPC_COMMANDER_F0, 11, 4, 11, 4)
on.bound(11, lbl_321, NPC_SUBUNIT_F1, 1, 1, 11, 20)
on.bound(12, lbl_327, NPC_SUBUNIT_F1, 12, 1, 22, 20)
on.bound(13, lbl_32d, NPC_SUBUNIT_F1, 11, 3, 13, 3)
break
# Turn-Triggered Events
on.turn(0, lbl_212, ALLY, 0, 0x00)
on.turn(1, lbl_239, ALLY, 0, 0x00)
on.turn(2, lbl_23e, ENEMY, 0, 0x00)
on.turn(3, lbl_264, ALLY, 0, 0x00)
on.turn(0, lbl_212, ALLY, 0)
on.turn(1, lbl_239, ALLY, 0)
on.turn(2, lbl_23e, ENEMY, 0)
on.turn(3, lbl_264, ALLY, 0)
break
# Core Events
......
# Movement-Triggered Events
on.move(1, lbl_438, LEON_D5, 0, 0xff)
on.move(24, lbl_440, LEON_D5, 0, 0xff)
on.move(27, lbl_46f, LAIRD_18, 0, 0xff)
on.move(1, lbl_438, LEON_D5, 0)
on.move(24, lbl_440, LEON_D5, 0)
on.move(27, lbl_46f, LAIRD_18, 0)
break
# Attack-Triggered Events
on.attack(16, lbl_3c8, ROHGA_0B, SONYA_D4, 0x00, 0x00, 0xff)
on.attack(21, lbl_418, NULL_FF, VILLAGER_25, 0xff, 0x00, 0xff)
on.attack(22, lbl_428, NULL_FF, VILLAGER_26, 0xff, 0x00, 0xff)
on.attack(29, lbl_47f, LICH_4A, NULL_FF, 0x00, 0xff, 0xff)
on.attack(37, lbl_4bf, ROHGA_0B, SONYA_D4, 0xff, 0x00, 0xff)
on.attack(16, lbl_3c8, ROHGA_0B, SONYA_D4, 0x00, 0x00)
on.attack(21, lbl_418, NULL_FF, VILLAGER_25, 0xff, 0x00)
on.attack(22, lbl_428, NULL_FF, VILLAGER_26, 0xff, 0x00)
on.attack(29, lbl_47f, LICH_4A, NULL_FF, 0x00, 0xff)
on.attack(37, lbl_4bf, ROHGA_0B, SONYA_D4, 0xff, 0x00)
break
# Damage-Triggered Events
......@@ -41,19 +41,19 @@ on.defeat(45, lbl_951, WEREWOLF_39, WEREWOLF_3A, KERBEROS_52, KERBEROS_53, LICH_
break
# Position-Triggered Events
on.bound(11, lbl_38a, NPC_COMMANDER_F0, 40, 18, 40, 18, 0x00, 0x00)
on.bound(12, lbl_392, NPC_COMMANDER_F0, 13, 24, 13, 24, 0x00, 0x00)
on.range(43, lbl_8a1, ROHGA_0B, SONYA_D4, 3, 0x00, 0x00, 0x00, 0x00)
on.bound(11, lbl_38a, NPC_COMMANDER_F0, 40, 18, 40, 18)
on.bound(12, lbl_392, NPC_COMMANDER_F0, 13, 24, 13, 24)
on.range(43, lbl_8a1, ROHGA_0B, SONYA_D4, 3)
break
# Turn-Triggered Events
on.turn(3, lbl_265, ENEMY, 1, 0x00)
on.turn(4, lbl_271, ENEMY, 3, 0x00)
on.turn(7, lbl_2a8, ENEMY, 5, 0x00)
on.turn(8, lbl_2ad, ALLY, 2, 0x00)
on.turn(2, lbl_2e3, ALLY, 0, 0x00)
on.turn(9, lbl_318, ALLY, 5, 0x00)
on.turn(10, lbl_31d, ALLY, 4, 0x00)
on.turn(3, lbl_265, ENEMY, 1)
on.turn(4, lbl_271, ENEMY, 3)
on.turn(7, lbl_2a8, ENEMY, 5)
on.turn(8, lbl_2ad, ALLY, 2)
on.turn(2, lbl_2e3, ALLY, 0)
on.turn(9, lbl_318, ALLY, 5)
on.turn(10, lbl_31d, ALLY, 4)
break
# Core Events
......
# Movement-Triggered Events
on.move(0, lbl_42f, KRAMER_1D, 0, 0xff)
on.move(1, lbl_46c, KRAMER_1D, 0, 0xff)
on.move(2, lbl_5a6, IMPERIALCOMMANDER_31, 0, 0xff)
on.move(0, lbl_42f, KRAMER_1D, 0)
on.move(1, lbl_46c, KRAMER_1D, 0)
on.move(2, lbl_5a6, IMPERIALCOMMANDER_31, 0)
break
# Attack-Triggered Events
on.attack(17, lbl_3d2, ERWIN_01, NULL_FF, 0x00, 0xff, 0xff)
on.attack(19, lbl_3e4, HEIN_05, NULL_FF, 0x00, 0xff, 0xff)
on.attack(21, lbl_3f4, CHERIE_04, NULL_FF, 0x00, 0xff, 0xff)
on.attack(25, lbl_40f, KEITH_07, NULL_FF, 0x00, 0xff, 0xff)
on.attack(27, lbl_41f, LESTER_09, NULL_FF, 0x00, 0xff, 0xff)
on.attack(30, lbl_481, KRAMER_1D, NULL_FF, 0x00, 0xff, 0xff)
on.attack(30, lbl_486, NULL_FF, KRAMER_1D, 0xff, 0x00, 0xff)
on.attack(32, lbl_58b, IMPERIALCOMMANDER_2F, NULL_FF, 0x00, 0xff, 0xff)
on.attack(38, lbl_5be, IMPERIALCOMMANDER_33, NULL_FF, 0x00, 0xff, 0xff)
on.attack(17, lbl_3d2, ERWIN_01, NULL_FF, 0x00, 0xff)
on.attack(19, lbl_3e4, HEIN_05, NULL_FF, 0x00, 0xff)
on.attack(21, lbl_3f4, CHERIE_04, NULL_FF, 0x00, 0xff)
on.attack(25, lbl_40f, KEITH_07, NULL_FF, 0x00, 0xff)
on.attack(27, lbl_41f, LESTER_09, NULL_FF, 0x00, 0xff)
on.attack(30, lbl_481, KRAMER_1D, NULL_FF, 0x00, 0xff)
on.attack(30, lbl_486, NULL_FF, KRAMER_1D, 0xff, 0x00)
on.attack(32, lbl_58b, IMPERIALCOMMANDER_2F, NULL_FF, 0x00, 0xff)
on.attack(38, lbl_5be, IMPERIALCOMMANDER_33, NULL_FF, 0x00, 0xff)
break
# Damage-Triggered Events
......@@ -40,23 +40,23 @@ on.damage(35, lbl_609, NULL_FF, IMPERIALCOMMANDER_30, 0xff, 0x00)
break
# Position-Triggered Events
on.bound(13, lbl_37b, NPC_COMMANDER_F0, 34, 8, 43, 16, 0x00, 0x00)
on.bound(14, lbl_384, NPC_COMMANDER_F0, 22, 1, 38, 24, 0x00, 0x00)
on.bound(15, lbl_389, ERWIN_01, 33, 17, 33, 17, 0x00, 0x00)
on.bound(16, lbl_395, NPC_COMMANDER_F0, 37, 2, 37, 2, 0x00, 0x00)
on.bound(13, lbl_37b, NPC_COMMANDER_F0, 34, 8, 43, 16)
on.bound(14, lbl_384, NPC_COMMANDER_F0, 22, 1, 38, 24)
on.bound(15, lbl_389, ERWIN_01, 33, 17, 33, 17)
on.bound(16, lbl_395, NPC_COMMANDER_F0, 37, 2, 37, 2)
break
# Turn-Triggered Events
on.turn(3, lbl_261, ALLY, 2, 0x00)
on.turn(4, lbl_2a5, ENEMY, 1, 0x00)
on.turn(5, lbl_2b7, ENEMY, 5, 0x00)
on.turn(6, lbl_2d5, ENEMY, 8, 0x00)
on.turn(7, lbl_2ef, ENEMY, 13, 0x00)
on.turn(8, lbl_2fd, ENEMY, 15, 0x00)
on.turn(9, lbl_30b, ALLY, 15, 0x00)
on.turn(10, lbl_31d, ALLY, 17, 0x00)
on.turn(11, lbl_342, ENEMY, 18, 0x00)
on.turn(12, lbl_365, ALLY, 3, 0x00)
on.turn(3, lbl_261, ALLY, 2)
on.turn(4, lbl_2a5, ENEMY, 1)
on.turn(5, lbl_2b7, ENEMY, 5)
on.turn(6, lbl_2d5, ENEMY, 8)
on.turn(7, lbl_2ef, ENEMY, 13)
on.turn(8, lbl_2fd, ENEMY, 15)
on.turn(9, lbl_30b, ALLY, 15)
on.turn(10, lbl_31d, ALLY, 17)
on.turn(11, lbl_342, ENEMY, 18)
on.turn(12, lbl_365, ALLY, 3)
break
# Core Events
......@@ -131,7 +131,7 @@ lbl_15a:
msg(HEIN_05, KRAMER_1D, HEIN, FOLLOW, 4)
# Oh no ...! Imperial soldiers!\0
msg(KRAMER_1D, LEFT_F6, KNIGHT2_GREEN, FOLLOW, 5)
# Curses! You're earlier than I thought!\r\nI, Kramer of the Water Dragon Navy, shall let you proceed no further!\0
# Curses! You're earlier than I thought!\r\nI, Krämer of the Water Dragon Navy, shall let you proceed no further!\0
unit.showsub(KRAMER_1D)
msg(CHERIE_04, RIGHT_F7, CHERIE, FOLLOW, 6)
# The Imperial forces have made it this far ahead ... Impressive ...\0
......@@ -214,7 +214,7 @@ break
lbl_2ef:
msg(SOLDIER_20, LEFT_F6, SOLDIER1_GREEN, NOFOLLOW, 31)
# Lord Kramer, we're almost done.\0
# Lord Krämer, we're almost done.\0
msg(KRAMER_1D, LEFT_F6, KNIGHT2_GREEN, FOLLOW, 32)
# Do it quicker! The enemy is stronger than I anticipated.\0
break
......@@ -300,7 +300,7 @@ lbl_395:
unit.cleanup()
msg(NULL_00, UP_F4, NULL, NOFOLLOW, 50)
# You notice a small sapling within a group of four trees.\r\nHidden beneath the sapling you spot a little sprite ...\r\nWhat will you do to it?\0
prompt.options(lbl_3be, lbl_3c7, 51, 52, 53, 0x00, 0xf4, 0x00, 0x00)
prompt.options(lbl_3be, lbl_3c7, 51, 52, 53, 0xf4)
# Smile at it\0
# Scare it\0
# Don't say anything\0
......@@ -532,7 +532,7 @@ break
lbl_59b:
msg(IMPERIALCOMMANDER_30, DOWN_F5, KNIGHT1_GREEN_DEAD, FOLLOW, 101)
# L, Lord Kramer ...\0
# L, Lord Krämer ...\0
local.sum($0a47d4, $07eb5b)
break
......
# Movement-Triggered Events
on.move(21, lbl_420, AARON_08, 2, 0xff)
on.move(2, lbl_42e, AARON_08, 0, 0xff)
on.move(22, lbl_436, AARON_08, 1, 0xff)
on.move(29, lbl_4a8, VILLAGER_26, 1, 0xff)
on.move(25, lbl_4ca, IMELDA_D7, 5, 0xff)
on.move(0, lbl_637, IMPERIALCOMMANDER_2F, 0, 0xff)
on.move(40, lbl_667, IMPERIALCOMMANDER_34, 0, 0xff)
on.move(42, lbl_677, IMPERIALCOMMANDER_35, 0, 0xff)
on.move(1, lbl_68a, IMPERIALCOMMANDER_36, 0, 0xff)
on.move(45, lbl_69a, IMPERIALCOMMANDER_37, 0, 0xff)
on.move(21, lbl_420, AARON_08, 2)
on.move(2, lbl_42e, AARON_08, 0)
on.move(22, lbl_436, AARON_08, 1)
on.move(29, lbl_4a8, VILLAGER_26, 1)
on.move(25, lbl_4ca, IMELDA_D7, 5)
on.move(0, lbl_637, IMPERIALCOMMANDER_2F, 0)
on.move(40, lbl_667, IMPERIALCOMMANDER_34, 0)
on.move(42, lbl_677, IMPERIALCOMMANDER_35, 0)
on.move(1, lbl_68a, IMPERIALCOMMANDER_36, 0)
on.move(45, lbl_69a, IMPERIALCOMMANDER_37, 0)
break
# Attack-Triggered Events
on.attack(16, lbl_3f8, CHERIE_04, NULL_FF, 0x00, 0xff, 0xff)
on.attack(23, lbl_468, AARON_08, NULL_FF, 0x00, 0xff, 0xff)
on.attack(27, lbl_48e, NULL_FF, VILLAGER_25, 0xff, 0x00, 0xff)
on.attack(31, lbl_4d6, IMELDA_D7, AARON_08, 0x00, 0x00, 0xff)
on.attack(32, lbl_4de, NULL_FF, IMELDA_D7, 0xff, 0x00, 0xff)
on.attack(16, lbl_3f8, CHERIE_04, NULL_FF, 0x00, 0xff)
on.attack(23, lbl_468, AARON_08, NULL_FF, 0x00, 0xff)
on.attack(27, lbl_48e, NULL_FF, VILLAGER_25, 0xff, 0x00)
on.attack(31, lbl_4d6, IMELDA_D7, AARON_08, 0x00, 0x00)
on.attack(32, lbl_4de, NULL_FF, IMELDA_D7, 0xff, 0x00)
break
# Damage-Triggered Events
......@@ -46,20 +46,20 @@ on.damage(49, lbl_6fe, NULL_FF, VILLAGER_25, 0xff, 0x00)
break
# Position-Triggered Events
on.bound(9, lbl_367, NPC_SUBUNIT_F1, 8, 9, 38, 22, 0x00, 0x00)
on.bound(10, lbl_381, NPC_SUBUNIT_F1, 6, 3, 19, 15, 0x00, 0x00)
on.bound(11, lbl_391, VILLAGER_25, 31, 4, 33, 6, 0x00, 0x00)
on.bound(12, lbl_3a2, NPC_COMMANDER_F0, 6, 3, 6, 3, 0x00, 0x00)
on.bound(13, lbl_3d8, AARON_08, 33, 10, 33, 10, 0x00, 0x00)
on.bound(9, lbl_367, NPC_SUBUNIT_F1, 8, 9, 38, 22)
on.bound(10, lbl_381, NPC_SUBUNIT_F1, 6, 3, 19, 15)
on.bound(11, lbl_391, VILLAGER_25, 31, 4, 33, 6)
on.bound(12, lbl_3a2, NPC_COMMANDER_F0, 6, 3, 6, 3)
on.bound(13, lbl_3d8, AARON_08, 33, 10, 33, 10)
break
# Turn-Triggered Events
on.turn(4, lbl_2af, ENEMY, 1, 0x00)
on.turn(5, lbl_300, ALLY, 2, 0x00)
on.turn(6, lbl_312, ENEMY, 10, 0x00)