Untitled diff

Created Diff never expires
from ScenarioHelper import *
from ScenarioHelper import *


def main():
def main():
SetCodePage("ms932")
SetCodePage("ms932")


CreateScenaFile(
CreateScenaFile(
"t1490.bin", # FileName
"t1490.bin", # FileName
"t1490", # MapName
"t1490", # MapName
"t1490", # Location
"t1490", # Location
0x00BB, # MapIndex
0x00BB, # MapIndex
"ed7000",
"ed7000",
0x00000000, # Flags
0x00000000, # Flags
("", "", "", "", "", ""), # include
("", "", "", "", "", ""), # include
0x00, # PlaceNameNumber
0x00, # PlaceNameNumber
0x1A, # PreInitFunctionIndex
0x1A, # PreInitFunctionIndex
b'\x00\xff\xff', # Unknown_51
b'\x00\xff\xff', # Unknown_51


# Information
# Information
[0, 0, -1000, 0, 0, 0, 24000, 500, 30, 45, 0, 360, 0, 0, 0, 0, 0, 1, 187, 0, 0, 0, 1],
[0, 0, -1000, 0, 0, 0, 24000, 500, 30, 45, 0, 360, 0, 0, 0, 0, 0, 1, 187, 0, 0, 0, 1],
)
)


BuildStringList((
BuildStringList((
"t1490", # 0
"t1490", # 0
"Mariabell", # 1
"Mariabell", # 1
"Secretary Arios", # 2
"Secretary Arios", # 2
"KeA", # 3
"KeA", # 3
"State Guard Soldier", # 4
"State Guard Soldier", # 4
"State Guard Soldier", # 5
"State Guard Soldier", # 5
"State Guard Soldier", # 6
"State Guard Soldier", # 6
"State Guard Soldier", # 7
"State Guard Soldier", # 7
"State Guard Soldier", # 8
"State Guard Soldier", # 8
"State Guard Soldier", # 9
"State Guard Soldier", # 9
"State Guard Soldier", # 10
"State Guard Soldier", # 10
"State Guard Soldier", # 11
"State Guard Soldier", # 11
"2nd Lt. Noel", # 12
"2nd Lt. Noel", # 12
"映像", # 13
"映像", # 13
"映像", # 14
"映像", # 14
"映像", # 15
"映像", # 15
"映像", # 16
"映像", # 16
"映像", # 17
"映像", # 17
"SE制御", # 18
"SE制御", # 18
"bt1430", # 19
"bt1430", # 19
"bt1430", # 20
"bt1430", # 20
))
))


ATBonus("ATBonus_2BC", 100, 5, 0, 5, 0, 5, 0, 2, 5, 0, 0, 0, 2, 0, 0, 0)
ATBonus("ATBonus_2BC", 100, 5, 0, 5, 0, 5, 0, 2, 5, 0, 0, 0, 2, 0, 0, 0)


MonsterBattlePostion("MonsterBattlePostion_37C", 8, 11, 180)
MonsterBattlePostion("MonsterBattlePostion_37C", 8, 11, 180)
MonsterBattlePostion("MonsterBattlePostion_380", 0, 0, 180)
MonsterBattlePostion("MonsterBattlePostion_380", 0, 0, 180)
MonsterBattlePostion("MonsterBattlePostion_384", 0, 0, 180)
MonsterBattlePostion("MonsterBattlePostion_384", 0, 0, 180)
MonsterBattlePostion("MonsterBattlePostion_388", 0, 0, 180)
MonsterBattlePostion("MonsterBattlePostion_388", 0, 0, 180)
MonsterBattlePostion("MonsterBattlePostion_38C", 0, 0, 180)
MonsterBattlePostion("MonsterBattlePostion_38C", 0, 0, 180)
MonsterBattlePostion("MonsterBattlePostion_390", 0, 0, 180)
MonsterBattlePostion("MonsterBattlePostion_390", 0, 0, 180)
MonsterBattlePostion("MonsterBattlePostion_394", 0, 0, 180)
MonsterBattlePostion("MonsterBattlePostion_394", 0, 0, 180)
MonsterBattlePostion("MonsterBattlePostion_398", 0, 0, 180)
MonsterBattlePostion("MonsterBattlePostion_398", 0, 0, 180)


# monster count: 0
# monster count: 0


# event battle count: 2
# event battle count: 2


BattleInfo(
BattleInfo(
"BattleInfo_3E0", 0x1142, 3, 6, 45, 3, 3, 30, 0, "bt1430", 0x00000000, 100, 0, 0, 0,
"BattleInfo_3E0", 0x1142, 3, 6, 45, 3, 3, 30, 0, "bt1430", 0x00000000, 100, 0, 0, 0,
(
(
("ms03800.dat", 0, 0, 0, 0, 0, 0, 0, "MonsterBattlePostion_37C", "MonsterBattlePostion_37C", "ed7540", "ed7453", "ATBonus_2BC"),
("ms03800.dat", 0, 0, 0, 0, 0, 0, 0, "MonsterBattlePostion_37C", "MonsterBattlePostion_37C", "ed7540", "ed7453", "ATBonus_2BC"),
(),
(),
(),
(),
(),
(),
)
)
)
)


BattleInfo(
BattleInfo(
"BattleInfo_39C", 0x1162, 3, 6, 45, 3, 3, 30, 0, "bt1430", 0x00000000, 100, 0, 0, 0,
"BattleInfo_39C", 0x1162, 3, 6, 45, 3, 3, 30, 0, "bt1430", 0x00000000, 100, 0, 0, 0,
(
(
("ms03800.dat", 0, 0, 0, 0, 0, 0, 0, "MonsterBattlePostion_37C", "MonsterBattlePostion_37C", "ed7540", "ed7453", "ATBonus_2BC"),
("ms03800.dat", 0, 0, 0, 0, 0, 0, 0, "MonsterBattlePostion_37C", "MonsterBattlePostion_37C", "ed7540", "ed7453", "ATBonus_2BC"),
(),
(),
(),
(),
(),
(),
)
)
)
)


DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 453, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(-10000, 5000, 8500, 0, 196, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(-10000, 5000, 8500, 0, 196, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(-6500, 6349, 8300, 0, 196, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(-6500, 6349, 8300, 0, 196, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(10000, 5000, 8500, 0, 196, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(10000, 5000, 8500, 0, 196, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(6500, 6349, 8300, 0, 196, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(6500, 6349, 8300, 0, 196, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(-100, 10699, 9300, 0, 196, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(-100, 10699, 9300, 0, 196, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 197, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)
DeclNpc(0, 0, 0, 0, 197, 0x0, 0, 0, 0, 255, 255, 255, 255, 255, 0)


ChipFrameInfo(1356, 0) # 0
ChipFrameInfo(1356, 0) # 0


ScpFunction((
ScpFunction((
"Function_0_54C", # 00, 0
"Function_0_54C", # 00, 0
"Function_1_5D0", # 01, 1
"Function_1_5D0", # 01, 1
"Function_2_650", # 02, 2
"Function_2_650", # 02, 2
"Function_3_70A", # 03, 3
"Function_3_70A", # 03, 3
"Function_4_7C4", # 04, 4
"Function_4_7C4", # 04, 4
"Function_5_87E", # 05, 5
"Function_5_87E", # 05, 5
"Function_6_2C68", # 06, 6
"Function_6_2C68", # 06, 6
"Function_7_2CD4", # 07, 7
"Function_7_2CD4", # 07, 7
"Function_8_2D40", # 08, 8
"Function_8_2D40", # 08, 8
"Function_9_2DA6", # 09, 9
"Function_9_2DA6", # 09, 9
"Function_10_2E12", # 0A, 10
"Function_10_2E12", # 0A, 10
"Function_11_2E34", # 0B, 11
"Function_11_2E34", # 0B, 11
"Function_12_2E56", # 0C, 12
"Function_12_2E56", # 0C, 12
"Function_13_2E78", # 0D, 13
"Function_13_2E78", # 0D, 13
"Function_14_2E9A", # 0E, 14
"Function_14_2E9A", # 0E, 14
"Function_15_2EBC", # 0F, 15
"Function_15_2EBC", # 0F, 15
"Function_16_2ECC", # 10, 16
"Function_16_2ECC", # 10, 16
"Function_17_2EDC", # 11, 17
"Function_17_2EDC", # 11, 17
"Function_18_2EEC", # 12, 18
"Function_18_2EEC", # 12, 18
"Function_19_2EFC", # 13, 19
"Function_19_2EFC", # 13, 19
"Function_20_2F0C", # 14, 20
"Function_20_2F0C", # 14, 20
"Function_21_2F27", # 15, 21
"Function_21_2F27", # 15, 21
"Function_22_2F39", # 16, 22
"Function_22_2F39", # 16, 22
"Function_23_39D4", # 17, 23
"Function_23_39D4", # 17, 23
"Function_24_3A57", # 18, 24
"Function_24_3A57", # 18, 24
"Function_25_3A77", # 19, 25
"Function_25_3A77", # 19, 25
"Function_26_3AA1", # 1A, 26
"Function_26_3AA1", # 1A, 26
"Function_27_3ACB", # 1B, 27
"Function_27_3ACB", # 1B, 27
"Function_28_3AF5", # 1C, 28
"Function_28_3AF5", # 1C, 28
"Function_29_3B35", # 1D, 29
"Function_29_3B35", # 1D, 29
"Function_30_3B51", # 1E, 30
"Function_30_3B51", # 1E, 30
"Function_31_4565", # 1F, 31
"Function_31_4565", # 1F, 31
"Function_32_6447", # 20, 32
"Function_32_6447", # 20, 32
"Function_33_6492", # 21, 33
"Function_33_6492", # 21, 33
"Function_34_64B1", # 22, 34
"Function_34_64B1", # 22, 34
"Function_35_64D0", # 23, 35
"Function_35_64D0", # 23, 35
"Function_36_662F", # 24, 36
"Function_36_662F", # 24, 36
"Function_37_6682", # 25, 37
"Function_37_6682", # 25, 37
"Function_38_66D4", # 26, 38
"Function_38_66D4", # 26, 38
"Function_39_6700", # 27, 39
"Function_39_6700", # 27, 39
"Function_40_672C", # 28, 40
"Function_40_672C", # 28, 40
"Function_41_682F", # 29, 41
"Function_41_682F", # 29, 41
"Function_42_6888", # 2A, 42
"Function_42_6888", # 2A, 42
"Function_43_68DB", # 2B, 43
"Function_43_68DB", # 2B, 43
"Function_44_692E", # 2C, 44
"Function_44_692E", # 2C, 44
"Function_45_6981", # 2D, 45
"Function_45_6981", # 2D, 45
"Function_46_699B", # 2E, 46
"Function_46_699B", # 2E, 46
"Function_47_69B5", # 2F, 47
"Function_47_69B5", # 2F, 47
"Function_48_69C8", # 30, 48
"Function_48_69C8", # 30, 48
"Function_49_69F3", # 31, 49
"Function_49_69F3", # 31, 49
"Function_50_7A31", # 32, 50
"Function_50_7A31", # 32, 50
"Function_51_7A51", # 33, 51
"Function_51_7A51", # 33, 51
"Function_52_7A91", # 34, 52
"Function_52_7A91", # 34, 52
"Function_53_7ACB", # 35, 53
"Function_53_7ACB", # 35, 53
"Function_54_7B05", # 36, 54
"Function_54_7B05", # 36, 54
"Function_55_7B45", # 37, 55
"Function_55_7B45", # 37, 55
"Function_56_7B7F", # 38, 56
"Function_56_7B7F", # 38, 56
"Function_57_7BBF", # 39, 57
"Function_57_7BBF", # 39, 57
"Function_58_7BF9", # 3A, 58
"Function_58_7BF9", # 3A, 58
"Function_59_7C39", # 3B, 59
"Function_59_7C39", # 3B, 59
"Function_60_7C75", # 3C, 60
"Function_60_7C75", # 3C, 60
"Function_61_7CB1", # 3D, 61
"Function_61_7CB1", # 3D, 61
"Function_62_7CE7", # 3E, 62
"Function_62_7CE7", # 3E, 62
"Function_63_7D23", # 3F, 63
"Function_63_7D23", # 3F, 63
"Function_64_7D33", # 40, 64
"Function_64_7D33", # 40, 64
"Function_65_7D6E", # 41, 65
"Function_65_7D6E", # 41, 65
"Function_66_7DA9", # 42, 66
"Function_66_7DA9", # 42, 66
"Function_67_7DE4", # 43, 67
"Function_67_7DE4", # 43, 67
"Function_68_7E1F", # 44, 68
"Function_68_7E1F", # 44, 68
"Function_69_7E5A", # 45, 69
"Function_69_7E5A", # 45, 69
"Function_70_7E95", # 46, 70
"Function_70_7E95", # 46, 70
"Function_71_7ED0", # 47, 71
"Function_71_7ED0", # 47, 71
"Function_72_7F0B", # 48, 72
"Function_72_7F0B", # 48, 72
"Function_73_7F3E", # 49, 73
"Function_73_7F3E", # 49, 73
))
))




def Function_0_54C(): pass
def Function_0_54C(): pass


label("Function_0_54C")
label("Function_0_54C")


OP_52(0x9, 0x2D, (scpexpr(EXPR_PUSH_LONG, 0x41A), scpexpr(EXPR_STUB), scpexpr(EXPR_END)))
OP_52(0x9, 0x2D, (scpexpr(EXPR_PUSH_LONG, 0x41A), scpexpr(EXPR_STUB), scpexpr(EXPR_END)))
OP_52(0x9, 0x2E, (scpexpr(EXPR_PUSH_LONG, 0x41A), scpexpr(EXPR_STUB), scpexpr(EXPR_END)))
OP_52(0x9, 0x2E, (scpexpr(EXPR_PUSH_LONG, 0x41A), scpexpr(EXPR_STUB), scpexpr(EXPR_END)))
OP_52(0x9, 0x2F, (scpexpr(EXPR_PUSH_LONG, 0x41A), scpexpr(EXPR_STUB), scpexpr(EXPR_END)))
OP_52(0x9, 0x2F, (scpexpr(EXPR_PUSH_LONG, 0x41A), scpexpr(EXPR_STUB), scpexpr(EXPR_END)))
Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x183, 2)), scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x183, 4)), scpexpr(EXPR_EQUZ), scpexpr(EXPR_NEQUZ_I64), scpexpr(EXPR_END)), "loc_581")
Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x183, 2)), scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x183, 4)), scpexpr(EXPR_EQUZ), scpexpr(EXPR_NEQUZ_I64), scpexpr(EXPR_END)), "loc_581")
SetScenarioFlags(0x0, 0)
SetScenarioFlags(0x0, 0)
Event(0, 5)
Event(0, 5)


label("loc_581")
label("loc_581")


Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x22, 0)), scpexpr(EXPR_END)), "loc_595")
Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x22, 0)), scpexpr(EXPR_END)), "loc_595")
ClearScenarioFlags(0x22, 0)
ClearScenarioFlags(0x22, 0)
Event(0, 22)
Event(0, 22)
Jump("loc_5CF")
Jump("loc_5CF")


label("loc_595")
label("loc_595")


Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x22, 1)), scpexpr(EXPR_END)), "loc_5A9")
Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x22, 1)), scpexpr(EXPR_END)), "loc_5A9")
ClearScenarioFlags(0x22, 1)
ClearScenarioFlags(0x22, 1)
Event(0, 30)
Event(0, 30)
Jump("loc_5CF")
Jump("loc_5CF")


label("loc_5A9")
label("loc_5A9")


Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x22, 2)), scpexpr(EXPR_END)), "loc_5BD")
Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x22, 2)), scpexpr(EXPR_END)), "loc_5BD")
ClearScenarioFlags(0x22, 2)
ClearScenarioFlags(0x22, 2)
Event(0, 31)
Event(0, 31)
Jump("loc_5CF")
Jump("loc_5CF")


label("loc_5BD")
label("loc_5BD")


Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x22, 3)), scpexpr(EXPR_END)), "loc_5CF")
Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x22, 3)), scpexpr(EXPR_END)), "loc_5CF")
ClearScenarioFlags(0x22, 3)
ClearScenarioFlags(0x22, 3)
SetScenarioFlags(0x0, 1)
SetScenarioFlags(0x0, 1)
Event(0, 49)
Event(0, 49)


label("loc_5CF")
label("loc_5CF")


Return()
Return()


# Function_0_54C end
# Function_0_54C end


def Function_1_5D0(): pass
def Function_1_5D0(): pass


label("Function_1_5D0")
label("Function_1_5D0")


Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x0, 0)), scpexpr(EXPR_END)), "loc_5E5")
Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x0, 0)), scpexpr(EXPR_END)), "loc_5E5")
OP_50(0x1, (scpexpr(EXPR_PUSH_LONG, 0xFB), scpexpr(EXPR_STUB), scpexpr(EXPR_END)))
OP_50(0x1, (scpexpr(EXPR_PUSH_LONG, 0xFB), scpexpr(EXPR_STUB), scpexpr(EXPR_END)))
ClearScenarioFlags(0x0, 0)
ClearScenarioFlags(0x0, 0)


label("loc_5E5")
label("loc_5E5")


Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x0, 1)), scpexpr(EXPR_END)), "loc_5FF")
Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x0, 1)), scpexpr(EXPR_END)), "loc_5FF")
OP_50(0x1, (scpexpr(EXPR_PUSH_LONG, 0x0), scpexpr(EXPR_STUB), scpexpr(EXPR_END)))
OP_50(0x1, (scpexpr(EXPR_PUSH_LONG, 0x0), scpexpr(EXPR_STUB), scpexpr(EXPR_END)))
ClearScenarioFlags(0x0, 1)
ClearScenarioFlags(0x0, 1)
Jump("loc_617")
Jump("loc_617")


label("loc_5FF")
label("loc_5FF")


Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x25, 0)), scpexpr(EXPR_END)), "loc_617")
Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x25, 0)), scpexpr(EXPR_END)), "loc_617")
SetScenarioFlags(0x0, 2)
SetScenarioFlags(0x0, 2)
OP_50(0x1, (scpexpr(EXPR_PUSH_LONG, 0x0), scpexpr(EXPR_STUB), scpexpr(EXPR_END)))
OP_50(0x1, (scpexpr(EXPR_PUSH_LONG, 0x0), scpexpr(EXPR_STUB), scpexpr(EXPR_END)))
ClearScenarioFlags(0x25, 0)
ClearScenarioFlags(0x25, 0)


label("loc_617")
label("loc_617")


SetMapObjFlags(0x0, 0x4)
SetMapObjFlags(0x0, 0x4)
SetMapObjFlags(0x1, 0x4)
SetMapObjFlags(0x1, 0x4)
SetMapObjFlags(0x2, 0x4)
SetMapObjFlags(0x2, 0x4)
SetMapObjFlags(0x3, 0x4)
SetMapObjFlags(0x3, 0x4)
SetMapObjFlags(0x4, 0x4)
SetMapObjFlags(0x4, 0x4)
Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x0, 2)), scpexpr(EXPR_END)), "loc_649")
Jc((scpexpr(EXPR_TEST_SCENA_FLAGS, MakeScenarioFlags(0x0, 2)), scpexpr(EXPR_END)), "loc_649")
OP_24(0x39F)
OP_24(0x39F)
ClearScenarioFlags(0x0, 2)
ClearScenarioFlags(0x0, 2)
Jump("loc_64F")
Jump("loc_64F")


label("loc_649")
label("loc_649")


Sound(927, 1, 80, 0)
Sound(927, 1, 80, 0)


label("loc_64F")
label("loc_64F")


Return()
Return()


# Function_1_5D0 end
# Function_1_5D0 end


def Function_2_650(): pass
def Function_2_650(): pass


label("Function_2_650")
label("Function_2_650")


SetMapObjFrame(0xFF, "floor03", 0x0, 0x1)
SetMapObjFrame(0xFF, "floor03", 0x0, 0x1)
SetMapObjFrame(0xFF, "back_mi", 0x0, 0x1)
SetMapObjFrame(0xFF, "back_mi", 0x0, 0x1)
SetMapObjFrame(0xFF, "Null_back01", 0x0, 0x1)
SetMapObjFrame(0xFF, "Null_back01", 0x0, 0x1)
SetMapObjFrame(0xFF, "floor02", 0x0, 0x1)
SetMapObjFrame(0xFF, "floor02", 0x0, 0x1)
SetMapObjFrame(0xFF, "floor_g02", 0x0, 0x1)
SetMapObjFrame(0xFF, "floor_g02", 0x0, 0x1)
SetMapObjFrame(0xFF, "meca02", 0x0, 0x1)
SetMapObjFrame(0xFF, "meca02", 0x0, 0x1)
SetMapObjFrame(0xFF, "code_b02", 0x0, 0x1)
SetMapObjFrame(0xFF, "code_b02", 0x0, 0x1)
SetMapObjFrame(0xFF, "mirror", 0x0, 0x1)
SetMapObjFrame(0xFF, "mirror", 0x0, 0x1)
SetMapObjFrame(0xFF, "Null_back", 0x0, 0x1)
SetMapObjFrame(0xFF, "Null_back", 0x0, 0x1)
SetMapObjFrame(0xFF, "back02", 0x0, 0x1)
SetMapObjFrame(0xFF, "back02", 0x0, 0x1)
SetMapObjFrame(0xFF, "mirror_", 0x0, 0x1)
SetMapObjFrame(0xFF, "mirror_", 0x0, 0x1)
SetMapObjFrame(0xFF, "pole02", 0x0, 0x1)
SetMapObjFrame(0xFF, "pole02", 0x0, 0x1)
Return()
Return()


# Function_2_650 end
# Function_2_650 end


def Function_3_70A(): pass
def Function_3_70A(): pass


label("Function_3_70A")
label("Function_3_70A")


SetMapObjFrame(0xFF, "floor03", 0x0, 0x1)
SetMapObjFrame(0xFF, "floor03", 0x0, 0x1)
SetMapObjFrame(0xFF, "back_mi", 0x0, 0x1)
SetMapObjFrame(0xFF, "back_mi", 0x0, 0x1)
SetMapObjFrame(0xFF, "Null_back01", 0x1, 0x1)
SetMapObjFrame(0xFF, "Null_back01", 0x1, 0x1)
SetMapObjFrame(0xFF, "floor02", 0x1, 0x1)
SetMapObjFrame(0xFF, "floor02", 0x1, 0x1)
SetMapObjFrame(0xFF, "floor_g02", 0x1, 0x1)
SetMapObjFrame(0xFF, "floor_g02", 0x1, 0x1)
SetMapObjFrame(0xFF, "meca02", 0x1, 0x1)
SetMapObjFrame(0xFF, "meca02", 0x1, 0x1)
SetMapObjFrame(0xFF, "code_b02", 0x1, 0x1)
SetMapObjFrame(0xFF, "code_b02", 0x1, 0x1)
SetMapObjFrame(0xFF, "mirror", 0x1, 0x1)
SetMapObjFrame(0xFF, "mirror", 0x1, 0x1)
SetMapObjFrame(0xFF, "Null_back", 0x1, 0x1)
SetMapObjFrame(0xFF, "Null_back", 0x1, 0x1)
SetMapObjFrame(0xFF, "back02", 0x1, 0x1)
SetMapObjFrame(0xFF, "back02", 0x1, 0x1)
SetMapObjFrame(0xFF, "mirror_", 0x1, 0x1)
SetMapObjFrame(0xFF, "mirror_", 0x1, 0x1)
SetMapObjFrame(0xFF, "pole02", 0x1, 0x1)
SetMapObjFrame(0xFF, "pole02", 0x1, 0x1)
Return()
Return()


# Function_3_70A end
# Function_3_70A end


def Function_4_7C4(): pass
def Function_4_7C4(): pass


label("Function_4_7C4")
label("Function_4_7C4")


SetMapObjFrame(0xFF, "floor03", 0x1, 0x1)
SetMapObjFrame(0xFF, "floor03", 0x1, 0x1)
SetMapObjFrame(0xFF, "back_mi", 0x1, 0x1)
SetMapObjFrame(0xFF, "back_mi", 0x1, 0x1)
SetMapObjFrame(0xFF, "Null_back01", 0x0, 0x1)
SetMapObjFrame(0xFF, "Null_back01", 0x0, 0x1)
SetMapObjFrame(0xFF, "floor02", 0x0, 0x1)
SetMapObjFrame(0xFF, "floor02", 0x0, 0x1)
SetMapObjFrame(0xFF, "floor_g02", 0x0, 0x1)
SetMapObjFrame(0xFF, "floor_g02", 0x0, 0x1)
SetMapObjFrame(0xFF, "meca02", 0x0, 0x1)
SetMapObjFrame(0xFF, "meca02", 0x0, 0x1)
SetMapObjFrame(0xFF, "code_b02", 0x0, 0x1)
SetMapObjFrame(0xFF, "code_b02", 0x0, 0x1)
SetMapObjFrame(0xFF, "mirror", 0x0, 0x1)
SetMapObjFrame(0xFF, "mirror", 0x0, 0x1)
SetMapObjFrame(0xFF, "Null_back", 0x1, 0x1)
SetMapObjFrame(0xFF, "Null_back", 0x1, 0x1)
SetMapObjFrame(0xFF, "back02", 0x1, 0x1)
SetMapObjFrame(0xFF, "back02", 0x1, 0x1)
SetMapObjFrame(0xFF, "mirror_", 0x1, 0x1)
SetMapObjFrame(0xFF, "mirror_", 0x1, 0x1)
SetMapObjFrame(0xFF, "pole02", 0x1, 0x1)
SetMapObjFrame(0xFF, "pole02", 0x1, 0x1)
Return()
Return()


# Function_4_7C4 end
# Function_4_7C4 end


def Function_5_87E(): pass
def Function_5_87E(): pass


label("Function_5_87E")
label("Function_5_87E")


EventBegin(0x0)
EventBegin(0x0)
FadeToDark(0, 0, -1)
FadeToDark(0, 0, -1)
LoadChrToIndex("apl/ch51528.itc", 0x1E)
LoadChrToIndex("apl/ch51528.itc", 0x1E)
LoadChrToIndex("chr/ch03700.itc", 0x1F)
LoadChrToIndex("chr/ch03700.itc", 0x1F)
LoadChrToIndex("chr/ch03800.itc", 0x20)
LoadChrToIndex("chr/ch03800.itc", 0x20)
LoadChrToIndex("chr/ch03754.itc", 0x21)
LoadChrToIndex("chr/ch03754.itc", 0x21)
LoadChrToIndex("apl/ch51529.itc", 0x22)
LoadChrToIndex("apl/ch51529.itc", 0x22)
CreatePortrait(0, 65514, 0, 490, 256, 0, 0, 512, 256, 0, 0, 512, 256, 0xFFFFFF, 0x0, "bu10800.itp")
CreatePortrait(0, 65514, 0, 490, 256, 0, 0, 512, 256, 0, 0, 512, 256, 0xFFFFFF, 0x0, "bu10800.itp")
CreatePortrait(1, 234, 0, 490, 256, 0, 0, 256, 256, 0, 0, 256, 256, 0xFFFFFF, 0x0, "bu05800.itp")
CreatePortrait(1, 234, 0, 490, 256, 0, 0, 256, 256, 0, 0, 256, 256, 0xFFFFFF, 0x0, "bu05800.itp")
LoadEffect(0x0, "event\\ev15050.eff")
LoadEffect(0x0, "event\\ev15050.eff")
SoundLoad(3719)
SoundLoad(3719)
SoundLoad(3398)
SoundLoad(3398)
SoundLoad(3399)
SoundLoad(3399)
SoundLoad(3400)
SoundLoad(3400)
SoundLoad(3321)
SoundLoad(3321)
SoundLoad(3780)
SoundLoad(3780)
SoundLoad(3781)
SoundLoad(3781)
SoundLoad(3782)
SoundLoad(3782)
SoundLoad(3783)
SoundLoad(3783)
SoundLoad(3625)
SoundLoad(3625)
SetChrPos(0x101, 0, -2000, -41500, 0)
SetChrPos(0x101, 0, -2000, -41500, 0)
SetChrPos(0x102, -1000, -2000, -41500, 0)
SetChrPos(0x102, -1000, -2000, -41500, 0)
SetChrPos(0x103, 1000, -2000, -41500, 0)
SetChrPos(0x103, 1000, -2000, -41500, 0)
SetChrPos(0x104, 0, -2000, -41500, 0)
SetChrPos(0x104, 0, -2000, -41500, 0)
OP_A7(0x101, 0xFF, 0xFF, 0xFF, 0x0, 0x0)
OP_A7(0x101, 0xFF, 0xFF, 0xFF, 0x0, 0x0)
OP_A7(0x102, 0xFF, 0xFF, 0xFF, 0x0, 0x0)
OP_A7(0x102, 0xFF, 0xFF, 0xFF, 0x0, 0x0)
OP_A7(0x103, 0xFF, 0xFF, 0xFF, 0x0, 0x0)
OP_A7(0x103, 0xFF, 0xFF, 0xFF, 0x0, 0x0)
OP_A7(0x104, 0xFF, 0xFF, 0xFF, 0x0, 0x0)
OP_A7(0x104, 0xFF, 0xFF, 0xFF, 0x0, 0x0)
SetChrChipByIndex(0xA, 0x1E)
SetChrChipByIndex(0xA, 0x1E)
SetChrSubChip(0xA, 0x1)
SetChrSubChip(0xA, 0x1)
ClearChrFlags(0xA, 0x80)
ClearChrFlags(0xA, 0x80)
SetChrFlags(0xA, 0x8000)
SetChrFlags(0xA, 0x8000)
SetChrPos(0xA, 0, 3250, 7150, 180)
SetChrPos(0xA, 0, 3250, 7150, 180)
SetChrFlags(0xA, 0x20)
SetChrFlags(0xA, 0x20)
ClearChrFlags(0xA, 0x1)
ClearChrFlags(0xA, 0x1)
SetChrChipByIndex(0x8, 0x1F)
SetChrChipByIndex(0x8, 0x1F)
SetChrSubChip(0x8, 0x0)
SetChrSubChip(0x8, 0x0)
ClearChrFlags(0x8, 0x80)
ClearChrFlags(0x8, 0x80)
SetChrFlags(0x8, 0x8000)
SetChrFlags(0x8, 0x8000)
SetChrPos(0x8, -1000, 2000, 3500, 180)
SetChrPos(0x8, -1000, 2000, 3500, 180)
SetChrChipByIndex(0x9, 0x20)
SetChrChipByIndex(0x9, 0x20)
SetChrSubChip(0x9, 0x0)
SetChrSubChip(0x9, 0x0)
ClearChrFlags(0x9, 0x80)
ClearChrFlags(0x9, 0x80)
SetChrFlags(0x9, 0x8000)
SetChrFlags(0x9, 0x8000)
SetChrPos(0x9, 1000, 2000, 2600, 180)
SetChrPos(0x9, 1000, 2000, 2600, 180)
ClearChrFlags(0x14, 0x80)
ClearChrFlags(0x14, 0x80)
ClearChrFlags(0x15, 0x80)
ClearChrFlags(0x15, 0x80)
ClearChrFlags(0x16, 0x80)
ClearChrFlags(0x16, 0x80)
ClearChrFlags(0x18, 0x80)
ClearChrFlags(0x18, 0x80)
OP_78(0x0, 0x14)
OP_78(0x0, 0x14)
OP_78(0x1, 0x15)
OP_78(0x1, 0x15)
OP_78(0x2, 0x16)
OP_78(0x2, 0x16)
OP_78(0x4, 0x18)
OP_78(0x4, 0x18)
OP_49()
OP_49()
ClearMapObjFlags(0x0, 0x4)
ClearMapObjFlags(0x0, 0x4)
ClearMapObjFlags(0x1, 0x4)
ClearMapObjFlags(0x1, 0x4)
ClearMapObjFlags(0x2, 0x4)
ClearMapObjFlags(0x2, 0x4)
ClearMapObjFlags(0x4, 0x4)
ClearMapObjFlags(0x4, 0x4)
SetMapObjFlags(0x0, 0x1000)
SetMapObjFlags(0x0, 0x1000)
SetMapObjFlags(0x1, 0x1000)
SetMapObjFlags(0x1, 0x1000)
SetMapObjFlags(0x2, 0x1000)
SetMapObjFlags(0x2, 0x1000)
SetMapObjFlags(0x4, 0x1000)
SetMapObjFlags(0x4, 0x1000)
SetMapObjFrame(0x4, "m_face2", 0x0, 0x1)
SetMapObjFrame(0x4, "m_face2", 0x0, 0x1)
SetMapObjFrame(0x4, "m_face3", 0x0, 0x1)
SetMapObjFrame(0x4, "m_face3", 0x0, 0x1)
Call(0, 3)
Call(0, 3)
OP_68(0, 1000, -36000, 0)
OP_68(0, 1000, -36000, 0)
MoveCamera(145, 16, 0, 0)
MoveCamera(145, 16, 0, 0)
OP_6E(600, 0)
OP_6E(600, 0)
SetCameraDistance(23000, 0)
SetCameraDistance(23000, 0)
FadeToBright(1000, 0)
FadeToBright(1000, 0)
OP_68(0, -300, -36000, 6000)
OP_68(0, -300, -36000, 6000)
SetCameraDistance(16500, 6000)
SetCameraDistance(16500, 6000)
OP_0D()
OP_0D()
BeginChrThread(0x101, 3, 0, 6)
BeginChrThread(0x101, 3, 0, 6)
Sleep(650)
Sleep(650)
BeginChrThread(0x102, 3, 0, 7)
BeginChrThread(0x102, 3, 0, 7)
Sleep(650)
Sleep(650)
BeginChrThread(0x103, 3, 0, 8)
BeginChrThread(0x103, 3, 0, 8)
Sleep(650)
Sleep(650)
BeginChrThread(0x104, 3, 0, 9)
BeginChrThread(0x104, 3, 0, 9)
WaitChrThread(0x101, 3)
WaitChrThread(0x101, 3)
StopBGM(0xFA0)
StopBGM(0xFA0)
OP_63(0x101, 0x0, 2000, 0x2, 0x7, 0x50, 0x1)
OP_63(0x101, 0x0, 2000, 0x2, 0x7, 0x50, 0x1)
Sound(28, 0, 100, 0)
Sound(28, 0, 100, 0)
Sleep(50)
Sleep(50)
OP_63(0x102, 0x0, 2000, 0x2, 0x7, 0x50, 0x1)
OP_63(0x102, 0x0, 2000, 0x2, 0x7, 0x50, 0x1)
Sound(28, 0, 100, 0)
Sound(28, 0, 100, 0)
Sleep(50)
Sleep(50)
OP_63(0x103, 0x0, 2000, 0x2, 0x7, 0x50, 0x1)
OP_63(0x103, 0x0, 2000, 0x2, 0x7, 0x50, 0x1)
Sound(28, 0, 100, 0)
Sound(28, 0, 100, 0)
Sleep(50)
Sleep(50)
OP_63(0x104, 0x0, 2000, 0x2, 0x7, 0x50, 0x1)
OP_63(0x104, 0x0, 2000, 0x2, 0x7, 0x50, 0x1)
Sound(28, 0, 100, 0)
Sound(28, 0, 100, 0)
Sleep(1000)
Sleep(1000)
OP_82(0x64, 0x0, 0xBB8, 0x12C)
OP_82(0x64, 0x0, 0xBB8, 0x12C)


#C0001
#C0001


ChrTalk(
ChrTalk(
0x101,
0x101,
"#00007F#11P#4S!!\x02",
"#00007F#11P#4S!!\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()
OP_68(0, -300, -26000, 2000)
OP_68(0, -300, -26000, 2000)
MoveCamera(135, 16, 0, 2000)
MoveCamera(135, 16, 0, 2000)
SetCameraDistance(15000, 2000)
SetCameraDistance(15000, 2000)


def lambda_BC2():
def lambda_BC2():
OP_9B(0x0, 0xFE, 0x0, 0x1F40, 0xFA0, 0x0)
OP_9B(0x0, 0xFE, 0x0, 0x1F40, 0xFA0, 0x0)
ExitThread()
ExitThread()


QueueWorkItem(0x101, 1, lambda_BC2)
QueueWorkItem(0x101, 1, lambda_BC2)
Sleep(50)
Sleep(50)


def lambda_BDA():
def lambda_BDA():
OP_9B(0x0, 0xFE, 0x0, 0x1F40, 0xFA0, 0x0)
OP_9B(0x0, 0xFE, 0x0, 0x1F40, 0xFA0, 0x0)
ExitThread()
ExitThread()


QueueWorkItem(0x102, 1, lambda_BDA)
QueueWorkItem(0x102, 1, lambda_BDA)
Sleep(50)
Sleep(50)


def lambda_BF2():
def lambda_BF2():
OP_9B(0x0, 0xFE, 0x0, 0x1F40, 0xFA0, 0x0)
OP_9B(0x0, 0xFE, 0x0, 0x1F40, 0xFA0, 0x0)
ExitThread()
ExitThread()


QueueWorkItem(0x103, 1, lambda_BF2)
QueueWorkItem(0x103, 1, lambda_BF2)
Sleep(50)
Sleep(50)


def lambda_C0A():
def lambda_C0A():
OP_9B(0x0, 0xFE, 0x0, 0x1F40, 0xFA0, 0x0)
OP_9B(0x0, 0xFE, 0x0, 0x1F40, 0xFA0, 0x0)
ExitThread()
ExitThread()


QueueWorkItem(0x104, 1, lambda_C0A)
QueueWorkItem(0x104, 1, lambda_C0A)
WaitChrThread(0x101, 1)
WaitChrThread(0x101, 1)
WaitChrThread(0x102, 1)
WaitChrThread(0x102, 1)
WaitChrThread(0x103, 1)
WaitChrThread(0x103, 1)
WaitChrThread(0x104, 1)
WaitChrThread(0x104, 1)
OP_6F(0x79)
OP_6F(0x79)


#C0002
#C0002


ChrTalk(
ChrTalk(
0x103,
0x103,
"#00201F#11PT-That's...\x02",
"#00201F#11PT-That's...\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()


#C0003
#C0003


ChrTalk(
ChrTalk(
0x104,
0x104,
"#00310F#11P...Hey now...\x02",
"#00310F#11P...Hey now...\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()


#C0004
#C0004


ChrTalk(
ChrTalk(
0x102,
0x102,
"#00106F#11PWhy...\x02",
"#00106F#11PWhy...\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()
OP_57(0x0)
OP_57(0x0)
OP_5A()
OP_5A()
WaitBGM()
WaitBGM()
Sleep(10)
Sleep(10)
PlayBGM("ed7572", 0)
PlayBGM("ed7572", 0)
Fade(1000)
Fade(1000)
Call(0, 2)
Call(0, 2)
OP_68(0, 4000, -19000, 0)
OP_68(0, 4000, -19000, 0)
MoveCamera(0, 35, 0, 0)
MoveCamera(0, 35, 0, 0)
OP_6E(600, 0)
OP_6E(600, 0)
SetCameraDistance(40000, 0)
SetCameraDistance(40000, 0)
OP_68(0, 4000, 5000, 12000)
OP_68(0, 4000, 5000, 12000)
MoveCamera(0, 15, 0, 12000)
MoveCamera(0, 15, 0, 12000)
SetCameraDistance(35000, 12000)
SetCameraDistance(35000, 12000)
Sleep(1000)
Sleep(1000)


def lambda_CEB():
def lambda_CEB():
OP_9B(0x0, 0xFE, 0x0, 0x3E80, 0xFA0, 0x0)
OP_9B(0x0, 0xFE, 0x0, 0x3E80, 0xFA0, 0x0)
ExitThread()
ExitThread()


QueueWorkItem(0x101, 1, lambda_CEB)
QueueWorkItem(0x101, 1, lambda_CEB)
Sleep(50)
Sleep(50)


def lambda_D03():
def lambda_D03():
OP_9B(0x0, 0xFE, 0x0, 0x3E80, 0xFA0, 0x0)
OP_9B(0x0, 0xFE, 0x0, 0x3E80, 0xFA0, 0x0)
ExitThread()
ExitThread()


QueueWorkItem(0x103, 1, lambda_D03)
QueueWorkItem(0x103, 1, lambda_D03)
Sleep(50)
Sleep(50)


def lambda_D1B():
def lambda_D1B():
OP_9B(0x0, 0xFE, 0x0, 0x3E80, 0xFA0, 0x0)
OP_9B(0x0, 0xFE, 0x0, 0x3E80, 0xFA0, 0x0)
ExitThread()
ExitThread()


QueueWorkItem(0x104, 1, lambda_D1B)
QueueWorkItem(0x104, 1, lambda_D1B)
Sleep(50)
Sleep(50)


def lambda_D33():
def lambda_D33():
OP_9B(0x0, 0xFE, 0x0, 0x3E80, 0xFA0, 0x0)
OP_9B(0x0, 0xFE, 0x0, 0x3E80, 0xFA0, 0x0)
ExitThread()
ExitThread()


QueueWorkItem(0x102, 1, lambda_D33)
QueueWorkItem(0x102, 1, lambda_D33)
WaitChrThread(0x101, 1)
WaitChrThread(0x101, 1)
WaitChrThread(0x102, 1)
WaitChrThread(0x102, 1)
WaitChrThread(0x103, 1)
WaitChrThread(0x103, 1)
WaitChrThread(0x104, 1)
WaitChrThread(0x104, 1)
OP_6F(0x79)
OP_6F(0x79)
OP_0D()
OP_0D()
Fade(1000)
Fade(1000)
OP_68(0, 1400, 5000, 0)
OP_68(0, 1400, 5000, 0)
MoveCamera(0, 15, 0, 0)
MoveCamera(0, 15, 0, 0)
OP_6E(600, 0)
OP_6E(600, 0)
SetCameraDistance(18500, 0)
SetCameraDistance(18500, 0)
OP_68(0, 3300, 5000, 4000)
OP_68(0, 3300, 5000, 4000)
OP_6F(0x79)
OP_6F(0x79)
OP_0D()
OP_0D()
Sleep(300)
Sleep(300)
OP_82(0x64, 0x0, 0xBB8, 0x12C)
OP_82(0x64, 0x0, 0xBB8, 0x12C)
OP_C9(0x0, 0x80000000)
OP_C9(0x0, 0x80000000)
SetMessageWindowPos(80, 170, -1, -1)
SetMessageWindowPos(80, 170, -1, -1)


#A0005
#A0005


AnonymousTalk(
AnonymousTalk(
0x101,
0x101,
(
(
"#00007F#3321V#30W#20AKeA!\x01",
"#00007F#3321V#30W#20AKeA!\x01",
"Mr. Arios...!\x02",
"Mr. Arios...!\x02",
)
)
)
)


CloseMessageWindow()
CloseMessageWindow()
Sleep(300)
Sleep(300)
OP_82(0x64, 0x0, 0xBB8, 0x12C)
OP_82(0x64, 0x0, 0xBB8, 0x12C)
SetMessageWindowPos(230, 170, -1, -1)
SetMessageWindowPos(230, 170, -1, -1)


#A0006
#A0006


AnonymousTalk(
AnonymousTalk(
0x102,
0x102,
"#00107F#3398V#30W#15A...Bell...!\x02",
"#00107F#3398V#30W#15A...Bell...!\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()
OP_57(0x0)
OP_57(0x0)
OP_5A()
OP_5A()
SetMessageWindowPos(14, 280, 60, 3)
SetMessageWindowPos(14, 280, 60, 3)
Fade(1000)
Fade(1000)
OP_68(0, 3800, 7500, 0)
OP_68(0, 3800, 7500, 0)
MoveCamera(0, 15, 0, 0)
MoveCamera(0, 15, 0, 0)
OP_6E(600, 0)
OP_6E(600, 0)
SetCameraDistance(14000, 0)
SetCameraDistance(14000, 0)
SetCameraDistance(13500, 2000)
SetCameraDistance(13500, 2000)
OP_6F(0x79)
OP_6F(0x79)
OP_0D()
OP_0D()
Fade(500)
Fade(500)
SetChrSubChip(0xA, 0x0)
SetChrSubChip(0xA, 0x0)
OP_0D()
OP_0D()
OP_CB(0x1, 0x3, 0xFFFFFFFF, 0x1F4, 0x0, 0x0)
OP_CB(0x1, 0x3, 0xFFFFFFFF, 0x1F4, 0x0, 0x0)
OP_CB(0x1, 0x0, 0xFFFFD8F0, 0x0, 0x1F4, 0x0)
OP_CB(0x1, 0x0, 0xFFFFD8F0, 0x0, 0x1F4, 0x0)
OP_CC(0x0, 0x1, 0x3)
OP_CC(0x0, 0x1, 0x3)
OP_CC(0x0, 0x1, 0x0)
OP_CC(0x0, 0x1, 0x0)
SetMessageWindowPos(14, 280, 35, 3)
SetMessageWindowPos(14, 280, 35, 3)
Sleep(500)
Sleep(500)


#A0007
#A0007


AnonymousTalk(
AnonymousTalk(
0xA,
0xA,
"#3625V#40W...Lloyd...everyone...\x02",
"#3625V#40W...Lloyd...everyone...\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()
OP_57(0x0)
OP_57(0x0)
OP_5A()
OP_5A()
OP_24(0xE29)
OP_24(0xE29)
SetMessageWindowPos(14, 280, 60, 3)
SetMessageWindowPos(14, 280, 60, 3)
OP_CB(0x1, 0x3, 0xFFFFFF, 0x1F4, 0x0, 0x0)
OP_CB(0x1, 0x3, 0xFFFFFF, 0x1F4, 0x0, 0x0)
OP_CB(0x1, 0x0, 0x0, 0x0, 0x1F4, 0x0)
OP_CB(0x1, 0x0, 0x0, 0x0, 0x1F4, 0x0)
OP_CC(0x0, 0x1, 0x3)
OP_CC(0x0, 0x1, 0x3)
OP_CC(0x0, 0x1, 0x0)
OP_CC(0x0, 0x1, 0x0)
OP_C9(0x1, 0x80000000)
OP_C9(0x1, 0x80000000)
Fade(500)
Fade(500)
Call(0, 3)
Call(0, 3)
OP_68(-1500, 2500, 0, 0)
OP_68(-1500, 2500, 0, 0)
MoveCamera(140, 21, 0, 0)
MoveCamera(140, 21, 0, 0)
OP_6E(500, 0)
OP_6E(500, 0)
SetCameraDistance(20850, 0)
SetCameraDistance(20850, 0)
SetChrPos(0x101, 0, -2000, -10500, 0)
SetChrPos(0x101, 0, -2000, -10500, 0)
SetChrPos(0x102, -1000, -2000, -11500, 0)
SetChrPos(0x102, -1000, -2000, -11500, 0)
SetChrPos(0x103, 1000, -2000, -11500, 0)
SetChrPos(0x103, 1000, -2000, -11500, 0)
SetChrPos(0x104, 0, -2000, -12500, 0)
SetChrPos(0x104, 0, -2000, -12500, 0)
OP_0D()
OP_0D()


#C0008
#C0008


ChrTalk(
ChrTalk(
0x9,
0x9,
"#10503F#5P#30W............\x02",
"#10503F#5P#30W............\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()
OP_57(0x0)
OP_57(0x0)
OP_5A()
OP_5A()
OP_C9(0x0, 0x80000000)
OP_C9(0x0, 0x80000000)


#C0009
#C0009


ChrTalk(
ChrTalk(
0x8,
0x8,
(
(
"#10804F#3780V#5P#30WUh uh...\x01",
"#10804F#3780V#5P#30WUh uh...\x01",
"You have finally come.\x02",
"You have finally come.\x02",
)
)
)
)


CloseMessageWindow()
CloseMessageWindow()
OP_24(0xEC4)
OP_24(0xEC4)
OP_57(0x0)
OP_57(0x0)
OP_5A()
OP_5A()
Sleep(150)
Sleep(150)


#C0010
#C0010


ChrTalk(
ChrTalk(
0x102,
0x102,
"#00106F#3399V#11P#40WBell... Why...\x02",
"#00106F#3399V#11P#40WBell... Why...\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()
OP_24(0xD47)
OP_24(0xD47)
Sleep(300)
Sleep(300)
OP_82(0x64, 0x0, 0xBB8, 0xC8)
OP_82(0x64, 0x0, 0xBB8, 0xC8)


#C0011
#C0011


ChrTalk(
ChrTalk(
0x102,
0x102,
(
(
"#00107F#3400V#11P#4S#30WWhy are\x01",
"#00107F#3400V#11P#4S#30WWhy are\x01",
"you there!?\x02",
"you there!?\x02",
)
)
)
)


CloseMessageWindow()
CloseMessageWindow()
OP_57(0x0)
OP_57(0x0)
OP_5A()
OP_5A()
OP_24(0xD48)
OP_24(0xD48)
Fade(500)
Fade(500)
Call(0, 2)
Call(0, 2)
OP_68(-510, 3300, 2670, 0)
OP_68(-510, 3300, 2670, 0)
MoveCamera(45, 25, 0, 0)
MoveCamera(45, 25, 0, 0)
OP_6E(600, 0)
OP_6E(600, 0)
SetCameraDistance(16740, 0)
SetCameraDistance(16740, 0)
SetCameraDistance(15740, 1500)
SetCameraDistance(15740, 1500)
OP_6F(0x79)
OP_6F(0x79)
OP_0D()
OP_0D()
OP_CB(0x0, 0x3, 0xFFFFFFFF, 0x1F4, 0x0, 0x0)
OP_CB(0x0, 0x3, 0xFFFFFFFF, 0x1F4, 0x0, 0x0)
OP_CB(0x0, 0x0, 0xFFFFD8F0, 0x0, 0x1F4, 0x0)
OP_CB(0x0, 0x0, 0xFFFFD8F0, 0x0, 0x1F4, 0x0)
OP_CC(0x0, 0x0, 0x3)
OP_CC(0x0, 0x0, 0x3)
OP_CC(0x0, 0x0, 0x0)
OP_CC(0x0, 0x0, 0x0)
SetMessageWindowPos(14, 280, 35, 3)
SetMessageWindowPos(14, 280, 35, 3)
Sleep(500)
Sleep(500)


#A0012
#A0012


AnonymousTalk(
AnonymousTalk(
0x8,
0x8,
(
(
"#3781V#30WUh uh──\x01",
"#3781V#30WUh uh──\x01",
"It is simple.\x02\x03",
"It is simple.\x02\x03",


"#3782VAs a descendant of the Crois\x01",
"#3782VAs a descendant of the Crois\x01",
"clan that inherited the \x01",
"clan that inherited the \x01",
"\"Great Sept-Terrion\"...\x02\x03",
"\"Great Sept-Terrion\"...\x02\x03",


"#3783VIt is only natural to\x01",
"#3783VIt is only natural to\x01",
"carry out my duty.\x02",
"carry out my duty.\x02",
)
)
)
)


CloseMessageWindow()
CloseMessageWindow()
OP_57(0x0)
OP_57(0x0)
OP_5A()
OP_5A()
OP_24(0xEC7)
OP_24(0xEC7)
SetMessageWindowPos(14, 280, 60, 3)
SetMessageWindowPos(14, 280, 60, 3)
OP_CB(0x0, 0x3, 0xFFFFFF, 0x1F4, 0x0, 0x0)
OP_CB(0x0, 0x3, 0xFFFFFF, 0x1F4, 0x0, 0x0)
OP_CB(0x0, 0x0, 0x0, 0x0, 0x1F4, 0x0)
OP_CB(0x0, 0x0, 0x0, 0x0, 0x1F4, 0x0)
Sleep(300)
Sleep(300)
OP_C9(0x1, 0x80000000)
OP_C9(0x1, 0x80000000)
Fade(500)
Fade(500)
Call(0, 3)
Call(0, 3)
OP_68(-1500, 2500, 0, 0)
OP_68(-1500, 2500, 0, 0)
MoveCamera(140, 21, 0, 0)
MoveCamera(140, 21, 0, 0)
OP_6E(500, 0)
OP_6E(500, 0)
SetCameraDistance(20850, 0)
SetCameraDistance(20850, 0)
OP_0D()
OP_0D()


#C0013
#C0013


ChrTalk(
ChrTalk(
0x101,
0x101,
"#00011F#11PThe \"Great Sept-Terrion\"...\x02",
"#00011F#11PThe \"Great Sept-Terrion\"...\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()


#C0014
#C0014


ChrTalk(
ChrTalk(
0x103,
0x103,
(
(
"#00207F#11PIt can't be...\x01",
"#00207F#11PIt can't be...\x01",
"The same kind of the \"Aureole\"\x01",
"The same kind of the \"Aureole\"\x01",
"that appeared in Liberl...!?\x02",
"that appeared in Liberl...!?\x02",
)
)
)
)


CloseMessageWindow()
CloseMessageWindow()


#C0015
#C0015


ChrTalk(
ChrTalk(
0x8,
0x8,
(
(
"#10809F#5PThis will save me time.\x02\x03",
"#10809F#5PThis will save me time.\x02\x03",


"#10804FThe \"Sept-Terrions\" the Goddess gave to\x01",
"#10804FThe \"Sept-Terrions\" the Goddess gave to\x01",
"humanity a very long time ago...\x02\x03",
"humanity a very long time ago...\x02\x03",


"#10811FOne of them was inherited by my family.\x01\x02\x03",
"#10811FOne of them was inherited by my family.\x01\x02\x03",


"That was over 1200 years ago, though.\x02",
"That was over 1200 years ago, though.\x02",
)
)
)
)


CloseMessageWindow()
CloseMessageWindow()


#C0016
#C0016


ChrTalk(
ChrTalk(
0x103,
0x103,
"#00205F#11P......?\x02",
"#00205F#11P......?\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()


#C0017
#C0017


ChrTalk(
ChrTalk(
0x104,
0x104,
"#00306F#11PI don't get it at all...\x02",
"#00306F#11PI don't get it at all...\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()


#C0018
#C0018


ChrTalk(
ChrTalk(
0x8,
0x8,
(
(
"#10804F#5PUh uh, due to some unfortunate events,\x01",
"#10804F#5PUh uh, due to some unfortunate events,\x01",
"this Goddess' Sept-Terrion was lost.\x02\x03",
"this Goddess' Sept-Terrion was lost.\x02\x03",


"#10803FAs a result, the Crois clan's founders\x01",
"#10803FAs a result, the Crois clan's founders\x01",
"devised an extraordinary grand project to\x01",
"devised an extraordinary grand project to\x01",
"retrieve this Sept-Terrion at all costs...\x02\x03",
"retrieve this Sept-Terrion at all costs...\x02\x03",


"#10800FThey decided to construct a giant\x01",
"#10800FThey decided to construct a giant\x01",
"\"ceremony\" in the land of Crossbell.\x02",
"\"ceremony\" in the land of Crossbell.\x02",
)
)
)
)


CloseMessageWindow()
CloseMessageWindow()


#C0019
#C0019


ChrTalk(
ChrTalk(
0x101,
0x101,
"#00013F#11P!?\x02",
"#00013F#11P!?\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()


#C0020
#C0020


ChrTalk(
ChrTalk(
0x102,
0x102,
"#00108F#11PA giant \"ceremony\"...\x02",
"#00108F#11PA giant \"ceremony\"...\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()


#C0021
#C0021


ChrTalk(
ChrTalk(
0x103,
0x103,
(
(
"#00201F#11PThe inexplicable and giant system\x01",
"#00201F#11PThe inexplicable and giant system\x01",
"that uses the orbal net...?\x02",
"that uses the orbal net...?\x02",
)
)
)
)


CloseMessageWindow()
CloseMessageWindow()


#C0022
#C0022


ChrTalk(
ChrTalk(
0x8,
0x8,
(
(
"#10803F#5PYes, a \"magical science\" brought forth\x01",
"#10803F#5PYes, a \"magical science\" brought forth\x01",
"by uniting the present orbal technology \x01",
"by uniting the present orbal technology \x01",
"with the Crois clan's alchemy...\x02\x03",
"with the Crois clan's alchemy...\x02\x03",


"#10802FThereby, an absurdly giant \x01",
"#10802FThereby, an absurdly giant \x01",
"\"ceremony\" can finally be realized.\x02",
"\"ceremony\" can finally be realized.\x02",
)
)
)
)


CloseMessageWindow()
CloseMessageWindow()


#C0023
#C0023


ChrTalk(
ChrTalk(
0x103,
0x103,
"#00208F#11PA \"ceremony\" from \"magical science\"...\x02",
"#00208F#11PA \"ceremony\" from \"magical science\"...\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()


#C0024
#C0024


ChrTalk(
ChrTalk(
0x102,
0x102,
"#00110F#11PA-And also alchemy...\x02",
"#00110F#11PA-And also alchemy...\x02",
)
)


CloseMessageWindow()
CloseMessageWindow()
OP_57(0x0)
OP_57(0x0)
OP_5A()
OP_5A()
Fade(500)
Fade(500)
OP_68(0, -800, -10500, 0)
OP_68(0, -800, -10500, 0)
MoveCamera(150, 25, 0, 0)
MoveCamera(150, 25, 0, 0)
OP_6E(600, 0)
OP_6E(600, 0)
SetCameraDistance(17500, 0)
SetCameraDistance(17500, 0)
SetCameraDistance(16500, 1500)
SetCameraDistance(16500, 1500)
OP_6F(0x79)
OP_6F(0x79)
OP_0D()
OP_0D()


#C0025
#C0025


ChrTalk(
ChrTalk(
0x101,
0x101,
(
(
"#00006F#11P...I see...\x01",
"#00006F#11P...I see...\x01",
"So that's how it is.\x02\x03",
"So that's how it is.\x02\x03",


"#00008FThe group of alchemists who built\x01",
"#00008FThe group of alchemists who built\x01",
"the \"Tower of Stargaze\" once and\x01",
"the \"Tower of Stargaze\" once and\x01",
"sponsored the \"Cult\" technologies...\x02\x03
"sponsored the \"Cult\" technologies...\x02\x03