/* * This file was automatically generated * * Monday, January 17, 2022 9:36:14 AM * Getools.Lib: 21.9.18.1 */ #include "ultra64.h" #include "bondtypes.h" #include "bondaicommands.h" // forward declarations PadRecord padlist[]; BoundPadRecord pad3dlist[]; s32 propDefs[]; s32 intro[]; waygroup pathsets[]; waypoint pathwaypoints[]; PathRecord patrolpaths[]; AIListRecord ailists[]; stagesetup UsetupcradZ = { &pathwaypoints, &pathsets, &intro, &propDefs, &patrolpaths, &ailists, &padlist, &pad3dlist, NULL, NULL }; PadRecord padlist[] = { { {-300.0f, 320.0f, 518.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, -1e-06}, "p256d2", 0 }, { {15.0f, 320.0f, 521.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 1e-06}, "p279d", 0 }, { {304.0f, 320.0f, 519.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p241d2", 0 }, { {476.0f, 320.0f, 223.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p432d1", 0 }, { {-381.0f, 320.0f, 388.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p434d3", 0 }, { {-144.0f, 320.0f, 520.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p255d1", 0 }, { {164.0f, 320.0f, 524.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p278d1", 0 }, { {399.0f, 320.0f, 361.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p432d2", 0 }, { {595.0f, 320.0f, 5.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p260d2", 0 }, { {448.0f, 320.0f, -272.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p263d", 0 }, { {302.0f, 320.0f, -519.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p264d2", 0 }, { {35.0f, 320.0f, -520.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p430d2", 0 }, { {542.0f, 320.0f, 108.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p432d1", 0 }, { {511.0f, 320.0f, -157.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p243d2", 0 }, { {374.0f, 320.0f, -400.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p262d1", 0 }, { {156.0f, 320.0f, -521.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p430d2", 0 }, { {-591.0f, 320.0f, 18.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p253d2", 0 }, { {-450.0f, 320.0f, 258.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p434d2", 0 }, { {-287.0f, 320.0f, -519.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p268d2", 0 }, { {-454.0f, 320.0f, -251.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p271d", 0 }, { {-527.0f, 320.0f, -127.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p270d1", 0 }, { {-511.0f, 320.0f, 163.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p434d2", 0 }, { {-96.0f, 320.0f, -524.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p430d1", 0 }, { {-379.0f, 320.0f, -383.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p249d1", 0 }, { {10.0f, 98.0f, -5.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p108b1", 0 }, { {16.0f, 61.0f, -131.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p81b2", 0 }, { {-20.0f, 61.0f, -128.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p81b1", 0 }, { {235.0f, 227.0f, -145.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p287d2", 0 }, { {-258.0f, 227.0f, -134.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p292d1", 0 }, { {14.0f, 227.0f, 275.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p282d1", 0 }, { {-23.0f, 19.0f, -38.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p405b2", 0 }, { {-166.0f, 19.0f, -76.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p29b2", 0 }, { {-153.0f, 19.0f, 79.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p30b2", 0 }, { {-3.0f, 19.0f, 85.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p55b1", 0 }, { {165.0f, 19.0f, 85.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p31b1", 0 }, { {148.0f, 19.0f, -71.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p34b1", 0 }, { {-73.0f, 19.0f, 13.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p30b2", 0 }, { {67.0f, 19.0f, 9.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p34b1", 0 }, { {46.0f, 19.0f, -41.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p33b1", 0 }, { {-225.0f, 19.0f, -87.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p959c1", 0 }, { {-343.0f, 19.0f, -85.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p972c2", 0 }, { {-456.0f, 19.0f, -82.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p974c1", 0 }, { {-462.0f, 19.0f, 13.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p977c1", 0 }, { {-394.0f, 19.0f, -34.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p964c", 0 }, { {-407.0f, 19.0f, 75.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p961c", 0 }, { {-316.0f, 19.0f, 82.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p970c2", 0 }, { {-221.0f, 19.0f, 75.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p954c2", 0 }, { {-214.0f, 19.0f, -25.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p960c2", 0 }, { {-494.0f, 19.0f, 6.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p241b1", 0 }, { {-520.0f, 19.0f, 39.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p237b2", 0 }, { {-525.0f, 19.0f, 101.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p227b2", 0 }, { {-608.0f, 19.0f, 104.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p230b1", 0 }, { {-691.0f, 19.0f, 107.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p232b2", 0 }, { {-709.0f, 19.0f, 39.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p233b2", 0 }, { {-700.0f, 19.0f, -99.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p234b1", 0 }, { {-630.0f, 19.0f, -104.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p234b1", 0 }, { {-709.0f, 19.0f, -5.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p234b1", 0 }, { {-613.0f, 19.0f, -7.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p235b", 0 }, { {-516.0f, 19.0f, -103.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p240b1", 0 }, { {225.0f, 19.0f, 87.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p20c1", 0 }, { {343.0f, 19.0f, 85.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p33c2", 0 }, { {456.0f, 19.0f, 82.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p35c1", 0 }, { {462.0f, 19.0f, -13.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p38c1", 0 }, { {394.0f, 19.0f, 34.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p25c", 0 }, { {407.0f, 19.0f, -75.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p22c", 0 }, { {315.0f, 19.0f, -94.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p31c2", 0 }, { {227.0f, 19.0f, -92.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p15c2", 0 }, { {214.0f, 19.0f, 25.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p21c2", 0 }, { {491.0f, 19.0f, -10.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p213b2", 0 }, { {520.0f, 19.0f, -39.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p209b2", 0 }, { {525.0f, 19.0f, -101.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p199b2", 0 }, { {608.0f, 19.0f, -104.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p202b1", 0 }, { {691.0f, 19.0f, -107.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p204b2", 0 }, { {709.0f, 19.0f, -39.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p205b2", 0 }, { {700.0f, 19.0f, 99.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p206b1", 0 }, { {630.0f, 19.0f, 104.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p206b1", 0 }, { {709.0f, 19.0f, 5.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p206b1", 0 }, { {613.0f, 19.0f, 7.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p207b", 0 }, { {516.0f, 19.0f, 103.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p212b", 0 }, { {-817.0f, -98.0f, 37.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p171a1", 0 }, { {-816.0f, -98.0f, 72.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p170a", 0 }, { {-813.0f, -98.0f, -70.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p173a", 0 }, { {-639.0f, -128.0f, -74.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p377a1", 0 }, { {-418.0f, -152.0f, -77.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p378a2", 0 }, { {-201.0f, -152.0f, -76.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p399a1", 0 }, { {-45.0f, -164.0f, -73.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p175a2", 0 }, { {9.0f, -164.0f, -71.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p175a1", 0 }, { {65.0f, -164.0f, -73.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p175a1", 0 }, { {423.0f, -152.0f, -73.0f}, {1e-06, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p232a2", 0 }, { {249.0f, -152.0f, -73.0f}, {1e-06, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p230a2", 0 }, { {630.0f, -128.0f, -73.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p233a1", 0 }, { {819.0f, -98.0f, -73.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p165a", 0 }, { {819.0f, -98.0f, -37.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p166a1", 0 }, { {819.0f, -98.0f, 75.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p168a", 0 }, { {630.0f, -128.0f, 75.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p239a1", 0 }, { {423.0f, -152.0f, 75.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p240a2", 0 }, { {249.0f, -152.0f, 75.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p258a2", 0 }, { {65.0f, -164.0f, 75.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p176a1", 0 }, { {9.0f, -164.0f, 77.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p176a1", 0 }, { {-45.0f, -164.0f, 76.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p176a2", 0 }, { {-201.0f, -152.0f, 73.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p363a1", 0 }, { {-418.0f, -152.0f, 72.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p370a2", 0 }, { {-639.0f, -128.0f, 74.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p371a1", 0 }, { {65.0f, -164.0f, 14.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p132a", 0 }, { {9.0f, -164.0f, 16.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p132a", 0 }, { {-45.0f, -164.0f, 14.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p131a2", 0 }, { {-62.0f, -164.0f, -12.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p130a", 0 }, { {-137.0f, -211.0f, -8.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p135a", 0 }, { {-137.0f, -211.0f, -48.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p136a", 0 }, { {-75.0f, -249.0f, -45.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p133a2", 0 }, { {-42.0f, -249.0f, -44.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p116a", 0 }, { {-35.0f, -249.0f, -59.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p116a", 0 }, { {26.0f, -249.0f, -60.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p518a", 0 }, { {-10.0f, -249.0f, 3.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p517a", 0 }, { {29.0f, -249.0f, 58.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p117a1", 0 }, { {-39.0f, -249.0f, 55.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p119a2", 0 }, { {-7.0f, -588.0f, 49.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p571a1", 0 }, { {-39.0f, -588.0f, 15.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p573a1", 0 }, { {-10.0f, -588.0f, -15.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p575a2", 0 }, { {21.0f, -588.0f, 16.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p569a1", 0 }, { {-634.0f, 320.0f, 30.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p695d1", 0 }, { {-1188.0f, 139.0f, -921.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p867d2", 0 }, { {-1677.0f, 93.0f, -1776.0f}, {0.0f, 1.0f, 0.0f}, {0.499921f, 0.0f, 0.866071f}, "p1583d2", 0 }, { {-1621.0f, 93.0f, -1804.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p2176d2", 0 }, { {-1676.0f, 93.0f, -1903.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p1571d1", 0 }, { {-1774.0f, 93.0f, -1846.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p1575d1", 0 }, { {-1718.0f, 93.0f, -1746.0f}, {0.0f, 1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p1585d2", 0 }, { {339.0f, 320.0f, 536.0f}, {0.0f, 1.0f, 0.0f}, {0.493942f, 0.0f, 0.869495f}, "p229d2", 0 }, { {-144.0f, 145.0f, 1370.0f}, {0.0f, 1.0f, 0.0f}, {0.493942f, 0.0f, 0.869495f}, "p929d1", 0 }, { {-715.0f, 93.0f, 2332.0f}, {0.0f, 1.0f, 0.0f}, {0.493942f, 0.0f, 0.869495f}, "p1991d2", 0 }, { {-767.0f, 93.0f, 2298.0f}, {0.0f, 1.0f, 0.0f}, {0.493942f, 0.0f, 0.869495f}, "p2183d2", 0 }, { {-827.0f, 93.0f, 2397.0f}, {0.0f, 1.0f, 0.0f}, {0.493942f, 0.0f, 0.869495f}, "p1979d1", 0 }, { {-729.0f, 93.0f, 2454.0f}, {0.0f, 1.0f, 0.0f}, {0.493942f, 0.0f, 0.869495f}, "p1983d1", 0 }, { {-669.0f, 93.0f, 2356.0f}, {0.0f, 1.0f, 0.0f}, {0.493942f, 0.0f, 0.869495f}, "p1993d2", 0 }, { {291.0f, 320.0f, -564.0f}, {0.0f, 1.0f, 0.0f}, {0.5f, 0.0f, -0.866025f}, "p113d2", 0 }, { {1255.0f, 145.0f, -569.0f}, {0.0f, 1.0f, 0.0f}, {0.5f, 0.0f, -0.866025f}, "p105d1", 0 }, { {2373.0f, 93.0f, -563.0f}, {0.0f, 1.0f, 0.0f}, {0.5f, 0.0f, -0.866025f}, "p1345d1", 0 }, { {2373.0f, 93.0f, -501.0f}, {0.0f, 1.0f, 0.0f}, {0.5f, 0.0f, -0.866025f}, "p1344d2", 0 }, { {2486.0f, 93.0f, -500.0f}, {0.0f, 1.0f, 0.0f}, {0.5f, 0.0f, -0.866025f}, "p1339d1", 0 }, { {2486.0f, 93.0f, -613.0f}, {0.0f, 1.0f, 0.0f}, {0.5f, 0.0f, -0.866025f}, "p1342d1", 0 }, { {2371.0f, 93.0f, -615.0f}, {0.0f, 1.0f, 0.0f}, {0.5f, 0.0f, -0.866025f}, "p1540d2", 0 }, { {343.0f, 88.0f, 82.0f}, {0.0f, -1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p33c2", 0 }, { {455.0f, 88.0f, -78.0f}, {0.0f, -1.0f, 0.0f}, {-1.0f, 0.0f, 0.0f}, "p36c1", 0 }, { {-319.0f, 19.0f, 56.0f}, {0.0f, 1.0f, 0.0f}, {-1e-06, 0.0f, 1.0f}, "p970c1", 0 }, { {323.0f, 19.0f, 32.0f}, {0.0f, 1.0f, 0.0f}, {0.0f, 0.0f, 1.0f}, "p33c1", 0 }, { {-332.0f, 19.0f, -44.0f}, {0.0f, 1.0f, 0.0f}, {0.0f, 0.0f, 1.0f}, "p972c1", 0 }, { {-51.0f, -605.0f, 47.0f}, {0.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f}, "p572a", 0 }, { {194.0f, -612.0f, -15.0f}, {0.0f, 1.0f, 0.0f}, {0.0f, 0.0f, 1.0f}, "p603a", 0 }, { {-6.0f, -578.0f, 118.0f}, {0.0f, 1.0f, 0.0f}, {0.0f, 0.0f, -1.0f}, "p591a", 0 }, { {25.0f, -605.0f, 49.0f}, {0.0f, 1.0f, 0.0f}, {-0.207912f, 0.0f, 0.978148f}, "p570a", 0 }, { {-9.0f, -249.0f, 15.0f}, {0.0f, 1.0f, 0.0f}, {0.0f, 0.0f, -1.0f}, "p517a", 0 }, { {-1661.0f, 93.0f, -1748.0f}, {0.0f, 1.0f, 0.0f}, {0.499921f, 0.0f, 0.866071f}, "p862d1", 0 }, { {0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f}, NULL, 0 } }; BoundPadRecord pad3dlist[] = { { {277.0f, 4.0f, -72.0f}, {0.0f, 1.0f, 0.000122f}, {0.002218f, 0.000116f, -0.999997f}, "p28c", 0, {-8.017714f, 8.024393f, -0.001342f, 35.000973f, -8.013667f, 11.021776f} }, { {200.0f, 17.0f, 75.0f}, {0.0f, 0.0f, 1.0f}, {0.0f, 1.0f, 0.0f}, "p131b1", 0, {-1.0f, 1.0f, -7.0f, 27.0f, -13.0f, 51.999996f} }, { {482.0f, 17.0f, 6.0f}, {0.0f, 0.0f, -1.0f}, {0.0f, 1.0f, 0.0f}, "p213b2", 0, {-1.0f, 2.0f, -8.0f, 29.0f, -13.0f, 51.999996f} }, { {-200.0f, 17.0f, -75.0f}, {0.0f, 0.0f, -1.0f}, {0.0f, 1.0f, 0.0f}, "p130b2", 0, {-1.0f, 1.0f, -7.0f, 27.0f, -13.0f, 51.999996f} }, { {-482.0f, 17.0f, -6.0f}, {0.0f, 0.0f, 1.0f}, {0.0f, 1.0f, 0.0f}, "p241b2", 0, {-1.0f, 2.0f, -8.0f, 29.0f, -13.0f, 51.999996f} }, { {-62.0f, -256.0f, -53.0f}, {0.0f, 0.0f, 1.0f}, {0.0f, 1.0f, 0.0f}, "p133a1", 0, {-1.0f, 1.0f, -6.0f, 24.0f, -13.0f, 51.999996f} }, { {0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f}, NULL, 0, {0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f} } }; s32 propDefs[] = { /* Type = WatchMenuObjectiveText; index = 0 */ _mkword(0, _mkshort(0, 35)), 0, 9242, 0, /* Type = WatchMenuObjectiveText; index = 1 */ _mkword(0, _mkshort(0, 35)), 1, 9243, 0, /* Type = WatchMenuObjectiveText; index = 2 */ _mkword(0, _mkshort(0, 35)), 2, 9244, 0, /* Type = WatchMenuObjectiveText; index = 3 */ _mkword(0, _mkshort(0, 35)), 3, 9245, 0, /* Type = WatchMenuObjectiveText; index = 4 */ _mkword(0, _mkshort(0, 35)), 4, 9246, 0, /* Type = ObjectiveStart; index = 5 */ _mkword(0, _mkshort(0, 23)), 0, 9247, 0, /* Type = ObjectiveDestroyObject; index = 6 */ _mkword(0, _mkshort(0, 25)), 0, /* Type = ObjectiveFailCondition; index = 7 */ _mkword(0, _mkshort(0, 27)), 2048, /* Type = ObjectiveEnd; index = 8 */ _mkword(0, _mkshort(0, 24)), /* Type = ObjectiveStart; index = 9 */ _mkword(0, _mkshort(0, 23)), 1, 9248, 0, /* Type = ObjectiveCompleteCondition; index = 10 */ _mkword(0, _mkshort(0, 26)), 256, /* Type = ObjectiveEnd; index = 11 */ _mkword(0, _mkshort(0, 24)), /* Type = Guard; index = 12 */ _mkword(0, _mkshort(0, 9)), _mkword(0, 121), _mkword(8, 1032), 0xffffffff, _mkword(1000, 100), _mkword(0, 0xffff), 0x00000000, /* Type = SetGuardAttribute; index = 13 */ _mkword(0, _mkshort(0, 18)), 0, 0x000000ff, /* Type = Collectable; index = 14 */ _mkword(256, _mkshort(0, 8)), _mkword(188, 0), 0x00004000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000000, 0x00000000, 0, 0, _mkword(1000, 0), 0, 0, _mkword(_mkshort(0x0d, 0xff), 0xffff), 0, /* Type = Guard; index = 15 */ _mkword(0, _mkshort(0, 9)), _mkword(1, 18), _mkword(4, 1025), 0xffffffff, _mkword(1000, 100), _mkword(0, 0xffff), 0x00000000, /* Type = Guard; index = 16 */ _mkword(0, _mkshort(0, 9)), _mkword(2, 135), _mkword(4, 1025), 0xffffffff, _mkword(1000, 100), _mkword(0, 0xffff), 0x00000000, /* Type = Guard; index = 17 */ _mkword(0, _mkshort(0, 9)), _mkword(3, 128), _mkword(4, 1025), 0xffffffff, _mkword(1000, 100), _mkword(0, 0xffff), 0x00000000, /* Type = Guard; index = 18 */ _mkword(0, _mkshort(0, 9)), _mkword(4, 79), _mkword(4, 1025), 0xffffffff, _mkword(1000, 100), _mkword(0, 0xffff), 0x00000000, /* Type = Guard; index = 19 */ _mkword(0, _mkshort(0, 9)), _mkword(5, 92), _mkword(4, 1025), 0xffffffff, _mkword(1000, 100), _mkword(0, 0xffff), 0x00000000, /* Type = Tag; index = 20 */ _mkword(0, _mkshort(0, 22)), _mkword(0, 0x0001), 0, 0, /* Type = SingleMonitor; index = 21 */ _mkword(256, _mkshort(0, 10)), _mkword(33, 10000), 0x100001a1, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000000, 0x00000000, 0, 0, _mkword(1000, 0), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, _mkshort(0, 0), _mkshort(0, 0), _mkshort(0, 0), 0, 0, 0xffffffff, 0xffffffff, 5, /* Type = Drone; index = 22 */ _mkword(256, _mkshort(0, 13)), _mkword(98, 141), 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000000, 0x00000000, 0, 0, _mkword(1000, 0), 0, 0, 0x0000003b, 0x00000000, 0x00020000, 0xfffe0000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000111, 0x000a0000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, /* Type = Drone; index = 23 */ _mkword(256, _mkshort(0, 13)), _mkword(98, 142), 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000000, 0x00000000, 0, 0, _mkword(1000, 0), 0, 0, 0x00000041, 0x00000000, 0x00020000, 0xfffe0000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000111, 0x000a0000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, /* Type = Armour; index = 24 */ _mkword(384, _mkshort(0, 21)), _mkword(115, 143), 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000000, 0x00000000, 0, 0, _mkword(1000, 0), 0, 0, 65536, 0, /* Type = Armour; index = 25 */ _mkword(384, _mkshort(0, 21)), _mkword(115, 131), 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000000, 0x00000000, 0, 0, _mkword(1000, 0), 0, 0, 65536, 0, /* Type = Armour; index = 26 */ _mkword(384, _mkshort(0, 21)), _mkword(115, 138), 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000000, 0x00000000, 0, 0, _mkword(1000, 0), 0, 0, 65536, 0, /* Type = Armour; index = 27 */ _mkword(384, _mkshort(0, 21)), _mkword(115, 124), 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000000, 0x00000000, 0, 0, _mkword(1000, 0), 0, 0, 65536, 0, /* Type = Tag; index = 28 */ _mkword(0, _mkshort(0, 22)), _mkword(6, 0x0001), 0, 0, /* Type = Door; index = 29 */ _mkword(256, _mkshort(0, 1)), _mkword(169, 1), 0x10000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000000, 0x00000000, 0, 0, _mkword(1000, 0), 0, 0, 0x00000000, 0x0000f333, 0x0000f0c4, 0x00000051, 0x00000051, 0x00000666, _mkword(0, 0), 0x00000000, 600, 4, 0.0f, 0, 0, 0, 0.0f, _mkword(0, 0), 0, _mkword(0, _mkshort(0, 0)), 0x00000000, _mkword(_mkshort(0, 0), 0), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* Type = Tag; index = 30 */ _mkword(0, _mkshort(0, 22)), _mkword(7, 0x0001), 0, 0, /* Type = Door; index = 31 */ _mkword(256, _mkshort(0, 1)), _mkword(169, 2), 0x10000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000000, 0x00000000, 0, 0, _mkword(1000, 0), 0, 0, 0x00000000, 0x0000f333, 0x0000f0c4, 0x00000051, 0x00000051, 0x00000666, _mkword(0, 0), 0x00000000, 600, 4, 0.0f, 0, 0, 0, 0.0f, _mkword(0, 0), 0, _mkword(0, _mkshort(0, 0)), 0x00000000, _mkword(_mkshort(0, 0), 0), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* Type = Tag; index = 32 */ _mkword(0, _mkshort(0, 22)), _mkword(8, 0x0001), 0, 0, /* Type = Door; index = 33 */ _mkword(256, _mkshort(0, 1)), _mkword(169, 3), 0x10000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000000, 0x00000000, 0, 0, _mkword(1000, 0), 0, 0, 0x00000000, 0x0000f333, 0x0000f0c4, 0x00000051, 0x00000051, 0x00000666, _mkword(0, 0), 0x00000000, 600, 4, 0.0f, 0, 0, 0, 0.0f, _mkword(0, 0), 0, _mkword(0, _mkshort(0, 0)), 0x00000000, _mkword(_mkshort(0, 0), 0), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* Type = Tag; index = 34 */ _mkword(0, _mkshort(0, 22)), _mkword(9, 0x0001), 0, 0, /* Type = Door; index = 35 */ _mkword(256, _mkshort(0, 1)), _mkword(169, 4), 0x10000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000000, 0x00000000, 0, 0, _mkword(1000, 0), 0, 0, 0x00000000, 0x0000f333, 0x0000f0c4, 0x00000051, 0x00000051, 0x00000666, _mkword(0, 0), 0x00000000, 600, 4, 0.0f, 0, 0, 0, 0.0f, _mkword(0, 0), 0, _mkword(0, _mkshort(0, 0)), 0x00000000, _mkword(_mkshort(0, 0), 0), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* Type = Tag; index = 36 */ _mkword(0, _mkshort(0, 22)), _mkword(10, 0x0001), 0, 0, /* Type = Door; index = 37 */ _mkword(256, _mkshort(0, 1)), _mkword(169, 5), 0x10000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000000, 0x00000000, 0, 0, _mkword(1000, 0), 0, 0, 0x00000000, 0x0000f333, 0x0000f0c4, 0x00000051, 0x00000051, 0x00000666, _mkword(0, 0), 0x00000000, 600, 4, 0.0f, 0, 0, 0, 0.0f, _mkword(0, 0), 0, _mkword(0, _mkshort(0, 0)), 0x00000000, _mkword(_mkshort(0, 0), 0), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* Type = Aircraft; index = 38 */ _mkword(588, _mkshort(0, 40)), _mkword(282, 147), 0x10020008, 0x00080000, 0x00000000, 0x00000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000000, 0x00000000, 0, 0, _mkword(1000, 0), 0, 0, 0x00000421, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, /* Type = Tag; index = 39 */ _mkword(0, _mkshort(0, 22)), _mkword(5, 0xffff), 0, 0, /* Type = Cutscene; index = 40 */ _mkword(0, _mkshort(0, 46)), -10082, -264079, 57235, 392244, 29281, 146, /* Type = Tag; index = 41 */ _mkword(0, _mkshort(0, 22)), _mkword(1, 0xffff), 0, 0, /* Type = Cutscene; index = 42 */ _mkword(0, _mkshort(0, 46)), -34377, -239279, 216636, 34886, 16013, 146, /* Type = Tag; index = 43 */ _mkword(0, _mkshort(0, 22)), _mkword(2, 0xffff), 0, 0, /* Type = Cutscene; index = 44 */ _mkword(0, _mkshort(0, 46)), 13810, -206179, 49962, 394045, 330792, 146, /* Type = Tag; index = 45 */ _mkword(0, _mkshort(0, 22)), _mkword(3, 0xffff), 0, 0, /* Type = Cutscene; index = 46 */ _mkword(0, _mkshort(0, 46)), 10705, -296979, 76956, 395818, 32026, 146, /* Type = Tag; index = 47 */ _mkword(0, _mkshort(0, 22)), _mkword(4, 0xffff), 0, 0, /* Type = EndProps; index = 48 */ _mkword(0, _mkshort(0, 48)) }; s32 intro[] = { /* Type = Spawn; index = 0 */ _mkword(0, _mkshort(0, 0)), 151, 0, /* Type = WatchTime; index = 1 */ _mkword(0, _mkshort(0, 7)), 4, 20, /* Type = StartWeapon; index = 2 */ _mkword(0, _mkshort(0, 1)), 4, -1, 0, /* Type = StartAmmo; index = 3 */ _mkword(0, _mkshort(0, 2)), 1, 100, 0, /* Type = FixedCam; index = 4 */ _mkword(0, _mkshort(0, 6)), 0xfff822fb, 0x0000f321, 0xfffb103d, 0x00023be8, 0x00000000, 0x00000079, 0x00002422, 0x00000000, 0x00000000, /* Type = FixedCam; index = 5 */ _mkword(0, _mkshort(0, 6)), 0x0000601d, 0xfffe3298, 0xfffd8741, 0x0003bdd6, 0x0000742b, 0x0000006a, 0x00002422, 0x00000000, 0x00000000, /* Type = Cuff; index = 6 */ _mkword(0, _mkshort(0, 5)), 2, /* Type = SwirlCam; index = 7 */ _mkword(0, _mkshort(0, 3)), 2, 0x00b50000, 0x00000000, 0x12430000, 0x00009999, 0x00140000, 0xffffffff, /* Type = SwirlCam; index = 8 */ _mkword(0, _mkshort(0, 3)), 2, 0x00b50000, 0x00000000, 0x12430000, 0x00009999, 0x00140000, 0xffffffff, /* Type = SwirlCam; index = 9 */ _mkword(0, _mkshort(0, 3)), 2, 0x00a70000, 0x00000000, 0x0feb0000, 0x00009999, 0x00140000, 0xffffffff, /* Type = SwirlCam; index = 10 */ _mkword(0, _mkshort(0, 3)), 2, 0x00a30000, 0x00000000, 0x0d930000, 0x00009999, 0x00140000, 0xffffffff, /* Type = SwirlCam; index = 11 */ _mkword(0, _mkshort(0, 3)), 2, 0x00950000, 0xfff98000, 0x0b3b0000, 0x00009999, 0x00140000, 0xffffffff, /* Type = SwirlCam; index = 12 */ _mkword(0, _mkshort(0, 3)), 2, 0x00870000, 0xffea0000, 0x08e30000, 0x00009999, 0x00140000, 0xffffffff, /* Type = SwirlCam; index = 13 */ _mkword(0, _mkshort(0, 3)), 2, 0x00790000, 0xffe30000, 0x068b0000, 0x00009999, 0x00140000, 0xffffffff, /* Type = SwirlCam; index = 14 */ _mkword(0, _mkshort(0, 3)), 2, 0x006b0000, 0x00000000, 0x04330000, 0x00009999, 0x00140000, 0xffffffff, /* Type = SwirlCam; index = 15 */ _mkword(0, _mkshort(0, 3)), 2, 0x00800000, 0x00570000, 0x020f0000, 0x00009999, 0x00140000, 0xffffffff, /* Type = SwirlCam; index = 16 */ _mkword(0, _mkshort(0, 3)), 2, 0x00a50000, 0x00990000, 0x00e80000, 0x00009761, 0x00190000, 0xffffffff, /* Type = SwirlCam; index = 17 */ _mkword(0, _mkshort(0, 3)), 2, 0x00ad0000, 0x00850000, 0x001f0000, 0x00009761, 0x001e0000, 0xffffffff, /* Type = SwirlCam; index = 18 */ _mkword(0, _mkshort(0, 3)), 2, 0x00430000, 0x003b0000, 0xffaf0000, 0x000065e0, 0x00280000, 0xffffffff, /* Type = SwirlCam; index = 19 */ _mkword(0, _mkshort(0, 3)), 2, 0x00090000, 0x00150000, 0xffd20000, 0x00006c1e, 0x001e0000, 0xffffffff, /* Type = SwirlCam; index = 20 */ _mkword(0, _mkshort(0, 3)), 2, 0x00000000, 0x00000000, 0x00000000, 0x00008000, 0x000a0000, 0xffffffff, /* Type = SwirlCam; index = 21 */ _mkword(0, _mkshort(0, 3)), 2, 0x00000000, 0x00000000, 0x00000000, 0x00008000, 0x000a0000, 0xffffffff, /* Type = SwirlCam; index = 22 */ _mkword(0, _mkshort(0, 3)), 1, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffffffff, /* Type = EndIntro; index = 23 */ _mkword(0, _mkshort(0, 9)) }; s32 path_neighbors_0[] = { 13, -1 }; s32 path_neighbors_1[] = { 14, -1 }; s32 path_neighbors_2[] = { 12, -1 }; s32 path_neighbors_3[] = { 4, -1 }; s32 path_neighbors_4[] = { 3, 5, -1 }; s32 path_neighbors_5[] = { 4, 6, 8, -1 }; s32 path_neighbors_6[] = { 5, 7, -1 }; s32 path_neighbors_7[] = { 6, 10, -1 }; s32 path_neighbors_8[] = { 5, 9, -1 }; s32 path_neighbors_9[] = { 8, 10, -1 }; s32 path_neighbors_10[] = { 7, 9, 11, -1 }; s32 path_neighbors_11[] = { 10, 12, 13, 14, -1 }; s32 path_neighbors_12[] = { 2, 11, 13, 14, -1 }; s32 path_neighbors_13[] = { 0, 11, 12, 14, -1 }; s32 path_neighbors_14[] = { 1, 11, 12, 13, -1 }; s32 path_indeces_0[] = { 0, 1, 2, 3, 4, 5, 6, -1 }; s32 path_indeces_1[] = { 7, 8, 9, 10, 11, 12, 13, -1 }; s32 path_indeces_2[] = { 14, 15, 16, 17, 18, 19, 20, -1 }; s32 path_indeces_3[] = { 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1 }; s32 path_indeces_4[] = { 31, 32, 33, -1 }; s32 path_indeces_5[] = { 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1 }; s32 path_indeces_6[] = { 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, -1 }; s32 path_indeces_7[] = { 73, 74, 75, 76, 77, 78, 79, 80, 81, -1 }; s32 path_indeces_8[] = { 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, -1 }; s32 path_indeces_9[] = { 93, 94, 95, 96, 97, 98, 99, 100, 101, -1 }; s32 path_indeces_10[] = { 102, 103, 104, 105, 106, 107, 108, 109, 110, -1 }; s32 path_indeces_11[] = { 111, 112, 113, 114, 115, 116, -1 }; s32 path_indeces_12[] = { 117, 118, 119, 120, 121, 122, 123, 124, -1 }; s32 path_indeces_13[] = { 125, 126, 127, 128, 129, 130, 131, 132, -1 }; s32 path_indeces_14[] = { 133, 134, 135, 136, 137, 138, 139, 140, -1 }; waygroup pathsets[] = { { &path_neighbors_0, &path_indeces_0, 0 }, { &path_neighbors_1, &path_indeces_1, 0 }, { &path_neighbors_2, &path_indeces_2, 0 }, { &path_neighbors_3, &path_indeces_3, 0 }, { &path_neighbors_4, &path_indeces_4, 0 }, { &path_neighbors_5, &path_indeces_5, 0 }, { &path_neighbors_6, &path_indeces_6, 0 }, { &path_neighbors_7, &path_indeces_7, 0 }, { &path_neighbors_8, &path_indeces_8, 0 }, { &path_neighbors_9, &path_indeces_9, 0 }, { &path_neighbors_10, &path_indeces_10, 0 }, { &path_neighbors_11, &path_indeces_11, 0 }, { &path_neighbors_12, &path_indeces_12, 0 }, { &path_neighbors_13, &path_indeces_13, 0 }, { &path_neighbors_14, &path_indeces_14, 0 }, { NULL, NULL, 0 } }; char *pad3dnames[] = { "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", NULL }; s32 path_table_0[] = { 1, 4, -1 }; s32 path_table_1[] = { 0, 2, -1 }; s32 path_table_2[] = { 1, 3, -1 }; s32 path_table_3[] = { 2, 4, -1 }; s32 path_table_4[] = { 0, 3, 5, -1 }; s32 path_table_5[] = { 4, 6, -1 }; s32 path_table_6[] = { 5, 130, -1 }; s32 path_table_7[] = { 8, 11, -1 }; s32 path_table_8[] = { 7, 9, -1 }; s32 path_table_9[] = { 8, 10, -1 }; s32 path_table_10[] = { 9, 11, -1 }; s32 path_table_11[] = { 7, 10, 12, -1 }; s32 path_table_12[] = { 11, 13, -1 }; s32 path_table_13[] = { 12, 138, -1 }; s32 path_table_14[] = { 15, 18, -1 }; s32 path_table_15[] = { 14, 16, -1 }; s32 path_table_16[] = { 15, 17, -1 }; s32 path_table_17[] = { 16, 18, -1 }; s32 path_table_18[] = { 14, 17, 19, -1 }; s32 path_table_19[] = { 18, 20, -1 }; s32 path_table_20[] = { 19, 124, -1 }; s32 path_table_21[] = { 22, 24, -1 }; s32 path_table_22[] = { 21, 23, -1 }; s32 path_table_23[] = { 22, 24, -1 }; s32 path_table_24[] = { 21, 23, 27, -1 }; s32 path_table_25[] = { 26, 30, -1 }; s32 path_table_26[] = { 25, 28, -1 }; s32 path_table_27[] = { 24, 28, 29, 30, -1 }; s32 path_table_28[] = { 26, 27, 29, 30, -1 }; s32 path_table_29[] = { 27, 28, 30, -1 }; s32 path_table_30[] = { 25, 27, 28, 29, 31, -1 }; s32 path_table_31[] = { 30, 32, -1 }; s32 path_table_32[] = { 31, 33, -1 }; s32 path_table_33[] = { 32, 34, -1 }; s32 path_table_34[] = { 33, 35, 36, 54, 55, -1 }; s32 path_table_35[] = { 34, 36, 41, 42, 54, -1 }; s32 path_table_36[] = { 34, 35, 37, 41, 42, 43, 53, 54, 55, -1 }; s32 path_table_37[] = { 36, 42, 43, 53, 54, -1 }; s32 path_table_38[] = { 39, 60, -1 }; s32 path_table_39[] = { 38, 40, -1 }; s32 path_table_40[] = { 39, 41, -1 }; s32 path_table_41[] = { 35, 36, 40, 42, -1 }; s32 path_table_42[] = { 35, 36, 37, 41, 43, -1 }; s32 path_table_43[] = { 36, 37, 42, 44, -1 }; s32 path_table_44[] = { 43, 45, -1 }; s32 path_table_45[] = { 44, 46, -1 }; s32 path_table_46[] = { 45, 47, -1 }; s32 path_table_47[] = { 46, 48, -1 }; s32 path_table_48[] = { 47, 49, 71, -1 }; s32 path_table_49[] = { 48, 50, -1 }; s32 path_table_50[] = { 49, 52, -1 }; s32 path_table_51[] = { 52, 53, -1 }; s32 path_table_52[] = { 50, 51, -1 }; s32 path_table_53[] = { 36, 37, 51, 54, -1 }; s32 path_table_54[] = { 34, 35, 36, 37, 53, 55, -1 }; s32 path_table_55[] = { 34, 36, 54, 56, -1 }; s32 path_table_56[] = { 55, 57, -1 }; s32 path_table_57[] = { 56, 58, -1 }; s32 path_table_58[] = { 57, 59, -1 }; s32 path_table_59[] = { 58, 61, -1 }; s32 path_table_60[] = { 38, 61, -1 }; s32 path_table_61[] = { 59, 60, 91, -1 }; s32 path_table_62[] = { 63, 65, 72, -1 }; s32 path_table_63[] = { 62, 64, 65, 66, 72, -1 }; s32 path_table_64[] = { 63, 65, 66, 67, -1 }; s32 path_table_65[] = { 62, 63, 64, 66, 72, -1 }; s32 path_table_66[] = { 63, 64, 65, -1 }; s32 path_table_67[] = { 64, 68, -1 }; s32 path_table_68[] = { 67, 69, -1 }; s32 path_table_69[] = { 68, 70, -1 }; s32 path_table_70[] = { 69, 71, -1 }; s32 path_table_71[] = { 48, 70, 72, -1 }; s32 path_table_72[] = { 62, 63, 65, 71, 78, -1 }; s32 path_table_73[] = { 74, 77, 80, 81, -1 }; s32 path_table_74[] = { 73, 75, -1 }; s32 path_table_75[] = { 74, 76, -1 }; s32 path_table_76[] = { 75, 77, 78, -1 }; s32 path_table_77[] = { 73, 76, 78, 79, 80, 81, -1 }; s32 path_table_78[] = { 72, 76, 77, 79, -1 }; s32 path_table_79[] = { 77, 78, 80, -1 }; s32 path_table_80[] = { 73, 77, 79, 81, -1 }; s32 path_table_81[] = { 73, 77, 80, 106, -1 }; s32 path_table_82[] = { 83, 85, 92, -1 }; s32 path_table_83[] = { 82, 84, 85, 86, 92, -1 }; s32 path_table_84[] = { 83, 85, 86, 87, -1 }; s32 path_table_85[] = { 82, 83, 84, 86, 92, -1 }; s32 path_table_86[] = { 83, 84, 85, -1 }; s32 path_table_87[] = { 84, 88, -1 }; s32 path_table_88[] = { 87, 89, -1 }; s32 path_table_89[] = { 88, 90, -1 }; s32 path_table_90[] = { 89, 91, -1 }; s32 path_table_91[] = { 61, 90, 92, -1 }; s32 path_table_92[] = { 82, 83, 85, 91, 98, -1 }; s32 path_table_93[] = { 94, 97, 100, 101, -1 }; s32 path_table_94[] = { 93, 95, -1 }; s32 path_table_95[] = { 94, 96, -1 }; s32 path_table_96[] = { 95, 97, 98, -1 }; s32 path_table_97[] = { 93, 96, 98, 99, 100, 101, -1 }; s32 path_table_98[] = { 92, 96, 97, 99, -1 }; s32 path_table_99[] = { 97, 98, 100, -1 }; s32 path_table_100[] = { 93, 97, 99, 101, -1 }; s32 path_table_101[] = { 93, 97, 100, 109, -1 }; s32 path_table_102[] = { 103, 105, 110, -1 }; s32 path_table_103[] = { 102, 105, 106, 107, -1 }; s32 path_table_104[] = { 107, 108, 109, 110, -1 }; s32 path_table_105[] = { 102, 103, 106, -1 }; s32 path_table_106[] = { 81, 103, 105, 107, -1 }; s32 path_table_107[] = { 103, 104, 106, 108, -1 }; s32 path_table_108[] = { 104, 107, 109, -1 }; s32 path_table_109[] = { 101, 104, 108, 110, -1 }; s32 path_table_110[] = { 102, 104, 109, 114, -1 }; s32 path_table_111[] = { 116, 139, -1 }; s32 path_table_112[] = { 116, 121, -1 }; s32 path_table_113[] = { 116, 131, -1 }; s32 path_table_114[] = { 110, 115, -1 }; s32 path_table_115[] = { 114, 116, -1 }; s32 path_table_116[] = { 111, 112, 113, 115, -1 }; s32 path_table_117[] = { 121, 122, -1 }; s32 path_table_118[] = { 122, 129, -1 }; s32 path_table_119[] = { 123, 124, -1 }; s32 path_table_120[] = { 121, 124, -1 }; s32 path_table_121[] = { 112, 117, 120, -1 }; s32 path_table_122[] = { 117, 118, -1 }; s32 path_table_123[] = { 119, 136, -1 }; s32 path_table_124[] = { 20, 119, 120, -1 }; s32 path_table_125[] = { 129, 130, -1 }; s32 path_table_126[] = { 130, 131, -1 }; s32 path_table_127[] = { 131, 132, -1 }; s32 path_table_128[] = { 132, 137, -1 }; s32 path_table_129[] = { 118, 125, -1 }; s32 path_table_130[] = { 6, 125, 126, -1 }; s32 path_table_131[] = { 113, 126, 127, -1 }; s32 path_table_132[] = { 127, 128, -1 }; s32 path_table_133[] = { 137, 138, -1 }; s32 path_table_134[] = { 138, 139, -1 }; s32 path_table_135[] = { 139, 140, -1 }; s32 path_table_136[] = { 123, 140, -1 }; s32 path_table_137[] = { 128, 133, -1 }; s32 path_table_138[] = { 13, 133, 134, -1 }; s32 path_table_139[] = { 111, 134, 135, -1 }; s32 path_table_140[] = { 135, 136, -1 }; waypoint pathwaypoints[] = { { 0x0000008c, &path_table_0, 0x00000000, 0x00000000 }, { 0x0000008b, &path_table_1, 0x00000000, 0x00000000 }, { 0x0000008a, &path_table_2, 0x00000000, 0x00000000 }, { 0x00000089, &path_table_3, 0x00000000, 0x00000000 }, { 0x00000088, &path_table_4, 0x00000000, 0x00000000 }, { 0x00000087, &path_table_5, 0x00000000, 0x00000000 }, { 0x00000086, &path_table_6, 0x00000000, 0x00000000 }, { 0x00000085, &path_table_7, 0x00000001, 0x00000000 }, { 0x00000084, &path_table_8, 0x00000001, 0x00000000 }, { 0x00000083, &path_table_9, 0x00000001, 0x00000000 }, { 0x00000082, &path_table_10, 0x00000001, 0x00000000 }, { 0x00000081, &path_table_11, 0x00000001, 0x00000000 }, { 0x00000080, &path_table_12, 0x00000001, 0x00000000 }, { 0x0000007f, &path_table_13, 0x00000001, 0x00000000 }, { 0x0000007e, &path_table_14, 0x00000002, 0x00000000 }, { 0x0000007d, &path_table_15, 0x00000002, 0x00000000 }, { 0x0000007c, &path_table_16, 0x00000002, 0x00000000 }, { 0x0000007b, &path_table_17, 0x00000002, 0x00000000 }, { 0x0000007a, &path_table_18, 0x00000002, 0x00000000 }, { 0x00000079, &path_table_19, 0x00000002, 0x00000000 }, { 0x00000078, &path_table_20, 0x00000002, 0x00000000 }, { 0x00000077, &path_table_21, 0x00000003, 0x00000000 }, { 0x00000076, &path_table_22, 0x00000003, 0x00000000 }, { 0x00000075, &path_table_23, 0x00000003, 0x00000000 }, { 0x00000074, &path_table_24, 0x00000003, 0x00000000 }, { 0x00000073, &path_table_25, 0x00000003, 0x00000000 }, { 0x00000072, &path_table_26, 0x00000003, 0x00000000 }, { 0x00000071, &path_table_27, 0x00000003, 0x00000000 }, { 0x00000070, &path_table_28, 0x00000003, 0x00000000 }, { 0x0000006f, &path_table_29, 0x00000003, 0x00000000 }, { 0x0000006e, &path_table_30, 0x00000003, 0x00000000 }, { 0x0000006d, &path_table_31, 0x00000004, 0x00000000 }, { 0x0000006c, &path_table_32, 0x00000004, 0x00000000 }, { 0x0000006b, &path_table_33, 0x00000004, 0x00000000 }, { 0x0000006a, &path_table_34, 0x00000005, 0x00000000 }, { 0x00000069, &path_table_35, 0x00000005, 0x00000000 }, { 0x00000068, &path_table_36, 0x00000005, 0x00000000 }, { 0x00000067, &path_table_37, 0x00000005, 0x00000000 }, { 0x00000066, &path_table_38, 0x00000005, 0x00000000 }, { 0x00000065, &path_table_39, 0x00000005, 0x00000000 }, { 0x00000064, &path_table_40, 0x00000005, 0x00000000 }, { 0x00000063, &path_table_41, 0x00000005, 0x00000000 }, { 0x00000062, &path_table_42, 0x00000005, 0x00000000 }, { 0x00000061, &path_table_43, 0x00000005, 0x00000000 }, { 0x00000060, &path_table_44, 0x00000005, 0x00000000 }, { 0x0000005f, &path_table_45, 0x00000005, 0x00000000 }, { 0x0000005e, &path_table_46, 0x00000005, 0x00000000 }, { 0x0000005d, &path_table_47, 0x00000005, 0x00000000 }, { 0x0000005c, &path_table_48, 0x00000005, 0x00000000 }, { 0x0000005b, &path_table_49, 0x00000005, 0x00000000 }, { 0x0000005a, &path_table_50, 0x00000005, 0x00000000 }, { 0x00000059, &path_table_51, 0x00000005, 0x00000000 }, { 0x00000058, &path_table_52, 0x00000005, 0x00000000 }, { 0x00000057, &path_table_53, 0x00000005, 0x00000000 }, { 0x00000056, &path_table_54, 0x00000005, 0x00000000 }, { 0x00000055, &path_table_55, 0x00000005, 0x00000000 }, { 0x00000054, &path_table_56, 0x00000005, 0x00000000 }, { 0x00000053, &path_table_57, 0x00000005, 0x00000000 }, { 0x00000052, &path_table_58, 0x00000005, 0x00000000 }, { 0x00000051, &path_table_59, 0x00000005, 0x00000000 }, { 0x00000050, &path_table_60, 0x00000005, 0x00000000 }, { 0x0000004f, &path_table_61, 0x00000005, 0x00000000 }, { 0x0000004e, &path_table_62, 0x00000006, 0x00000000 }, { 0x0000004d, &path_table_63, 0x00000006, 0x00000000 }, { 0x0000004c, &path_table_64, 0x00000006, 0x00000000 }, { 0x0000004b, &path_table_65, 0x00000006, 0x00000000 }, { 0x0000004a, &path_table_66, 0x00000006, 0x00000000 }, { 0x00000049, &path_table_67, 0x00000006, 0x00000000 }, { 0x00000048, &path_table_68, 0x00000006, 0x00000000 }, { 0x00000047, &path_table_69, 0x00000006, 0x00000000 }, { 0x00000046, &path_table_70, 0x00000006, 0x00000000 }, { 0x00000045, &path_table_71, 0x00000006, 0x00000000 }, { 0x00000044, &path_table_72, 0x00000006, 0x00000000 }, { 0x00000043, &path_table_73, 0x00000007, 0x00000000 }, { 0x00000042, &path_table_74, 0x00000007, 0x00000000 }, { 0x00000041, &path_table_75, 0x00000007, 0x00000000 }, { 0x00000040, &path_table_76, 0x00000007, 0x00000000 }, { 0x0000003f, &path_table_77, 0x00000007, 0x00000000 }, { 0x0000003e, &path_table_78, 0x00000007, 0x00000000 }, { 0x0000003d, &path_table_79, 0x00000007, 0x00000000 }, { 0x0000003c, &path_table_80, 0x00000007, 0x00000000 }, { 0x0000003b, &path_table_81, 0x00000007, 0x00000000 }, { 0x0000003a, &path_table_82, 0x00000008, 0x00000000 }, { 0x00000039, &path_table_83, 0x00000008, 0x00000000 }, { 0x00000038, &path_table_84, 0x00000008, 0x00000000 }, { 0x00000037, &path_table_85, 0x00000008, 0x00000000 }, { 0x00000036, &path_table_86, 0x00000008, 0x00000000 }, { 0x00000035, &path_table_87, 0x00000008, 0x00000000 }, { 0x00000034, &path_table_88, 0x00000008, 0x00000000 }, { 0x00000033, &path_table_89, 0x00000008, 0x00000000 }, { 0x00000032, &path_table_90, 0x00000008, 0x00000000 }, { 0x00000031, &path_table_91, 0x00000008, 0x00000000 }, { 0x00000030, &path_table_92, 0x00000008, 0x00000000 }, { 0x0000002f, &path_table_93, 0x00000009, 0x00000000 }, { 0x0000002e, &path_table_94, 0x00000009, 0x00000000 }, { 0x0000002d, &path_table_95, 0x00000009, 0x00000000 }, { 0x0000002c, &path_table_96, 0x00000009, 0x00000000 }, { 0x0000002b, &path_table_97, 0x00000009, 0x00000000 }, { 0x0000002a, &path_table_98, 0x00000009, 0x00000000 }, { 0x00000029, &path_table_99, 0x00000009, 0x00000000 }, { 0x00000028, &path_table_100, 0x00000009, 0x00000000 }, { 0x00000027, &path_table_101, 0x00000009, 0x00000000 }, { 0x00000026, &path_table_102, 0x0000000a, 0x00000000 }, { 0x00000025, &path_table_103, 0x0000000a, 0x00000000 }, { 0x00000024, &path_table_104, 0x0000000a, 0x00000000 }, { 0x00000023, &path_table_105, 0x0000000a, 0x00000000 }, { 0x00000022, &path_table_106, 0x0000000a, 0x00000000 }, { 0x00000021, &path_table_107, 0x0000000a, 0x00000000 }, { 0x00000020, &path_table_108, 0x0000000a, 0x00000000 }, { 0x0000001f, &path_table_109, 0x0000000a, 0x00000000 }, { 0x0000001e, &path_table_110, 0x0000000a, 0x00000000 }, { 0x0000001d, &path_table_111, 0x0000000b, 0x00000000 }, { 0x0000001c, &path_table_112, 0x0000000b, 0x00000000 }, { 0x0000001b, &path_table_113, 0x0000000b, 0x00000000 }, { 0x0000001a, &path_table_114, 0x0000000b, 0x00000000 }, { 0x00000019, &path_table_115, 0x0000000b, 0x00000000 }, { 0x00000018, &path_table_116, 0x0000000b, 0x00000000 }, { 0x00000017, &path_table_117, 0x0000000c, 0x00000000 }, { 0x00000016, &path_table_118, 0x0000000c, 0x00000000 }, { 0x00000015, &path_table_119, 0x0000000c, 0x00000000 }, { 0x00000014, &path_table_120, 0x0000000c, 0x00000000 }, { 0x00000013, &path_table_121, 0x0000000c, 0x00000000 }, { 0x00000012, &path_table_122, 0x0000000c, 0x00000000 }, { 0x00000011, &path_table_123, 0x0000000c, 0x00000000 }, { 0x00000010, &path_table_124, 0x0000000c, 0x00000000 }, { 0x0000000f, &path_table_125, 0x0000000d, 0x00000000 }, { 0x0000000e, &path_table_126, 0x0000000d, 0x00000000 }, { 0x0000000d, &path_table_127, 0x0000000d, 0x00000000 }, { 0x0000000c, &path_table_128, 0x0000000d, 0x00000000 }, { 0x0000000b, &path_table_129, 0x0000000d, 0x00000000 }, { 0x0000000a, &path_table_130, 0x0000000d, 0x00000000 }, { 0x00000009, &path_table_131, 0x0000000d, 0x00000000 }, { 0x00000008, &path_table_132, 0x0000000d, 0x00000000 }, { 0x00000007, &path_table_133, 0x0000000e, 0x00000000 }, { 0x00000006, &path_table_134, 0x0000000e, 0x00000000 }, { 0x00000005, &path_table_135, 0x0000000e, 0x00000000 }, { 0x00000004, &path_table_136, 0x0000000e, 0x00000000 }, { 0x00000003, &path_table_137, 0x0000000e, 0x00000000 }, { 0x00000002, &path_table_138, 0x0000000e, 0x00000000 }, { 0x00000001, &path_table_139, 0x0000000e, 0x00000000 }, { 0x00000000, &path_table_140, 0x0000000e, 0x00000000 }, { 0xffffffff, NULL, 0x00000000, 0x00000000 } }; char *padnames[] = { "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", NULL }; PathRecord patrolpaths[] = { { NULL, 0x00, 0x00, 0x0000 } }; u8 ai_34[] = { debug_log 'h', 'e', 'l', 'l', 'o', '\0', label(0x35) label(0x34) local_timer_reset_start debug_log '!', '\n', '\0', ai_sleep if_chr_does_not_exist(0x01, 0x29) goto_next(0x33) label(0x29) random_generate_seed if_random_seed_greater_than(0x80, 0x29) if_bond_damage_and_pickups_disabled(0x29) chr_try_spawning_at_pad(0x04, 0xff, 0x8300, 0x0204, 0x01000000, 0x33) label(0x29) if_bond_damage_and_pickups_disabled(0x33) chr_try_spawning_at_pad(0x04, 0xff, 0x4f00, 0x0204, 0x01000000, 0x29) label(0x33) label(0x29) ai_sleep if_chr_does_not_exist(0x02, 0x29) goto_next(0x33) label(0x29) random_generate_seed if_random_seed_greater_than(0x80, 0x29) if_bond_damage_and_pickups_disabled(0x29) chr_try_spawning_at_pad(0x04, 0xff, 0x8a00, 0x0304, 0x01000000, 0x33) label(0x29) if_bond_damage_and_pickups_disabled(0x33) chr_try_spawning_at_pad(0x04, 0xff, 0x0800, 0x0304, 0x01000000, 0x29) label(0x33) label(0x29) ai_sleep if_chr_does_not_exist(0x03, 0x29) goto_next(0x33) label(0x29) random_generate_seed if_random_seed_greater_than(0x80, 0x29) if_bond_damage_and_pickups_disabled(0x29) chr_try_spawning_at_pad(0x04, 0xff, 0x1200, 0x0404, 0x01000000, 0x33) label(0x29) if_bond_damage_and_pickups_disabled(0x33) chr_try_spawning_at_pad(0x04, 0xff, 0x5c00, 0x0404, 0x01000000, 0x29) label(0x33) label(0x29) ai_sleep if_chr_does_not_exist(0x04, 0x29) goto_next(0x33) label(0x29) random_generate_seed if_random_seed_greater_than(0x80, 0x29) if_bond_damage_and_pickups_disabled(0x29) chr_try_spawning_at_pad(0x04, 0xff, 0x3e00, 0x0504, 0x01000000, 0x33) label(0x29) if_bond_damage_and_pickups_disabled(0x33) chr_try_spawning_at_pad(0x04, 0xff, 0x0000, 0x0504, 0x01000000, 0x29) label(0x33) label(0x29) ai_sleep if_chr_does_not_exist(0x05, 0x29) goto_next(0x33) label(0x29) random_generate_seed if_random_seed_greater_than(0x80, 0x29) if_bond_damage_and_pickups_disabled(0x29) chr_try_spawning_at_pad(0x04, 0xff, 0x6e00, 0x0604, 0x01000000, 0x06) label(0x29) if_bond_damage_and_pickups_disabled(0x33) chr_try_spawning_at_pad(0x04, 0xff, 0x7d00, 0x0604, 0x01000000, 0x06) label(0x33) label(0x06) ai_sleep if_local_timer_greater_than(0xd00200, 0x29) goto_first(0x06) label(0x29) goto_first(0x34) ai_list_end }; u8 ai_1[] = { guard_set_chr_num(0x01) debug_log 'h', '1', '\n', '\0', jump_to_ai_list(0xfd, 0x0104) ai_list_end }; u8 ai_2[] = { guard_set_chr_num(0x02) debug_log 'h', '2', '\n', '\0', jump_to_ai_list(0xfd, 0x0104) ai_list_end }; u8 ai_3[] = { guard_set_chr_num(0x03) debug_log 'h', '3', '\n', '\0', jump_to_ai_list(0xfd, 0x0104) ai_list_end }; u8 ai_4[] = { guard_set_chr_num(0x04) debug_log 'h', '4', '\n', '\0', jump_to_ai_list(0xfd, 0x0104) ai_list_end }; u8 ai_5[] = { guard_set_chr_num(0x05) debug_log 'h', '5', '\n', '\0', jump_to_ai_list(0xfd, 0x0104) ai_list_end }; u8 ai_0[] = { label(0x29) random_generate_seed if_random_seed_greater_than(0xa0, 0x36) if_random_seed_greater_than(0x50, 0x33) guard_set_health_total(0x2800) guard_set_armour(0x1400) guard_set_speed_rating(0x32) guard_set_accuracy_rating(0x32) guard_set_grenade_probability(0xbf) guard_try_spawning_item(0xc300, 0x09, 0x00000000, 0x29) label(0x29) guard_try_spawning_hat(0xdc00, 0x00000000, 0x06) goto_next(0x06) label(0x33) guard_set_health_total(0x2800) guard_set_armour(0x1400) guard_set_speed_rating(0x3c) guard_set_accuracy_rating(0x3c) guard_try_spawning_item(0xc300, 0x09, 0x00000080, 0x29) label(0x29) guard_try_spawning_hat(0xde00, 0x00000000, 0x29) label(0x29) guard_try_spawning_item(0xc300, 0x09, 0x00000090, 0x06) goto_next(0x06) label(0x36) guard_set_health_total(0x2800) guard_set_armour(0x1400) guard_set_speed_rating(0x50) guard_set_accuracy_rating(0x50) guard_try_spawning_hat(0xdd00, 0x00000000, 0x29) label(0x29) guard_try_spawning_item(0xc300, 0x09, 0x00000080, 0x29) label(0x29) guard_try_spawning_item(0xc300, 0x09, 0x00000090, 0x06) label(0x06) jump_to_ai_list(0xfd, 0x0704) ai_list_end }; u8 ai_6[] = { label(0x37) guard_try_running_to_bond_position(0x07) label(0x07) ai_sleep if_guard_distance_to_bond_greater_than(0xc201, 0x33) if_guard_and_bond_within_line_of_sight(0x38) label(0x33) if_guard_has_stopped_moving(0x39) goto_first(0x07) label(0x38) if_guard_and_bond_within_line_of_sight(0x29) goto_next(0x06) label(0x39) ai_sleep goto_first(0x37) label(0x29) label(0x3a) random_generate_seed if_random_seed_greater_than(0x0a, 0x29) guard_try_throwing_grenade(0x06) label(0x29) if_random_seed_greater_than(0x32, 0x29) guard_try_sidestepping(0x06) label(0x29) if_random_seed_greater_than(0x64, 0x29) guard_try_firing_walk(0x06) label(0x29) if_random_seed_greater_than(0x96, 0x29) guard_try_firing_run(0x06) label(0x29) if_random_seed_greater_than(0xc8, 0x29) guard_try_fire_or_aim_at_target(0x0100, 0x0000, 0x06) label(0x29) guard_try_fire_or_aim_at_target_kneel(0x0100, 0x0000, 0x06) label(0x06) ai_sleep if_guard_has_stopped_moving(0x29) goto_first(0x06) label(0x29) if_guard_and_bond_within_line_of_sight(0x29) goto_next(0x07) label(0x07) ai_sleep goto_first(0x37) label(0x29) ai_sleep goto_first(0x3a) ai_list_end }; u8 ai_7[] = { guard_set_armour(0x1400) guard_set_health_total(0xaa00) guard_set_speed_rating(0x64) guard_set_accuracy_rating(0x64) guard_set_argh_rating(0x64) guard_flags_set_on(0x00020000) guard_flags_set_on(0x00080000) guard_flags_set_on(0x10000000) guard_set_pad_preset(0x9000) label(0x03) guard_runs_to_pad(0x2823) label(0x07) ai_sleep if_chr_distance_to_pad_less_than(0xfd, 0x0a00, 0x2823, 0x29) if_guard_has_stopped_moving(0x29) goto_first(0x07) label(0x29) if_chr_distance_to_pad_less_than(0xfd, 0x1e00, 0x2823, 0x29) goto_first(0x03) label(0x29) objective_bitfield_set_on(0x00040000) guard_flags_set_on(0x00000800) jump_to_ai_list(0xfd, 0x1304) ai_list_end }; u8 ai_41[] = { label(0x07) ai_sleep if_objective_bitfield_is_set_on(0x00008000, 0x29) goto_first(0x07) label(0x29) objective_bitfield_set_off(0x00008000) if_objective_bitfield_is_set_on(0x00100000, 0x29) text_print_top(0x0d24) objective_bitfield_set_on(0x00100000) goto_first(0x07) label(0x29) if_objective_bitfield_is_set_on(0x00200000, 0x29) text_print_top(0x0e24) objective_bitfield_set_on(0x00200000) goto_first(0x07) label(0x29) if_objective_bitfield_is_set_on(0x00400000, 0x29) text_print_top(0x0f24) objective_bitfield_set_on(0x00400000) goto_first(0x07) label(0x29) if_objective_bitfield_is_set_on(0x00800000, 0x29) text_print_top(0x1024) objective_bitfield_set_on(0x00800000) goto_first(0x07) label(0x29) if_objective_bitfield_is_set_on(0x00000100, 0x29) text_print_top(0x1124) objective_bitfield_set_on(0x00000100) goto_first(0x07) label(0x29) if_objective_bitfield_is_set_on(0x00000200, 0x29) text_print_top(0x1224) objective_bitfield_set_on(0x00000200) goto_first(0x07) label(0x29) if_objective_bitfield_is_set_on(0x00000400, 0x29) text_print_top(0x1324) objective_bitfield_set_on(0x00000400) goto_first(0x07) label(0x29) if_objective_bitfield_is_set_on(0x00000800, 0x29) text_print_top(0x1424) objective_bitfield_set_on(0x00000800) goto_first(0x07) label(0x29) goto_first(0x07) ai_list_end }; u8 ai_18[] = { debug_log 'T', 's', 't', 'a', 'n', 'd', '\n', '\0', objective_bitfield_set_off(0x00000002) objective_bitfield_set_off(0x00000001) guard_flags_set_off(0x10000000) debug_log '-', '>', 'd', 'a', 'm', 'a', 'g', 'e', ' ', 'o', 'n', '(', 's', 't', 'a', 'n', 'd', ')', '\n', '\0', if_chr_was_damaged_since_last_check(0xfd, 0x29) label(0x29) label(0x03) guard_try_fire_or_aim_at_target(0x2100, 0x0000, 0x29) label(0x29) label(0x07) if_chr_was_shot_since_last_check(0xfd, 0x29) label(0x29) ai_sleep if_guard_distance_to_bond_less_than(0x5000, 0x06) if_chr_was_damaged_since_last_check(0xfd, 0x2a) if_guard_and_bond_within_line_of_sight(0x08) if_objective_bitfield_is_set_on(0x00000001, 0x29) goto_next(0x33) label(0x29) if_guard_bitfield_is_set_on(0x04, 0x06) objective_bitfield_set_on(0x00000004) label(0x33) if_guard_flags_is_set_on(0x10000000, 0x29) goto_next(0x33) label(0x29) if_guard_shot_from_bond_missed(0x29) if_chr_was_shot_since_last_check(0xfd, 0x29) goto_next(0x33) label(0x29) if_guard_bitfield_is_set_on(0x04, 0x06) objective_bitfield_set_on(0x00000004) label(0x33) goto_first(0x07) label(0x08) if_guard_flags_is_set_on(0x10000000, 0x29) goto_next(0x33) label(0x29) random_generate_seed if_random_seed_greater_than(0x32, 0x33) guard_try_throwing_grenade(0x09) label(0x33) guard_try_fire_or_aim_at_target_update(0x0100, 0x0000, 0x09) label(0x09) random_generate_seed if_random_seed_greater_than(0x3c, 0x0a) objective_bitfield_set_on(0x00000002) label(0x0a) if_chr_was_shot_since_last_check(0xfd, 0x29) label(0x29) ai_sleep if_guard_distance_to_bond_less_than(0x5000, 0x06) if_chr_was_damaged_since_last_check(0xfd, 0x2a) if_objective_bitfield_is_set_on(0x00000001, 0x29) goto_next(0x33) label(0x29) if_guard_bitfield_is_set_on(0x04, 0x06) objective_bitfield_set_on(0x00000004) label(0x33) if_guard_flags_is_set_on(0x10000000, 0x29) goto_next(0x33) label(0x29) if_guard_shot_from_bond_missed(0x29) if_chr_was_shot_since_last_check(0xfd, 0x29) goto_next(0x33) label(0x29) if_objective_bitfield_is_set_on(0x00000002, 0x4c) goto_next(0x33) label(0x4c) if_guard_bitfield_is_set_on(0x04, 0x06) objective_bitfield_set_on(0x00000004) label(0x33) if_guard_has_stopped_moving(0x29) goto_first(0x0a) label(0x29) goto_first(0x03) label(0x2a) guard_flags_set_on(0x10000000) debug_log '<', '-', 'd', 'a', 'm', 'a', 'g', 'e', ' ', 'o', 'f', 'f', '(', 's', 't', 'a', 'n', 'd', ')', '\n', '\0', objective_bitfield_set_on(0x00008000) random_generate_seed if_random_seed_greater_than(0x3c, 0x33) objective_bitfield_set_on(0x00000001) label(0x33) goto_first(0x03) label(0x06) jump_to_ai_list(0xfd, 0x1104) ai_list_end }; u8 ai_16[] = { debug_log 'T', 'r', 'u', 'n', '\n', '\0', if_chr_health_greater_than(0xfd, 0x5a, 0x29) jump_to_ai_list(0xfd, 0x1004) label(0x29) local_timer_reset_start guard_bitfield_set_off(0x02) guard_bitfield_set_off(0x04) guard_bitfield_set_off(0x08) guard_bitfield_set_off(0x10) label(0x03) guard_sprints_to_pad(0x2823) label(0x07) ai_sleep if_chr_was_damaged_since_last_check(0xfd, 0x2a) if_guard_bitfield_is_set_on(0x02, 0x33) if_local_timer_greater_than(0x3c0000, 0x08) label(0x33) if_guard_bitfield_is_set_on(0x08, 0x33) label(0x33) if_guard_bitfield_is_set_on(0x10, 0x33) if_local_timer_greater_than(0x580200, 0x0a) label(0x33) if_chr_distance_to_pad_less_than(0xfd, 0x0a00, 0x2823, 0x06) if_guard_has_stopped_moving(0x06) goto_first(0x07) label(0x06) jump_to_ai_list(0xfd, 0x1304) label(0x08) guard_bitfield_set_on(0x02) debug_log 'g', 'r', 'e', 'n', 'a', 'd', 'e', '!', '\n', '\0', random_generate_seed if_random_seed_greater_than(0x50, 0x29) guard_try_dropping_item(0xc400, 0x1a, 0x29) label(0x29) goto_first(0x07) label(0x09) guard_bitfield_set_on(0x08) debug_log 'g', 'r', 'e', 'n', 'a', 'd', 'e', '!', '\n', '\0', random_generate_seed if_random_seed_greater_than(0x50, 0x29) guard_try_dropping_item(0xc400, 0x1a, 0x29) label(0x29) goto_first(0x07) label(0x0a) guard_bitfield_set_on(0x10) debug_log 'w', 'a', 'l', 'k', ' ', 'a', 't', 't', 'a', 'c', 'k', '\n', '\0', if_guard_and_bond_within_line_of_sight(0x29) goto_first(0x07) label(0x29) if_bond_health_less_than(0x33, 0x29) goto_first(0x07) label(0x29) text_print_top(0x1924) label(0x29) goto_first(0x03) label(0x2a) guard_flags_set_on(0x10000000) debug_log '<', '-', 'd', 'a', 'm', 'a', 'g', 'e', ' ', 'o', 'f', 'f', '(', 'r', 'u', 'n', ')', '\n', '\0', objective_bitfield_set_on(0x00008000) goto_first(0x03) ai_list_end }; u8 ai_20[] = { guard_walks_to_pad(0x7400) label(0x08) ai_sleep if_guard_has_stopped_moving(0x29) goto_first(0x08) label(0x29) jump_to_ai_list(0xfd, 0x1704) ai_list_end }; u8 ai_22[] = { guard_runs_to_pad(0x7600) label(0x09) ai_sleep if_guard_has_stopped_moving(0x29) goto_first(0x09) label(0x29) label(0x0a) ai_sleep if_bond_in_room_with_pad(0x7400, 0x29) goto_first(0x0a) label(0x29) label(0x0b) ai_sleep if_bond_distance_to_pad_less_than(0x4600, 0x7400, 0x29) goto_first(0x0b) label(0x29) jump_to_ai_list(0xfd, 0x1804) ai_list_end }; u8 ai_21[] = { guard_play_animation(0x6a00, 0xffff, 0xffff, 0x06, 0x00) ai_sleep label(0x07) guard_play_animation(0x6a00, 0xffff, 0xffff, 0x44, 0x00) label(0x08) ai_sleep if_guard_shot_from_bond_missed(0x29) if_guard_and_bond_within_line_of_sight(0x29) if_guard_has_stopped_moving(0x09) goto_first(0x08) label(0x09) goto_first(0x07) label(0x29) text_print_top(0x1624) guard_play_animation(0x6b00, 0xffff, 0xffff, 0x86, 0x10) local_timer_reset_start label(0x0a) ai_sleep if_local_timer_greater_than(0x780000, 0x29) goto_first(0x0a) label(0x29) if_bond_in_room_with_pad(0x7400, 0x29) jump_to_ai_list(0xfd, 0x1504) label(0x29) jump_to_ai_list(0xfd, 0x1704) ai_list_end }; u8 ai_15[] = { debug_log 'T', 'H', '\n', '\0', guard_flags_set_on(0x10000000) debug_log '<', '-', 'd', 'a', 'm', 'a', 'g', 'e', ' ', 'o', 'f', 'f', '(', 'H', ')', '\n', '\0', text_print_top(0x1524) music_xtrack_play(0x00, 0x00, 0xff) guard_sprints_to_pad(0x9600) guard_set_speed_rating(0x64) guard_set_argh_rating(0x64) guard_set_accuracy_rating(0x64) label(0x04) ai_sleep if_guard_has_stopped_moving(0x29) goto_first(0x04) label(0x29) if_bond_in_room_with_pad(0x7300, 0x29) if_bond_in_room_with_pad(0x7400, 0x29) if_bond_in_room_with_pad(0x9400, 0x29) if_bond_in_room_with_pad(0x6d00, 0x29) goto_next(0x03) label(0x29) jump_to_ai_list(0xfd, 0x1504) label(0x03) chr_try_teleporting_to_pad(0xfd, 0x9600, 0x29) jump_to_ai_list(0xfd, 0x1504) label(0x29) debug_log 'b', 'a', 'c', 'k', '\n', '\0', jump_to_ai_list(0xfd, 0x1604) ai_list_end }; u8 ai_19[] = { debug_log 'T', '!', '\n', '\0', guard_try_fire_or_aim_at_target(0x2100, 0x0000, 0x04) label(0x04) ai_sleep goto_first(0x04) ai_list_end }; u8 ai_17[] = { debug_log 'T', 'w', 'h', 'e', 'r', 'e', '\n', '\0', guard_flags_set_on(0x00020000) label(0x03) ai_sleep guard_sprints_to_pad(0x5c00) goto_first(0x03) ai_list_end }; u8 ai_8[] = { debug_log 'T', 'A', '\n', '\0', label(0x04) ai_sleep if_bond_distance_to_pad_greater_than(0x3200, 0x3b00, 0x29) label(0x47) chr_set_pad_preset(0x00, 0x5c00) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0e04) label(0x29) if_bond_distance_to_pad_greater_than(0x3200, 0x3e00, 0x29) label(0x48) random_generate_seed if_random_seed_greater_than(0x3c, 0x2a) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x2a) if_random_seed_greater_than(0x78, 0x2a) objective_bitfield_set_off(0x00000008) chr_set_pad_preset(0x00, 0x0100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0b04) label(0x2a) if_random_seed_greater_than(0xb4, 0x2a) objective_bitfield_set_off(0x00000008) chr_set_pad_preset(0x00, 0x0900) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0c04) label(0x2a) objective_bitfield_set_off(0x00000008) chr_set_pad_preset(0x00, 0x1300) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0d04) label(0x29) if_objective_bitfield_is_set_on(0x00000004, 0x41) goto_first(0x04) label(0x41) objective_bitfield_set_off(0x00000004) if_bond_in_room_with_pad(0x2200, 0x42) if_bond_in_room_with_pad(0x4500, 0x43) if_bond_in_room_with_pad(0x5b00, 0x43) random_generate_seed if_random_seed_greater_than(0x32, 0x43) label(0x42) goto_first(0x47) label(0x43) goto_first(0x48) ai_list_end }; u8 ai_9[] = { debug_log 'T', 'B', '\n', '\0', label(0x04) ai_sleep if_bond_distance_to_pad_greater_than(0x3200, 0x2700, 0x29) label(0x47) chr_set_pad_preset(0x00, 0x4f00) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0f04) label(0x29) if_bond_distance_to_pad_greater_than(0x3200, 0x2a00, 0x29) label(0x48) random_generate_seed if_random_seed_greater_than(0x3c, 0x2a) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x2a) if_random_seed_greater_than(0x78, 0x2a) objective_bitfield_set_off(0x00000008) chr_set_pad_preset(0x00, 0x0100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0b04) label(0x2a) if_random_seed_greater_than(0xb4, 0x2a) objective_bitfield_set_off(0x00000008) chr_set_pad_preset(0x00, 0x0900) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0c04) label(0x2a) objective_bitfield_set_off(0x00000008) chr_set_pad_preset(0x00, 0x1300) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0d04) label(0x29) if_objective_bitfield_is_set_on(0x00000004, 0x41) goto_first(0x04) label(0x41) objective_bitfield_set_off(0x00000004) if_bond_in_room_with_pad(0x1f00, 0x42) if_bond_in_room_with_pad(0x3100, 0x43) if_bond_in_room_with_pad(0x5000, 0x43) random_generate_seed if_random_seed_greater_than(0x32, 0x43) label(0x42) goto_first(0x47) label(0x43) goto_first(0x48) ai_list_end }; u8 ai_10[] = { debug_log 'T', 'C', '\n', '\0', label(0x04) ai_sleep if_bond_distance_to_pad_greater_than(0x3200, 0x0400, 0x29) label(0x47) random_generate_seed if_random_seed_greater_than(0x78, 0x2a) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x2a) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x29) if_bond_distance_to_pad_greater_than(0x3200, 0x0700, 0x29) label(0x48) random_generate_seed if_random_seed_greater_than(0x78, 0x2a) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x2a) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x29) if_bond_distance_to_pad_greater_than(0x3200, 0x1d00, 0x29) label(0x49) random_generate_seed if_random_seed_greater_than(0xc8, 0x3f) if_objective_bitfield_is_set_on(0x00000008, 0x3e) label(0x3f) random_generate_seed if_random_seed_greater_than(0x78, 0x2a) objective_bitfield_set_on(0x00000008) chr_set_pad_preset(0x00, 0x1300) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0d04) label(0x2a) objective_bitfield_set_on(0x00000008) chr_set_pad_preset(0x00, 0x0900) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0c04) label(0x3e) goto_first(0x47) label(0x29) if_objective_bitfield_is_set_on(0x00000004, 0x41) goto_first(0x04) label(0x41) objective_bitfield_set_off(0x00000004) if_bond_in_room_with_pad(0x1800, 0x42) if_bond_in_room_with_pad(0x1d00, 0x42) if_bond_in_room_with_pad(0x1100, 0x43) if_bond_in_room_with_pad(0x1300, 0x43) if_bond_in_room_with_pad(0x1c00, 0x43) if_bond_in_room_with_pad(0x0300, 0x44) if_bond_in_room_with_pad(0x0900, 0x44) if_bond_in_room_with_pad(0x1b00, 0x44) random_generate_seed if_random_seed_greater_than(0x7f, 0x45) label(0x42) goto_first(0x49) label(0x43) random_generate_seed if_random_seed_greater_than(0x55, 0x2a) objective_bitfield_set_on(0x00000008) chr_set_pad_preset(0x00, 0x0900) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0c04) label(0x2a) if_random_seed_greater_than(0xaa, 0x2a) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x2a) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x44) random_generate_seed if_random_seed_greater_than(0x55, 0x2a) objective_bitfield_set_on(0x00000008) chr_set_pad_preset(0x00, 0x1300) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0d04) label(0x2a) if_random_seed_greater_than(0xaa, 0x2a) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x2a) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x45) goto_first(0x47) ai_list_end }; u8 ai_11[] = { debug_log 'T', 'D', '\n', '\0', label(0x04) ai_sleep if_bond_distance_to_pad_greater_than(0x3200, 0x0c00, 0x29) label(0x47) random_generate_seed if_random_seed_greater_than(0x78, 0x2a) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x2a) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x29) if_bond_distance_to_pad_greater_than(0x3200, 0x0f00, 0x29) label(0x48) random_generate_seed if_random_seed_greater_than(0x78, 0x2a) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x2a) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x29) if_bond_distance_to_pad_greater_than(0x3200, 0x1b00, 0x29) label(0x49) random_generate_seed if_random_seed_greater_than(0xc8, 0x3f) if_objective_bitfield_is_set_on(0x00000008, 0x3e) label(0x3f) random_generate_seed if_random_seed_greater_than(0x78, 0x2a) objective_bitfield_set_on(0x00000008) chr_set_pad_preset(0x00, 0x0100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0b04) label(0x2a) objective_bitfield_set_on(0x00000008) chr_set_pad_preset(0x00, 0x1300) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0d04) label(0x3e) goto_first(0x47) label(0x29) if_objective_bitfield_is_set_on(0x00000004, 0x41) goto_first(0x04) label(0x41) objective_bitfield_set_off(0x00000004) if_bond_in_room_with_pad(0x0900, 0x42) if_bond_in_room_with_pad(0x1b00, 0x42) if_bond_in_room_with_pad(0x0300, 0x43) if_bond_in_room_with_pad(0x0100, 0x43) if_bond_in_room_with_pad(0x1d00, 0x43) if_bond_in_room_with_pad(0x0b00, 0x44) if_bond_in_room_with_pad(0x1300, 0x44) if_bond_in_room_with_pad(0x1c00, 0x44) random_generate_seed if_random_seed_greater_than(0x7f, 0x45) label(0x42) goto_first(0x49) label(0x43) random_generate_seed if_random_seed_greater_than(0x55, 0x2a) objective_bitfield_set_on(0x00000008) chr_set_pad_preset(0x00, 0x1300) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0c04) label(0x2a) if_random_seed_greater_than(0xaa, 0x2a) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x2a) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x44) random_generate_seed if_random_seed_greater_than(0x55, 0x2a) objective_bitfield_set_on(0x00000008) chr_set_pad_preset(0x00, 0x0100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0d04) label(0x2a) if_random_seed_greater_than(0xaa, 0x2a) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x2a) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x45) goto_first(0x47) ai_list_end }; u8 ai_12[] = { debug_log 'T', 'E', '\n', '\0', label(0x04) ai_sleep if_bond_distance_to_pad_greater_than(0x3200, 0x1600, 0x29) label(0x47) random_generate_seed if_random_seed_greater_than(0x78, 0x2a) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x2a) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x29) if_bond_distance_to_pad_greater_than(0x3200, 0x1500, 0x29) label(0x48) random_generate_seed if_random_seed_greater_than(0x78, 0x2a) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x2a) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x29) if_bond_distance_to_pad_greater_than(0x3200, 0x1c00, 0x29) label(0x49) random_generate_seed if_random_seed_greater_than(0xc8, 0x3f) if_objective_bitfield_is_set_on(0x00000008, 0x3e) label(0x3f) random_generate_seed if_random_seed_greater_than(0x78, 0x2a) objective_bitfield_set_on(0x00000008) chr_set_pad_preset(0x00, 0x0100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0b04) label(0x2a) objective_bitfield_set_on(0x00000008) chr_set_pad_preset(0x00, 0x0900) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0c04) label(0x3e) goto_first(0x47) label(0x29) if_objective_bitfield_is_set_on(0x00000004, 0x41) goto_first(0x04) label(0x41) objective_bitfield_set_off(0x00000004) if_bond_in_room_with_pad(0x1300, 0x42) if_bond_in_room_with_pad(0x1c00, 0x42) if_bond_in_room_with_pad(0x0b00, 0x43) if_bond_in_room_with_pad(0x0900, 0x43) if_bond_in_room_with_pad(0x1b00, 0x43) if_bond_in_room_with_pad(0x1100, 0x44) if_bond_in_room_with_pad(0x0100, 0x44) if_bond_in_room_with_pad(0x1d00, 0x44) random_generate_seed if_random_seed_greater_than(0x7f, 0x45) label(0x42) goto_first(0x49) label(0x43) random_generate_seed if_random_seed_greater_than(0x55, 0x2a) objective_bitfield_set_on(0x00000008) chr_set_pad_preset(0x00, 0x0100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0c04) label(0x2a) if_random_seed_greater_than(0xaa, 0x2a) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x2a) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x44) random_generate_seed if_random_seed_greater_than(0x55, 0x2a) objective_bitfield_set_on(0x00000008) chr_set_pad_preset(0x00, 0x0900) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0d04) label(0x2a) if_random_seed_greater_than(0xaa, 0x2a) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x2a) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x45) goto_first(0x47) ai_list_end }; u8 ai_13[] = { debug_log 'T', 'F', '\n', '\0', label(0x04) ai_sleep if_bond_distance_to_pad_greater_than(0x3200, 0x4500, 0x29) label(0x47) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x29) if_bond_distance_to_pad_greater_than(0x3200, 0x5900, 0x29) label(0x48) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x29) if_bond_distance_to_pad_greater_than(0x3200, 0x6000, 0x29) label(0x49) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x29) if_objective_bitfield_is_set_on(0x00000004, 0x41) goto_first(0x04) label(0x41) objective_bitfield_set_off(0x00000004) if_bond_in_room_with_pad(0x4400, 0x42) if_bond_in_room_with_pad(0x3e00, 0x42) if_bond_in_room_with_pad(0x6000, 0x43) if_bond_in_room_with_pad(0x6100, 0x43) if_bond_in_room_with_pad(0x6400, 0x43) if_bond_in_room_with_pad(0x5000, 0x43) random_generate_seed if_random_seed_greater_than(0x7f, 0x44) goto_first(0x47) label(0x42) goto_first(0x47) label(0x43) goto_first(0x48) label(0x44) goto_first(0x48) ai_list_end }; u8 ai_14[] = { debug_log 'T', 'G', '\n', '\0', label(0x04) ai_sleep if_bond_distance_to_pad_greater_than(0x3200, 0x3100, 0x29) label(0x47) chr_set_pad_preset(0x00, 0x9000) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0904) label(0x29) if_bond_distance_to_pad_greater_than(0x3200, 0x5400, 0x29) label(0x48) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x29) if_bond_distance_to_pad_greater_than(0x3200, 0x6400, 0x29) label(0x49) chr_set_pad_preset(0x00, 0x9100) chr_bitfield_set_on(0x00, 0x04) jump_to_ai_list(0xfd, 0x0a04) label(0x29) if_objective_bitfield_is_set_on(0x00000004, 0x41) goto_first(0x04) label(0x41) objective_bitfield_set_off(0x00000004) if_bond_in_room_with_pad(0x3100, 0x42) if_bond_in_room_with_pad(0x2a00, 0x42) if_bond_in_room_with_pad(0x6400, 0x43) if_bond_in_room_with_pad(0x6300, 0x43) if_bond_in_room_with_pad(0x6000, 0x43) if_bond_in_room_with_pad(0x5d00, 0x43) random_generate_seed if_random_seed_greater_than(0x7f, 0x44) goto_first(0x47) label(0x42) goto_first(0x47) label(0x43) goto_first(0x48) label(0x44) goto_first(0x48) ai_list_end }; u8 ai_35[] = { label(0x04) ai_sleep if_object_not_destroyed(0x00, 0x29) goto_next(0x2a) label(0x29) if_objective_bitfield_is_set_on(0x00040000, 0x29) goto_first(0x04) label(0x29) text_print_top(0x0624) local_timer_reset_start label(0x07) ai_sleep if_object_not_destroyed(0x00, 0x29) goto_next(0x2a) label(0x29) if_local_timer_greater_than(0x2c0100, 0x29) goto_first(0x07) label(0x29) text_print_top(0x0724) sfx_play(0xa100, 0x00) hud_countdown_set(0xb400) hud_countdown_start hud_countdown_show label(0x0b) ai_sleep if_object_not_destroyed(0x00, 0x29) goto_next(0x2a) label(0x29) if_hud_countdown_less_than(0x3c00, 0x29) goto_first(0x0b) label(0x29) label(0x08) ai_sleep if_object_not_destroyed(0x00, 0x29) goto_next(0x2a) label(0x29) if_hud_countdown_less_than(0x0f00, 0x29) goto_first(0x08) label(0x29) text_print_top(0x0924) label(0x09) ai_sleep if_object_not_destroyed(0x00, 0x29) goto_next(0x2a) label(0x29) if_hud_countdown_less_than(0x0000, 0x29) goto_first(0x09) label(0x29) objective_bitfield_set_on(0x00080000) text_print_top(0x0a24) sfx_stop_channel(0x00) music_xtrack_stop(0x00) hud_countdown_hide hud_countdown_stop label(0x0a) ai_sleep goto_first(0x0a) label(0x2a) sfx_stop_channel(0x00) text_print_top(0x0824) objective_bitfield_set_on(0x00020000) music_xtrack_stop(0x00) hud_countdown_hide hud_countdown_stop label(0x06) ai_sleep goto_first(0x06) ai_list_end }; u8 ai_36[] = { label(0x04) ai_sleep if_chr_does_not_exist(0x00, 0x29) goto_first(0x04) label(0x29) objective_bitfield_set_on(0x00010000) label(0x06) ai_sleep goto_first(0x06) ai_list_end }; u8 ai_37[] = { label(0x04) label(0x29) jump_to_ai_list(0xfd, 0x0904) ai_list_end }; u8 ai_23[] = { guard_flags_set_off(0x10000000) guard_flags_set_on(0x00800000) label(0x03) if_guard_and_bond_within_line_of_sight(0x29) guard_try_running_to_bond_position(0x07) label(0x07) ai_sleep if_chr_in_room_with_pad(0xfd, 0x9400, 0x31) if_chr_dying_or_dead(0xfd, 0x30) if_guard_and_bond_within_line_of_sight(0x29) goto_first(0x07) label(0x29) random_generate_seed if_random_seed_greater_than(0x40, 0x29) guard_try_firing_walk(0x06) label(0x29) random_generate_seed if_random_seed_greater_than(0x7f, 0x29) guard_try_fire_or_aim_at_target(0x0100, 0x0000, 0x06) label(0x29) guard_try_fire_or_aim_at_target_kneel(0x0100, 0x0000, 0x06) label(0x06) ai_sleep if_chr_in_room_with_pad(0xfd, 0x9400, 0x31) if_chr_dying_or_dead(0xfd, 0x30) if_guard_has_stopped_moving(0x29) goto_first(0x06) label(0x29) goto_first(0x03) label(0x31) objective_bitfield_set_on(0x00000010) guard_flags_set_on(0x00400000) guard_remove_fade label(0x30) ai_sleep text_print_top(0x1724) local_timer_reset_start label(0x0b) ai_sleep if_chr_in_room_with_pad(0xfd, 0x9400, 0x31) goto_next(0x33) label(0x31) objective_bitfield_set_on(0x00000010) label(0x33) if_local_timer_greater_than(0x780000, 0x29) goto_first(0x0b) label(0x29) text_print_top(0x1824) label(0x0c) ai_sleep if_chr_in_room_with_pad(0xfd, 0x9400, 0x31) goto_next(0x33) label(0x31) objective_bitfield_set_on(0x00000010) label(0x33) goto_first(0x0c) ai_list_end }; u8 ai_24[] = { chr_try_teleporting_to_pad(0xfd, 0x9200, 0x29) label(0x29) chr_remove_item_in_hand(0xfd, 0x00) chr_remove_item_in_hand(0xfd, 0x01) guard_flags_set_on(0x00200000) screen_fade_from_black guard_play_animation(0xb300, 0x0200, 0xffff, 0x06, 0x10) guard_play_animation(0xb300, 0x0200, 0xffff, 0x06, 0x10) objective_bitfield_set_on(0x00000080) local_timer_reset_start label(0x07) ai_sleep guard_flags_set_on(0x00100000) if_local_timer_greater_than(0x220100, 0x29) goto_first(0x07) label(0x29) screen_fade_to_black label(0x08) ai_sleep if_screen_fade_completed(0x29) goto_first(0x08) label(0x29) camera_switch(0x02, 0x0200, 0x0000) chr_try_teleporting_to_pad(0xfd, 0x9200, 0x29) label(0x29) screen_fade_from_black guard_play_animation(0xb300, 0x0200, 0xffff, 0x06, 0x10) guard_play_animation(0xb300, 0x0200, 0xffff, 0x06, 0x10) objective_bitfield_set_on(0x00000040) local_timer_reset_start label(0x09) ai_sleep guard_flags_set_on(0x00100000) if_local_timer_greater_than(0x220100, 0x29) goto_first(0x09) label(0x29) screen_fade_to_black label(0x0a) ai_sleep if_screen_fade_completed(0x29) goto_first(0x0a) label(0x29) label(0x06) exit_level ai_sleep goto_first(0x06) ai_list_end }; u8 ai_25[] = { chr_try_teleporting_to_pad(0xfd, 0x9200, 0x29) label(0x29) guard_play_animation(0xb400, 0xffff, 0xffff, 0x06, 0x10) ai_sleep guard_flags_set_on(0x00100000) chr_try_teleporting_to_pad(0xfd, 0x9400, 0x29) label(0x29) guard_flags_set_on(0x00200000) screen_fade_from_black local_timer_reset_start label(0x07) ai_sleep guard_flags_set_off(0x00100000) guard_flags_set_off(0x01000000) if_local_timer_greater_than(0x3c0000, 0x29) goto_first(0x07) label(0x29) screen_fade_to_black label(0x08) ai_sleep if_screen_fade_completed(0x29) goto_first(0x08) label(0x29) camera_switch(0x03, 0x0200, 0x0000) chr_try_teleporting_to_pad(0xfd, 0x9200, 0x29) label(0x29) guard_play_animation(0xb400, 0xffff, 0xffff, 0x06, 0x10) ai_sleep ai_sleep guard_flags_set_on(0x00100000) chr_try_teleporting_to_pad(0xfd, 0x9400, 0x29) label(0x29) screen_fade_from_black local_timer_reset_start label(0x09) ai_sleep guard_flags_set_off(0x00100000) guard_flags_set_off(0x01000000) if_local_timer_greater_than(0x5a0000, 0x29) goto_first(0x09) label(0x29) screen_fade_to_black label(0x0a) ai_sleep if_screen_fade_completed(0x29) goto_first(0x0a) label(0x29) objective_bitfield_set_on(0x00000020) label(0x06) ai_sleep goto_first(0x06) ai_list_end }; u8 ai_26[] = { chr_try_teleporting_to_pad(0xfd, 0x9500, 0x29) label(0x29) guard_animation_stop label(0x06) ai_sleep goto_first(0x06) ai_list_end }; u8 ai_39[] = { label(0x03) ai_sleep if_bond_in_room_with_pad(0x9200, 0x29) if_bond_in_room_with_pad(0x9300, 0x30) goto_first(0x03) label(0x29) if_chr_does_not_exist(0x00, 0x29) goto_first(0x03) label(0x29) if_guard_bitfield_is_set_on(0x01, 0x29) guard_bitfield_set_on(0x01) local_timer_reset_start label(0x29) if_local_timer_greater_than(0x3c0000, 0x29) goto_first(0x03) label(0x29) if_objective_bitfield_is_set_on(0x00000010, 0x29) jump_to_ai_list(0xfd, 0x2004) label(0x29) jump_to_ai_list(0xfd, 0x1d04) label(0x30) if_bond_y_pos_less_than(0x0af6, 0x29) goto_first(0x03) label(0x29) hud_hide_and_lock_controls_and_pause_mission_time(0x00) label(0x07) ai_sleep if_bond_in_room_with_pad(0x9300, 0x29) hud_show_all_and_unlock_controls_and_resume_mission_time goto_first(0x03) label(0x29) if_bond_y_pos_less_than(0x1af0, 0x29) goto_first(0x07) label(0x29) jump_to_ai_list(0xfd, 0x1c04) ai_list_end }; u8 ai_30[] = { if_bond_is_dead(0x3d) bond_disable_damage_and_pickups hud_hide_and_lock_controls_and_pause_mission_time(0x00) bond_equip_item(0x00) chr_hide_all trigger_fade_and_exit_level_on_button_press bond_hide_weapons ai_sleep ai_sleep ai_sleep camera_switch(0x01, 0x0100, 0x0000) chr_flags_set_off(0xf8, 0x00040000) jump_to_ai_list(0xf8, 0x1904) jump_to_ai_list(0xfd, 0x0100) label(0x3d) jump_to_ai_list(0xfd, 0x0100) ai_list_end }; u8 ai_31[] = { if_bond_is_dead(0x3d) bond_disable_damage_and_pickups hud_hide_and_lock_controls_and_pause_mission_time(0x00) bond_equip_item(0x00) screen_fade_to_black label(0x07) ai_sleep if_screen_fade_completed(0x29) goto_first(0x07) label(0x29) jump_to_ai_list(0xfd, 0x1f04) label(0x3d) jump_to_ai_list(0xfd, 0x0100) ai_list_end }; u8 ai_27[] = { if_bond_is_dead(0x3d) bond_disable_damage_and_pickups hud_hide_and_lock_controls_and_pause_mission_time(0x00) bond_equip_item(0x00) bond_killed_in_action screen_fade_to_black label(0x07) ai_sleep if_screen_fade_completed(0x29) goto_first(0x07) label(0x29) chr_hide_all trigger_fade_and_exit_level_on_button_press bond_hide_weapons ai_sleep ai_sleep ai_sleep camera_switch(0x04, 0x0200, 0x0000) jump_to_ai_list(0xf8, 0x1a04) if_chr_dying_or_dead(0x00, 0x29) if_chr_does_not_exist(0x00, 0x29) if_chr_in_room_with_pad(0x00, 0x7400, 0x0a) goto_next(0x29) label(0x0a) chr_flags_set_off(0x00, 0x00040000) jump_to_ai_list(0x00, 0x1b04) label(0x29) label(0x08) ai_sleep if_objective_bitfield_is_set_on(0x00000020, 0x29) goto_first(0x08) label(0x29) exit_level jump_to_ai_list(0xfd, 0x0100) label(0x3d) jump_to_ai_list(0xfd, 0x0100) ai_list_end }; u8 ai_29[] = { guard_set_chr_num(0x00) label(0x06) ai_sleep goto_first(0x06) ai_list_end }; u8 ai_28[] = { if_bond_is_dead(0x3d) bond_disable_damage_and_pickups hud_hide_and_lock_controls_and_pause_mission_time(0x00) screen_fade_to_black label(0x07) ai_sleep if_screen_fade_completed(0x29) goto_first(0x07) label(0x29) if_chr_does_not_exist(0x00, 0x30) goto_next(0x29) label(0x30) chr_try_spawning_at_pad(0x08, 0xff, 0x9200, 0x1e04, 0x10000000, 0x29) label(0x29) ai_sleep ai_sleep if_chr_does_not_exist(0x00, 0x30) goto_next(0x29) label(0x30) jump_to_ai_list(0xfd, 0x1f04) label(0x29) chr_hide_all trigger_fade_and_exit_level_on_button_press bond_hide_weapons ai_sleep ai_sleep ai_sleep camera_switch(0x04, 0x0200, 0x0000) chr_flags_set_off(0x00, 0x00040000) jump_to_ai_list(0x00, 0x1a04) if_bond_in_room_with_pad(0x7400, 0x0a) chr_flags_set_on(0xf8, 0x00040000) goto_next(0x29) label(0x0a) jump_to_ai_list(0xf8, 0x1b04) label(0x29) label(0x08) ai_sleep if_objective_bitfield_is_set_on(0x00000020, 0x29) goto_first(0x08) label(0x29) jump_to_ai_list(0xfd, 0x1f04) label(0x3d) jump_to_ai_list(0xfd, 0x0100) ai_list_end }; u8 ai_32[] = { aircraft_rotor_speed(0x6c02, 0x0000) guard_play_animation(0x0000, 0xffff, 0x0200, 0x06, 0x10) label(0x07) ai_sleep if_objective_bitfield_is_set_on(0x00000080, 0x29) goto_first(0x07) label(0x29) object_flags_2_set_off(0x05, 0x00000800) guard_play_animation(0x0000, 0x0200, 0xffff, 0x06, 0x10) label(0x08) ai_sleep if_objective_bitfield_is_set_on(0x00000040, 0x29) goto_first(0x08) label(0x29) object_move_to_pad(0x05, 0x9300) guard_play_animation(0x0000, 0x0200, 0xffff, 0x06, 0x10) guard_play_animation(0x0000, 0x0200, 0xffff, 0x06, 0x10) label(0x06) ai_sleep goto_first(0x06) ai_list_end }; u8 ai_33[] = { local_timer_reset_start guard_play_animation(0x6300, 0x0000, 0x0100, 0x06, 0x10) label(0x07) ai_sleep if_local_timer_greater_than(0x140000, 0x29) goto_first(0x07) label(0x29) guard_play_animation(0x6300, 0x0100, 0xffff, 0x06, 0x10) label(0x06) ai_sleep goto_first(0x06) ai_list_end }; u8 ai_38[] = { label(0x07) ai_sleep if_camera_is_in_bond_swirl(0x29) goto_first(0x07) label(0x29) jump_to_ai_list(0xf8, 0x2204) label(0x06) ai_sleep goto_first(0x06) ai_list_end }; u8 ai_40[] = { label(0x03) ai_sleep if_chr_distance_to_pad_greater_than(0x00, 0x3c00, 0x1127, 0x29) if_door_state_equal(0x06, 0x0a, 0x29) door_open(0x06) label(0x29) if_chr_distance_to_pad_greater_than(0x00, 0x3c00, 0x1227, 0x29) if_door_state_equal(0x07, 0x0a, 0x29) door_open(0x07) label(0x29) if_chr_distance_to_pad_greater_than(0x00, 0x3c00, 0x1327, 0x29) if_door_state_equal(0x08, 0x0a, 0x29) door_open(0x08) label(0x29) if_chr_distance_to_pad_greater_than(0x00, 0x3c00, 0x1427, 0x29) if_door_state_equal(0x09, 0x0a, 0x29) door_open(0x09) label(0x29) if_chr_distance_to_pad_greater_than(0x00, 0x1400, 0x1527, 0x29) if_door_state_equal(0x0a, 0x0a, 0x29) door_open(0x0a) label(0x29) goto_first(0x03) ai_list_end }; AIListRecord ailists[] = { /* index = 0 */ { &ai_0, 0x00000401 }, /* index = 1 */ { &ai_1, 0x00000402 }, /* index = 2 */ { &ai_2, 0x00000403 }, /* index = 3 */ { &ai_3, 0x00000404 }, /* index = 4 */ { &ai_4, 0x00000405 }, /* index = 5 */ { &ai_5, 0x00000406 }, /* index = 6 */ { &ai_6, 0x00000407 }, /* index = 7 */ { &ai_7, 0x00000408 }, /* index = 8 */ { &ai_8, 0x00000409 }, /* index = 9 */ { &ai_9, 0x0000040a }, /* index = 10 */ { &ai_10, 0x0000040b }, /* index = 11 */ { &ai_11, 0x0000040c }, /* index = 12 */ { &ai_12, 0x0000040d }, /* index = 13 */ { &ai_13, 0x0000040e }, /* index = 14 */ { &ai_14, 0x0000040f }, /* index = 15 */ { &ai_15, 0x00000410 }, /* index = 16 */ { &ai_16, 0x00000411 }, /* index = 17 */ { &ai_17, 0x00000412 }, /* index = 18 */ { &ai_18, 0x00000413 }, /* index = 19 */ { &ai_19, 0x00000414 }, /* index = 20 */ { &ai_20, 0x00000415 }, /* index = 21 */ { &ai_21, 0x00000416 }, /* index = 22 */ { &ai_22, 0x00000417 }, /* index = 23 */ { &ai_23, 0x00000418 }, /* index = 24 */ { &ai_24, 0x00000419 }, /* index = 25 */ { &ai_25, 0x0000041a }, /* index = 26 */ { &ai_26, 0x0000041b }, /* index = 27 */ { &ai_27, 0x0000041c }, /* index = 28 */ { &ai_28, 0x0000041d }, /* index = 29 */ { &ai_29, 0x0000041e }, /* index = 30 */ { &ai_30, 0x0000041f }, /* index = 31 */ { &ai_31, 0x00000420 }, /* index = 32 */ { &ai_32, 0x00000421 }, /* index = 33 */ { &ai_33, 0x00000422 }, /* index = 34 */ { &ai_34, 0x00001000 }, /* index = 35 */ { &ai_35, 0x00001001 }, /* index = 36 */ { &ai_36, 0x00001002 }, /* index = 37 */ { &ai_37, 0x00001003 }, /* index = 38 */ { &ai_38, 0x00001004 }, /* index = 39 */ { &ai_39, 0x00001005 }, /* index = 40 */ { &ai_40, 0x00001006 }, /* index = 41 */ { &ai_41, 0x00001007 }, /* index = 42 */ { NULL, 0x00000000 } };