
-- Common goals.
GOAL_COMMON_Template = 9999
GOAL_COMMON_TopGoal = 0
GOAL_COMMON_Normal = 1
GOAL_COMMON_Stay = 2
GOAL_COMMON_WalkAround = 3
GOAL_COMMON_BackToHome = 4
GOAL_COMMON_NonBattleAct = 5

-- Unknown/cut goals.
GOAL_SanzA6051_Battle = 6051  -- unused Dusk variant in m12_00
GOAL_SanzB6052_Battle = 6052  -- unused Dusk variant in m12_00
GOAL_YamiNadeCURSE6320_Battle = 6340  -- unknown; ID is wrong, no 6340 AI param entry
GOAL_Painter_Eraymiath6350_Battle = 6350  -- cut "Painter Ariamis" (no script)
GOAL_Laughtrec_Helper6390_Battle = 6390  -- cut (presumably antagonistic) Black Iron Tarkus in Anor Londo
GOAL_Falcon_girl6450_Battle = 6450  -- unknown; no 6450 Player, NonPlayer, or AI param entries
GOAL_BlackIron_Knight_Enemy6511_Battle = 6511  -- cut (presumably antagonistic) Black Iron Tarkus in Lost Izalith
GOAL_FUSHI6910_Battle = 6910  -- cut NPC who likely would have defended Shiva in the Painted World
GOAL_SHOUNIN6920_Battle = 6920  -- ditto, probably (no script for this one though)
-- Internally these are called "Vagrant NPCs" (VNPC), but they're definitely not Vagrants (they're NPC characters).
-- Worth looking into, but they're likely just completely cut.
GOAL_m10_00_VNPC_Senshi7100_Battle = 7100
GOAL_m10_01_VNPC_Tohzoku7110_Battle = 7110
GOAL_m10_01_VNPC_Touzoku7111_Battle = 7111
GOAL_m11_00_VNPC_Hourou7120_Battle = 7120
GOAL_m12_00_VNPC_Kariudo7130_Battle = 7130
GOAL_m12_00_VNPC_Kariudo7131_Battle = 7131
GOAL_m13_00_VNPC_Seishoku7140_Battle = 7140
GOAL_m13_01_VNPC_Seishoku7150_Battle = 7150
GOAL_m13_02_VNPC_Doragon7160_Battle = 7160
GOAL_m14_00_VNPC_Hourou7170_Battle = 7170
GOAL_m14_01_VNPC_Jujutsu7180_Battle = 7180
GOAL_m15_00_VNPC_Senshi7190_Battle = 7190
GOAL_m15_01_VNPC_Kishi7200_Battle = 7200
GOAL_m16_00_VNPC_Sanzoku7210_Battle = 7210
GOAL_m17_00_VNPC_Majutsu7220_Battle = 7220
GOAL_m18_00_VNPC_Motazaru7230_Battle = 7230
GOAL_m18_01_VNPC_Motazaru7240_Battle = 7240

-- NPC goals.
GOAL_Solaire6000_Battle = 6000
GOAL_DarkmoonKnightess6010_Battle = 6010
GOAL_Oscar6020_Battle = 6020
GOAL_BigHatLogan6030_Battle = 6030
GOAL_Griggs6040_Battle = 6040
GOAL_PrincessDusk6050_Battle = 6050
GOAL_Rhea6070_Battle = 6070
GOAL_Petrus6080_Battle = 6080
GOAL_Vince6090_Battle = 6090
GOAL_Nico6100_Battle = 6100
GOAL_Laurentius6130_Battle = 6130
GOAL_Quelana6170_Battle = 6170
GOAL_Ingward6180_Battle = 6180
GOAL_BlacksmithRickert6220_Battle = 6220
GOAL_CrestfallenMerchant6250_Battle = 6250
GOAL_Domnhall6260_Battle = 6260
GOAL_CrestfallenWarrior6270_Battle = 6270
GOAL_CrestfallenWarriorHollow6270_Battle = 6271
GOAL_Siegmeyer6280_Battle = 6280
GOAL_Sieglinde6280_Battle = 6290
GOAL_Lautrec6300_Battle = 6300
GOAL_Shiva6310_Battle = 6310
GOAL_Patches6320_Battle = 6320
GOAL_Oswald6370_Battle = 6370
GOAL_ShivasBodyguard6420_Battle = 6420
GOAL_LautrecsWarrior6490_Battle = 6490
GOAL_LautrecsMage6500_Battle = 6500
GOAL_BlackIronTarkus6510_Battle = 6510
GOAL_WitchBeatrice6520_Battle = 6520
GOAL_ManeaterMildredSummon6530_Battle = 6530
GOAL_ManeaterMildredInvader6531_Battle = 6531
GOAL_SolaireSummon6540_Battle = 6540
GOAL_PaladinLeeroySummon6550_Battle = 6550
GOAL_PaladinLeeroyInvader6550_Battle = 6551
GOAL_Kirk6560_Battle = 6560
GOAL_Jeremiah6570_Battle = 6570
GOAL_Havel6580_Battle = 6580
GOAL_LautrecSummon6590_Battle = 6590
GOAL_Ricard6600_Battle = 6600
GOAL_CrystalKnight6610_Battle = 6610
GOAL_DaughterOfChaos6620_Battle = 6620
GOAL_DarkmoonKnightHeavy6640_Battle = 6640
GOAL_DarkmoonKnightLight6650_Battle = 6650
GOAL_ForestHunterAxe6801_Battle = 6801
GOAL_ForestHunterSword6802_Battle = 6802
GOAL_ForestHunterBow6803_Battle = 6803
GOAL_ForestHunterMage6804_Battle = 6804
GOAL_ForestHunterCleric6805_Battle = 6805
GOAL_ForestHunterThief6806_Battle = 6806

-- Enemy goals.
GOAL_Inunezumi120000_Battle = 120000
GOAL_KingInunezumi120001_Battle = 120001
GOAL_Inunezumi120002_Battle = 120002
GOAL_SmallInunezumi120100_Battle = 120100
GOAL_SmallInunezumi120101_Battle = 120101
GOAL_BigInunezumi120200_Battle = 120200
GOAL_SnowInunezumi120300_Battle = 120300
GOAL_IppanLONG201000_Battle = 201000
GOAL_Ghoul_Sword206000_Battle = 206000
GOAL_Ghoul_Spear206001_Battle = 206001
GOAL_Ghoul_Human206002_Battle = 206002
GOAL_Bourei221000_Battle = 221000
GOAL_GreaterDemon223000_Battle = 223000
GOAL_SnowDemon223100_Battle = 223100
GOAL_MiniGreaterDemon223200_Battle = 223200
GOAL_Nata224000_Battle = 224000
GOAL_Hammer_m10_225000_Battle = 225000
GOAL_Hammer_m11_225001_Battle = 225001
GOAL_Hammer225002_Battle = 225002
GOAL_SpearDemon226000_Battle = 226000
GOAL_Kinoko227000_Battle = 227000
GOAL_KinokoChild228000_Battle = 228000
GOAL_KinokoChild_m12_228001_Battle = 228001
GOAL_Kusaridama229000_Battle = 229000
GOAL_HaikaiDemon230000_Battle = 230000
GOAL_HaikaiDemon_oujou230002_Battle = 230002
GOAL_Kyochojin231000_Battle = 231000
GOAL_IronGolem232000_Battle = 232000
GOAL_Jujin233000_Battle = 233000
GOAL_FourKnightC236000_Battle = 236000
GOAL_FourKnightC_Thunder236001_Battle = 236001
GOAL_FourKnightD237000_Battle = 237000
GOAL_FourKnightD_m17_237001_Battle = 237001
GOAL_ClayDoll238000_Battle = 238000
GOAL_Darkwraith239000_Battle = 239000
GOAL_Assassin240000_Battle = 240000
GOAL_Assassin_shot240001_Battle = 240001
GOAL_WhiteKnight_Sword241000_Battle = 241000
GOAL_WhiteKnight_Lar_Sw241001_Battle = 241001
GOAL_WhiteKnight_Ax241002_Battle = 241002
GOAL_WhiteKnight_Spear241003_Battle = 241003
GOAL_WhiteKnight_Bow241004_Battle = 241004
GOAL_MovingStatue243000_Battle = 243000
GOAL_Husi250000_Battle = 250000
GOAL_Husi_Torch250001_Battle = 250001
GOAL_Husi_m11_250002_Battle = 250002
GOAL_Husi_Torch250003_Battle = 250003
GOAL_Husi250004_Battle = 250004
GOAL_Husi_Bow250005_Battle = 250005
GOAL_HusibitoKojiki251000_Battle = 251000
GOAL_KojikiShouninA251001_Battle = 251001
GOAL_Husi_robber252000_Battle = 252000
GOAL_HusiMino_Kon253000_Battle = 253000
GOAL_HusiMino_Poison253001_Battle = 253001
GOAL_HusiMino_Gun253002_Battle = 253002
GOAL_HusiMino_Rock253100_Battle = 253100
GOAL_HusiFight_Sword254000_Battle = 254000
GOAL_HusiFight_Ax254001_Battle = 254001
GOAL_HusiFight_FireBom254002_Battle = 254002
GOAL_HusiFight_Sword_m11_254003_Battle = 254003
GOAL_HusiFight_FireBom_eve254004_Battle = 254004
GOAL_HusiFight_Sword_eve254005_Battle = 254005
GOAL_HusiHeavy_Spear255000_Battle = 255000
GOAL_HusiHeavy_Long255001_Battle = 255001
GOAL_HusiHeavy_Bow255002_Battle = 255002
GOAL_HusiHeavy_Bow255003_Battle = 255003
GOAL_HusiHeavy_Bow_only255006_Battle = 255006
GOAL_LightKnight_Sword256000_Battle = 256000
GOAL_LightKnight_Bow256001_Battle = 256001
GOAL_LightKnight_Rapier256002_Battle = 256002
GOAL_HeavyKnight_Sword257000_Battle = 257000
GOAL_HeavyKnight_Mace257001_Battle = 257001
GOAL_koushi_Anger259100_Battle = 259100
GOAL_KajiyaAndre264000_Battle = 264000
GOAL_Husi_Haka265000_Battle = 265000
GOAL_Husi_Chef266000_Battle = 266000
GOAL_Ghost_Male267000_Battle = 267000
GOAL_Ghost_Female268000_Battle = 268000
GOAL_HebibitoA269000_Battle = 269000
GOAL_HebibitoB270000_Battle = 270000
GOAL_HebibitoB_shot270001_Battle = 270001
GOAL_Crystal271000_Battle = 271000
GOAL_CrystalAmber271100_Battle = 271100
GOAL_Heroine273000_Battle = 273000
GOAL_Gray_HolyWoman275000_Battle = 275000
GOAL_Mimic278000_Battle = 278000
GOAL_BlackKnight_Sword279000_Battle = 279000
GOAL_BlackKnight_Lar_Sw279001_Battle = 279001
GOAL_BlackKnight_Ax279002_Battle = 279002
GOAL_BlackKnight_Spear279003_Battle = 279003
GOAL_HusiCrystal_Sword280000_Battle = 280000
GOAL_HusiCrystal_Bow280001_Battle = 280001
GOAL_HusiBan281000_Battle = 281000
GOAL_HusiBanIwa281100_Battle = 281100
GOAL_HusiKuragu282000_Battle = 282000
GOAL_HusiPhalanx283000_Battle = 283000
GOAL_HusiPhalanx283001_Battle = 283001
GOAL_HusiCongestion_Torch284000_Battle = 284000
GOAL_HusiCongestion_Hand284001_Battle = 284001
GOAL_Giant286000_Battle = 286000
GOAL_Giant_nt286001_Battle = 286001
GOAL_GiantKnight287000_Battle = 287000
GOAL_GiantKnight_low287001_Battle = 287001
GOAL_Skeleton_Falchion290000_Battle = 290000
GOAL_Skeleton_Bow290001_Battle = 290001
GOAL_Sk_Large_Falchion290002_Battle = 290002
GOAL_Sk_Fal_non_screw290003_Battle = 290003
GOAL_Sk_LarFal_non_scr290004_Battle = 290004
GOAL_BigSk_Sword291000_Battle = 291000
GOAL_BigSk_Bow291001_Battle = 291001
GOAL_HonebutoSk_Kouhu292000_Battle = 292000
GOAL_HonebutoSk_Senshi292001_Battle = 292001
GOAL_Syarin293000_Battle = 293000
GOAL_Skeleton_baby294000_Battle = 294000
GOAL_Skeleton_Beast295000_Battle = 295000
GOAL_totem296000_Battle = 296000
GOAL_Ooka309000_Battle = 309000
GOAL_Funiku320000_Battle = 320000
GOAL_Tamago321000_Battle = 321000
GOAL_Kisei322000_Battle = 322000
GOAL_Kagerou323000_Battle = 323000
GOAL_Kagerou_m17_323001_Battle = 323001
GOAL_Izalis324000_Battle = 324000
GOAL_IzalisQueen325000_Battle = 325000
GOAL_basilisk327000_Battle = 327000
GOAL_Ohmushi329000_Battle = 329000
GOAL_CrystalLizard330000_Battle = 330000
GOAL_CrystalLizard330000_Runaway = 330001
GOAL_CrystalLizard330000_Hide = 330002
GOAL_ThreeHaori332000_Battle = 332000
GOAL_ThreeHaoriBunsin332001_Battle = 332001
GOAL_ThreeHaori_nomal332002_Battle = 332002
GOAL_Pisaca333000_Battle = 333000
GOAL_Pisaca_Sisters333001_Battle = 333001
GOAL_blackDog334000_Battle = 334000
GOAL_FlameDog334100_Battle = 334100
GOAL_WalkingTree335000_Battle = 335000
GOAL_Kinobori337000_Battle = 337000
GOAL_Leech338000_Battle = 338000
GOAL_Burrower339000_Battle = 339000
GOAL_Burrower_A339001_Battle = 339001
GOAL_Burrower_B339002_Battle = 339002
GOAL_Burrower_C339003_Battle = 339003
GOAL_KuraguSpider_Child340000_Battle = 340000
GOAL_Kaeruei341000_Battle = 341000
GOAL_DragonZombi342000_Battle = 342000
GOAL_WalkingDraZonbi342001_Battle = 342001
GOAL_DragonZombi_m16_342002_Battle = 342002
GOAL_DraZonbiLegs342100_Battle = 342100
GOAL_Hellkite343000_Battle = 343000
GOAL_Zazen345000_Battle = 345000
GOAL_ArmoredTask346000_Battle = 346000
GOAL_ArmoredTask_BackGuard346100_Battle = 346100
GOAL_GoldenChimera347000_Battle = 347000
GOAL_Taiyoutyuu347000_Battle = 348000
GOAL_DriftItemGood349000_Battle = 349000
GOAL_DriftItemGood349000_Runaway = 349001
GOAL_DriftItemGood349000_Hide = 349002
GOAL_DriftItemEvil349100_Battle = 349100
GOAL_Bigjelly350000_Battle = 350000
GOAL_Wisp350100_Battle = 350100
GOAL_BigCrow351000_Battle = 351000
GOAL_wyvern352000_Battle = 352000
GOAL_wyvern352001_Battle = 352001
GOAL_wyvern_on_earth352002_Battle = 352002
GOAL_wyvern_on_earth352003_Battle = 352003
GOAL_wyvern352005_Battle = 352005
GOAL_LakeBeast353000_Battle = 353000
GOAL_LakeBeast_m12_353001_Battle = 353001
GOAL_DragonTEST514000_Battle = 514000
GOAL_Mukade520000_Battle = 520000
GOAL_MukadeUde520100_Battle = 520100
GOAL_MukadeSippo520200_Battle = 520200
GOAL_HolySwordWolf521000_Battle = 521000
GOAL_Hakaoh522000_Battle = 522000
GOAL_KingIzalis523000_Battle = 523000
GOAL_KingIzalis_Second523100_Battle = 523100
GOAL_PrinceIzalis524000_Battle = 524000
GOAL_Tadare525000_Battle = 525000
GOAL_Donsyoku526000_Battle = 526000
GOAL_Griffith527000_Battle = 527000
GOAL_Griffith_large527100_Battle = 527100
GOAL_CragSpider528000_Battle = 528000
GOAL_WhiteDragon_Seath529000_Battle = 529000
GOAL_WD_Seath_Muteki529001_Battle = 529001
GOAL_Hushiou_Ja_yearl530000_Battle = 530000
GOAL_ImperialMother532000_Battle = 532000
GOAL_Searcher533000_Battle = 533000
GOAL_YamiNadeCURSE533001_Battle = 533001
GOAL_Searcher_of_King533002_Battle = 533002
GOAL_Gargoyle535000_Battle = 535000
GOAL_Gargoyle_m15_535100_Battle = 535100
GOAL_LargeCat536000_Battle = 536000
GOAL_FirewoodKing537000_Battle = 537000
GOAL_Ja_yearl_demon539000_Battle = 539000
GOAL_Boss_Izalis540000_Battle = 540000
GOAL_Ouji_807000_Battle = 807000
GOAL_COMMON_If = 1000
GOAL_COMMON_Wait = 2000
GOAL_COMMON_Turn = 2001
GOAL_COMMON_TurnAround = 2002
GOAL_COMMON_ApproachTarget = 2015
GOAL_COMMON_LeaveTarget = 2016
GOAL_COMMON_SidewayMove = 2017
GOAL_COMMON_KeepDist = 2018
GOAL_COMMON_MoveToSomewhere = 2019
GOAL_COMMON_SpinStep = 2020
GOAL_COMMON_Fall = 2021
GOAL_COMMON_MoveToMovePointAir = 2022
GOAL_COMMON_LiftOff = 2050
GOAL_COMMON_Landing = 2051
GOAL_COMMON_Landing_Move = 2052
GOAL_COMMON_Landing_Landing = 2053
GOAL_COMMON_ComeDown = 2054
GOAL_COMMON_KeepDistYAxis = 2057
GOAL_COMMON_ApproachSettingDirection = 2060
GOAL_COMMON_LadderAct = 2055
GOAL_COMMON_DoorAct = 2056
GOAL_COMMON_Attack = 2100
GOAL_COMMON_Guard = 2101
GOAL_COMMON_ComboAttack = 2102
GOAL_COMMON_GuardBreakAttack = 2103
GOAL_COMMON_NonspinningAttack = 2104
GOAL_COMMON_ContinueAttack = 2105
GOAL_COMMON_ApproachStep = 2107
GOAL_COMMON_UseItem = 2108
GOAL_COMMON_DashAttack = 2109
GOAL_COMMON_DashAttack_Attack = 2110
GOAL_COMMON_Parry = 2113
GOAL_COMMON_SpecialTurn = 2114
GOAL_COMMON_ObjActTest = 2115
GOAL_COMMON_TeamCallHelp = 2116
GOAL_COMMON_TeamReplyHelp = 2117
GOAL_COMMON_CommonAttack = 2200
GOAL_COMMON_ComboRepeat = 2210
GOAL_COMMON_ComboFinal = 2211
GOAL_COMMON_AttackTunableSpin = 2220
GOAL_COMMON_ComboAttackTunableSpin = 2221
GOAL_COMMON_ComboAttack_SuccessAngle180 = 2230
GOAL_COMMON_ComboRepeat_SuccessAngle180 = 2231
GOAL_COMMON_Pursuit = 2240
GOAL_COMMON_NonspinningComboAttack = 2250
GOAL_COMMON_NonspinningComboRepeat = 2251
GOAL_COMMON_NonspinningComboFinal = 2252
GOAL_COMMON_ComboTunable_SuccessAngle180 = 2253
GOAL_COMMON_GuardBreakTunable = 2254
GOAL_KAMISAMA_Teleport = 3001
return 
