3rd part of script =)
ENTITY: entity_id = 0x11
SCRIPT: script_id = 0x00
script = w[8007aecc];
0x186e JumpSwitch( h[ 0x8007aef0 + 0x0002 ] )( case 0x0066: jump_to:0x187c)( case 0x0067: jump_to:0x1897)( default: jump_to:0x18b2); // 05 d8 02 7f 0b 02 66 00 3f 00 09 00 24 00
0x187c [ script + 0x0000 ] = h( 0x000002d9 ); // 05 d9 00 7d d9 02 2c 7f
0x1884 [ script + 0x0004 ] = h( 0x000000e2 ); // 05 d9 04 7d e2 00 2c 7f
0x188c [ script + 0x0006 ] = h( 0x00000000 ); // 05 d9 06 7d 00 00 2c 7f
0x1894 JumpTo( 0x18cd ); // 01 36 00
0x1897 [ script + 0x0000 ] = h( 0x0000fd3b ); // 05 d9 00 7d 3b fd 2c 7f
0x189f [ script + 0x0004 ] = h( 0x0000001b ); // 05 d9 04 7d 1b 00 2c 7f
0x18a7 [ script + 0x0006 ] = h( 0x00000000 ); // 05 d9 06 7d 00 00 2c 7f
0x18af JumpTo( 0x18cd ); // 01 1b 00
0x18b2 [ script + 0x0000 ] = h( 0x00000019 ); // 05 d9 00 7d 19 00 2c 7f
0x18ba [ script + 0x0004 ] = h( 0x0000fbb4 ); // 05 d9 04 7d b4 fb 2c 7f
0x18c2 [ script + 0x0006 ] = h( 0x00000080 ); // 05 d9 06 7d 80 00 2c 7f
0x18ca JumpTo( 0x18cd ); // 01 00 00
0x18cd Set32and34inEntityStruct( 0x0062, 0x5d ); // 2f 00 62 00 5d
0x18d2 SetEntityPositionByXZ( x = h[ script + 0x0000 ], z = h[ script + 0x0004 ] ); // 1d 03 d9 00 7f d9 04 7f
0x18da SetEntityRotation( rotation = h[ script + 0x0006 ] ); // 36 01 d9 06 7f
0x18df SetEntityData54( animation_id = 0x00c8 ); // 33 00 c8 00
0x18e3 SetEntityData56( animation_id = 0x0019 ); // 34 00 19 00
0x18e7 SetEntityData58( animation_id = 0x0026 ); // 35 00 26 00
0x18eb SetEntityData4c( animation_id = 0x0028 ); // 7a 00 28 00
0x18ef SetEntityData4e( animation_id = 0x0029 ); // 7b 00 29 00
0x18f3 SetEntityData74( 0x0036 ); // 52 00 36 00
0x18f7 SetEntityCollision( 0x14, solid_radius = 0x18, talk_radius = 0x28 ); // 4b 00 14 18 28
0x18fc SetEntityData7c_7d_7e_7f( 0x0e, 0x10, 0x12, 0x14 ); // 86 00 0e 10 12 14
0x1902 SetEntityData6a_6b( 0x61, 0x3d ); // 8b 00 61 3d
0x1906 CallDynamic8006794c_1c_83c( 0x1208, 0x0392, 0x00, 0x00, 0x00 ); // c5 00 08 12 92 03
0x190c CallDynamic8006794c_1c_83c( 0x1208, 0x039b, 0x00, 0x00, 0x00 ); // c5 00 08 12 9b 03
0x1912 CallFuncaba98( 0x10, 0x0019, 0x0004, 0x0392 ); // 88 00 10 19 00 04 00 92 03
0x191b CallFuncaba98( 0x11, 0x0019, 0x0004, 0x039b ); // 88 00 11 19 00 04 00 9b 03
0x1924 CallFuncaba98( 0x12, 0x0019, 0x0004, 0x0001 ); // 88 00 12 19 00 04 00 01 00
0x192d CallDynamic8006794c_1c_83c( 0x1208, 0x0392, 0x00, 0x00, 0x00 ); // c5 00 08 12 92 03
0x1933 CallDynamic8006794c_1c_83c( 0x1208, 0x039b, 0x00, 0x00, 0x00 ); // c5 00 08 12 9b 03
0x1939 CallFuncaba98( 0x10, 0x0019, 0x000d, 0x0392 ); // 88 00 10 19 00 0d 00 92 03
0x1942 CallFuncaba98( 0x11, 0x0019, 0x000d, 0x039b ); // 88 00 11 19 00 0d 00 9b 03
0x194b CallFuncaba98( 0x12, 0x0019, 0x000d, 0x0001 ); // 88 00 12 19 00 0d 00 01 00
0x1954 CallDynamic8006794c_1c_83c( 0x1208, 0x0392, 0x00, 0x00, 0x00 ); // c5 00 08 12 92 03
0x195a CallDynamic8006794c_1c_83c( 0x1208, 0x039b, 0x00, 0x00, 0x00 ); // c5 00 08 12 9b 03
0x1960 CallFuncaba98( 0x10, 0x0026, 0x0000, 0x0392 ); // 88 00 10 26 00 00 00 92 03
0x1969 CallFuncaba98( 0x11, 0x0026, 0x0000, 0x039b ); // 88 00 11 26 00 00 00 9b 03
0x1972 CallFuncaba98( 0x12, 0x0026, 0x0000, 0x0001 ); // 88 00 12 26 00 00 00 01 00
0x197b CallDynamic8006794c_1c_83c( 0x1208, 0x0392, 0x00, 0x00, 0x00 ); // c5 00 08 12 92 03
0x1981 CallDynamic8006794c_1c_83c( 0x1208, 0x039b, 0x00, 0x00, 0x00 ); // c5 00 08 12 9b 03
0x1987 CallFuncaba98( 0x10, 0x0026, 0x0008, 0x0392 ); // 88 00 10 26 00 08 00 92 03
0x1990 CallFuncaba98( 0x11, 0x0026, 0x0008, 0x039b ); // 88 00 11 26 00 08 00 9b 03
0x1999 CallFuncaba98( 0x12, 0x0026, 0x0008, 0x0001 ); // 88 00 12 26 00 08 00 01 00
0x19a2 SetEntityCollisionFlags( flags = 0x00 ); // 47 00 00
0x19a5 CallFuncc02d0( 0x11, 0x00f0, 0x88, 0x04, 0x00, 0x00, 0x00 ); // 92 00 11 f0 00 88 04 00 00 00
0x19af [ script + 0x1700 ] = h( -1 ); // 90
0x19b0 [ script + 0x16ed ] = h( GetCurrentEntityId() ); // 2c
0x19b1 [ script + 0x001f ] = b( 0x00000038 ); // 05 d5 1f 7d 38 00 2c 7f
0x19b9 [ script + 0x0020 ] = b( 0x00000030 ); // 05 d5 20 7d 30 00 2c 7f
0x19c1 [ script + 0x0021 ] = b( 0x00000030 ); // 05 d5 21 7d 30 00 2c 7f
0x19c9 0x8f( entity_id = 0xff, bu[ script + 0x001f ], bu[ script + 0x0020 ], bu[ script + 0x0021 ] ); // 8f 0e ff d5 1f 7f d5 20 7f d5 21 7f
0x19d5 Wait( 0x01 ); // 22 00 01
0x19d8 0x8f( entity_id = 0xff, bu[ script + 0x001f ], bu[ script + 0x0020 ], bu[ script + 0x0021 ] ); // 8f 0e ff d5 1f 7f d5 20 7f d5 21 7f
0x19e4 0x80(); // 80
0x19e5 Return(); // 04
SCRIPT: script_id = 0x0b
script = w[8007aecc];
0x19e6 CallDynamic8006794c_1c_83c( 0x1208, 0x0392, 0x00, 0x00, 0x00 ); // c5 00 08 12 92 03
0x19ec CallDynamic8006794c_1c_83c( 0x1208, 0x039b, 0x00, 0x00, 0x00 ); // c5 00 08 12 9b 03
0x19f2 CallFuncaba98( 0x10, 0x0019, 0x0004, 0x0392 ); // 88 00 10 19 00 04 00 92 03
0x19fb CallFuncaba98( 0x11, 0x0019, 0x0004, 0x039b ); // 88 00 11 19 00 04 00 9b 03
0x1a04 CallFuncaba98( 0x12, 0x0019, 0x0004, 0x0001 ); // 88 00 12 19 00 04 00 01 00
0x1a0d CallDynamic8006794c_1c_83c( 0x1208, 0x0392, 0x00, 0x00, 0x00 ); // c5 00 08 12 92 03
0x1a13 CallDynamic8006794c_1c_83c( 0x1208, 0x039b, 0x00, 0x00, 0x00 ); // c5 00 08 12 9b 03
0x1a19 CallFuncaba98( 0x10, 0x0019, 0x000d, 0x0392 ); // 88 00 10 19 00 0d 00 92 03
0x1a22 CallFuncaba98( 0x11, 0x0019, 0x000d, 0x039b ); // 88 00 11 19 00 0d 00 9b 03
0x1a2b CallFuncaba98( 0x12, 0x0019, 0x000d, 0x0001 ); // 88 00 12 19 00 0d 00 01 00
0x1a34 CallDynamic8006794c_1c_83c( 0x1208, 0x0392, 0x00, 0x00, 0x00 ); // c5 00 08 12 92 03
0x1a3a CallDynamic8006794c_1c_83c( 0x1208, 0x039b, 0x00, 0x00, 0x00 ); // c5 00 08 12 9b 03
0x1a40 CallFuncaba98( 0x10, 0x0026, 0x0000, 0x0392 ); // 88 00 10 26 00 00 00 92 03
0x1a49 CallFuncaba98( 0x11, 0x0026, 0x0000, 0x039b ); // 88 00 11 26 00 00 00 9b 03
0x1a52 CallFuncaba98( 0x12, 0x0026, 0x0000, 0x0001 ); // 88 00 12 26 00 00 00 01 00
0x1a5b CallDynamic8006794c_1c_83c( 0x1208, 0x0392, 0x00, 0x00, 0x00 ); // c5 00 08 12 92 03
0x1a61 CallDynamic8006794c_1c_83c( 0x1208, 0x039b, 0x00, 0x00, 0x00 ); // c5 00 08 12 9b 03
0x1a67 CallFuncaba98( 0x10, 0x0026, 0x0008, 0x0392 ); // 88 00 10 26 00 08 00 92 03
0x1a70 CallFuncaba98( 0x11, 0x0026, 0x0008, 0x039b ); // 88 00 11 26 00 08 00 9b 03
0x1a79 CallFuncaba98( 0x12, 0x0026, 0x0008, 0x0001 ); // 88 00 12 26 00 08 00 01 00
0x1a82 Return(); // 04
SCRIPT: script_id = 0x01
script = w[8007aecc];
0x1a83 JumpSwitch( bu[ script + 0x0018 ] )( case 0x0000: jump_to:0x1aab)( case 0x0001: jump_to:0x1faa)( case 0x0002: jump_to:0x2072)( case 0x0003: jump_to:0x21c9)( case 0x0004: jump_to:0x2542)( case 0x0005: jump_to:0x27c1)( case 0x0006: jump_to:0x255b)( case 0x0007: jump_to:0x25a8)( case 0x0008: jump_to:0x25f0)( case 0x0009: jump_to:0x27c1)( case 0x000a: jump_to:0x2601)( case 0x000b: jump_to:0x267d)( case 0x000c: jump_to:0x2683)( case 0x000d: jump_to:0x272c)( case 0x000e: jump_to:0x277a)( default: jump_to:0x27c1); // 05 d5 18 7f 0b 0f 00 00 39 0d 23 00 22 05 ea 05 41 07 ba 0a 39 0d d3 0a 20 0b 68 0b 39 0d 79 0b f5 0b fb 0b a4 0c f2 0c
0x1aab SetEntityData5c( 0x0f ); // 26 00 0f
0x1aae Wait( 0x19 ); // 22 00 19
0x1ab1 0x1fSync( 0x02, 0x80, 0x0022 ); // 1f 00 02 80 22 00
0x1ab7 ResetEntityData30_50_63_78(); // 25
0x1ab8 MoveToPosition( x = 0x0019, y = 0xfd68 ); // 23 00 19 00 68 fd
0x1abe Wait( 0x05 ); // 22 00 05
0x1ac1 PlayEntityAnimation( animation_id = 0x0a9f ); // 40 00 9f 0a
0x1ac5 Wait( 0x0a ); // 22 00 0a
0x1ac8 0x1fSync( 0x02, 0x80, 0x0023 ); // 1f 00 02 80 23 00
0x1ace WaitUntilAnimationComplete(); // 41
0x1acf Wait( 0x0a ); // 22 00 0a
0x1ad2 PlayEntityAnimation( animation_id = 0x0a9d ); // 40 00 9d 0a
0x1ad6 Wait( 0x3d ); // 22 00 3d
0x1ad9 CallDynamic8006794c_1c_83c( 0xd000, 0x015d, 0x000000, 0x80, 0x7d ); // c8 00 00 d0 5d 01 00 00 00 80 7d
0x1ae4 WaitUntilAnimationComplete(); // 41
0x1ae5 SetEntityData54( animation_id = 0x0a9b ); // 33 00 9b 0a
0x1ae9 SetEntityData56( animation_id = 0x0a99 ); // 34 00 99 0a
0x1aed SetEntityData4c( animation_id = 0x0aa3 ); // 7a 00 a3 0a
0x1af1 SetEntityData4e( animation_id = 0x0aa5 ); // 7b 00 a5 0a
0x1af5 CallDynamic8006794c_1c_83c( 0x1208, 0x0392, 0x00, 0x00, 0x00 ); // c5 00 08 12 92 03
0x1afb CallDynamic8006794c_1c_83c( 0x1208, 0x039b, 0x00, 0x00, 0x00 ); // c5 00 08 12 9b 03
0x1b01 CallFuncaba98( 0x10, 0x0a99, 0x0004, 0x0392 ); // 88 00 10 99 0a 04 00 92 03
0x1b0a CallFuncaba98( 0x11, 0x0a99, 0x0004, 0x039b ); // 88 00 11 99 0a 04 00 9b 03
0x1b13 CallFuncaba98( 0x12, 0x0a99, 0x0004, 0x0001 ); // 88 00 12 99 0a 04 00 01 00
0x1b1c CallDynamic8006794c_1c_83c( 0x1208, 0x0392, 0x00, 0x00, 0x00 ); // c5 00 08 12 92 03
0x1b22 CallDynamic8006794c_1c_83c( 0x1208, 0x039b, 0x00, 0x00, 0x00 ); // c5 00 08 12 9b 03
0x1b28 CallFuncaba98( 0x10, 0x0a99, 0x000d, 0x0392 ); // 88 00 10 99 0a 0d 00 92 03
0x1b31 CallFuncaba98( 0x11, 0x0a99, 0x000d, 0x039b ); // 88 00 11 99 0a 0d 00 9b 03
0x1b3a CallFuncaba98( 0x12, 0x0a99, 0x000d, 0x0001 ); // 88 00 12 99 0a 0d 00 01 00
0x1b43 InitScriptEntity( entity_id = 0x01, shared_id = 0x00 ); // 07 01 00
0x1b46 0x7f(); // 7f
0x1b47 Wait( 0x01 ); // 22 00 01
0x1b4a 0x8f( entity_id = 0xff, bu[ script + 0x001f ], bu[ script + 0x0020 ], bu[ script + 0x0021 ] ); // 8f 0e ff d5 1f 7f d5 20 7f d5 21 7f
0x1b56 ( hu[ script + 0x0022 ] += 0x00000004 ); // 05 dd 22 7d 04 00 32 7f
0x1b5e JumpIf( ( bu[ script + 0x001f ] < 0x00000060 ) == false )To( 0x1b81 ); // 05 d5 1f 7d 60 00 18 7f 02 18 00
0x1b69 ( bu[ script + 0x001f ] += 0x00000002 ); // 05 d5 1f 7d 02 00 32 7f
0x1b71 ( bu[ script + 0x0020 ] += 0x00000002 ); // 05 d5 20 7d 02 00 32 7f
0x1b79 ( bu[ script + 0x0021 ] += 0x00000002 ); // 05 d5 21 7d 02 00 32 7f
0x1b81 JumpIf( ( hu[ script + 0x0024 ] < 0x00000080 ) == false )To( 0x1b94 ); // 05 dd 24 7d 80 00 18 7f 02 08 00
0x1b8c ( hu[ script + 0x0024 ] += 0x00000004 ); // 05 dd 24 7d 04 00 32 7f
0x1b94 JumpIf( ( hu[ script + 0x0022 ] < 0x00000080 ) == true )To( 0x1b47 ); // 05 dd 22 7d 80 00 18 7f 03 a8 ff
0x1b9f [ script + 0x0022 ] = h( 0x00000080 ); // 05 dd 22 7d 80 00 2c 7f
0x1ba7 0x8f( entity_id = 0xff, bu[ script + 0x001f ], bu[ script + 0x0020 ], bu[ script + 0x0021 ] ); // 8f 0e ff d5 1f 7f d5 20 7f d5 21 7f
0x1bb3 Wait( 0x01 ); // 22 00 01
0x1bb6 0x8f( entity_id = 0xff, bu[ script + 0x001f ], bu[ script + 0x0020 ], bu[ script + 0x0021 ] ); // 8f 0e ff d5 1f 7f d5 20 7f d5 21 7f
0x1bc2 [ 0x8007aef0 + 0x0015 ] = h( 0x00000001 ); // 05 dc 15 7d 01 00 2c 7f
0x1bca 0xb4( hu[ 0x8007aef0 + 0x0015 ] ); // b4 01 dc 15 7f
0x1bcf [ script + 0x0008 ] = h( [ script + 0x000a ] = h( [ script + 0x000c ] = h( [ script + 0x000e ] = h( 0x00000000 ) ) ) ); // 05 d9 08 d9 0a d9 0c d9 0e 7d 00 00 2c 2c 2c 2c 7f
0x1be0 [ script + 0x0008 ] = h( 0x00000000 ); // 05 d9 08 7d 00 00 2c 7f
0x1be8 JumpTo( 0x1c03 ); // 01 18 00
0x1beb JumpIf( CallFunc4b85c( h[ script + 0x0008 ] ) == false )To( 0x1bfe ); // 05 d9 08 6b 7f 02 0b 00
0x1bf3 ( h[ script + 0x000a ] |= ( 0x00000001 << h[ script + 0x0008 ] ) ); // 05 d9 0a 7d 01 00 d9 08 16 3f 7f
0x1bfe ( h[ script + 0x0008 ]++ ); // 05 d9 08 04 7f
0x1c03 JumpIf( ( h[ script + 0x0008 ] <= 0x0000000b ) == true )To( 0x1beb ); // 05 d9 08 7d 0b 00 1a 7f 03 dd ff
0x1c0e JumpIf( 0x00000001 == false )To( 0x1c1e ); // 05 7d 01 00 7f 02 08 00
0x1c16 ( h[ script + 0x000c ] |= 0x00000001 ); // 05 d9 0c 7d 01 00 3f 7f
0x1c1e JumpIf( 0x00000000 == false )To( 0x1c30 ); // 05 7d 00 00 7f 02 0a 00
0x1c26 ( h[ script + 0x000c ] |= 0x00000000 ); // 05 d9 0c 7e 00 00 00 80 3f 7f
0x1c30 JumpIf( 0x00000000 == false )To( 0x1c42 ); // 05 7d 00 00 7f 02 0a 00
0x1c38 ( h[ script + 0x000c ] |= 0x00000000 ); // 05 d9 0c 7e 00 00 00 80 3f 7f
0x1c42 JumpIf( 0x00000000 == false )To( 0x1c54 ); // 05 7d 00 00 7f 02 0a 00
0x1c4a ( h[ script + 0x000c ] |= 0x00000000 ); // 05 d9 0c 7e 00 00 00 80 3f 7f
0x1c54 [ script + 0x000e ] = h( ( h[ script + 0x000a ] XOR h[ script + 0x000c ] ) ); // 05 d9 0e d9 0a d9 0c 25 2c 7f
0x1c5e [ script + 0x0008 ] = h( 0x00000000 ); // 05 d9 08 7d 00 00 2c 7f
0x1c66 JumpTo( 0x1c81 ); // 01 18 00
0x1c69 JumpIf( ( ( h[ script + 0x000e ] >> h[ script + 0x0008 ] ) & 0x00000001 ) == false )To( 0x1c7c ); // 05 d9 0e d9 08 17 7d 01 00 24 7f 02 05 00
0x1c77 PartyRemove( character_id = h[ script + 0x0008 ] ); // dd 01 d9 08 7f
0x1c7c ( h[ script + 0x0008 ]++ ); // 05 d9 08 04 7f
0x1c81 JumpIf( ( h[ script + 0x0008 ] <= 0x0000000b ) == true )To( 0x1c69 ); // 05 d9 08 7d 0b 00 1a 7f 03 dd ff
0x1c8c JumpIf( ( CallFunc4b85c( 0x00000000 ) == 0x00000000 ) == false )To( 0x1ca2 ); // 05 7d 00 00 6b 7d 00 00 20 7f 02 09 00
0x1c99 [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x08 ); // 05 c5 93 7d 00 00 6d 2c 7f
0x1ca2 JumpIf( ( CallFunc4b85c( 0x0000ffff ) == 0x00000000 ) == false )To( 0x1cb8 ); // 05 7d ff ff 6b 7d 00 00 20 7f 02 09 00
0x1caf [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x08 ); // 05 c5 93 7d ff ff 6d 2c 7f
0x1cb8 JumpIf( ( CallFunc4b85c( 0x0000ffff ) == 0x00000000 ) == false )To( 0x1cce ); // 05 7d ff ff 6b 7d 00 00 20 7f 02 09 00
0x1cc5 [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x08 ); // 05 c5 93 7d ff ff 6d 2c 7f
0x1cce JumpIf( ( CallFunc4b85c( 0x0000ffff ) == 0x00000000 ) == false )To( 0x1ce4 ); // 05 7d ff ff 6b 7d 00 00 20 7f 02 09 00
0x1cdb [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x08 ); // 05 c5 93 7d ff ff 6d 2c 7f
0x1ce4 [ 0x8007aef0 + 0x002f ] = b( 0x00000000 ); // 05 f4 2f 01 7d 00 00 2c 7f
0x1ced [ script + 0x0008 ] = h( [ script + 0x000a ] = h( [ script + 0x000c ] = h( [ script + 0x000e ] = h( 0x00000063 ) ) ) ); // 05 d9 08 d9 0a d9 0c d9 0e 7d 63 00 2c 2c 2c 2c 7f
0x1cfe JumpIf( 0x00000001 == false )To( 0x1d14 ); // 05 7d 01 00 7f 02 0e 00
0x1d06 ( bu[ 0x8007aef0 + 0x002f ]++ ); // 05 f4 2f 01 04 7f
0x1d0c [ script + 0x0008 ] = h( 0x00000000 ); // 05 d9 08 7d 00 00 2c 7f
0x1d14 JumpIf( 0x00000000 == false )To( 0x1d2a ); // 05 7d 00 00 7f 02 0e 00
0x1d1c ( bu[ 0x8007aef0 + 0x002f ]++ ); // 05 f4 2f 01 04 7f
0x1d22 [ script + 0x000a ] = h( 0x0000ffff ); // 05 d9 0a 7d ff ff 2c 7f
0x1d2a JumpIf( 0x00000000 == false )To( 0x1d40 ); // 05 7d 00 00 7f 02 0e 00
0x1d32 ( bu[ 0x8007aef0 + 0x002f ]++ ); // 05 f4 2f 01 04 7f
0x1d38 [ script + 0x000c ] = h( 0x0000ffff ); // 05 d9 0c 7d ff ff 2c 7f
0x1d40 JumpIf( 0x00000000 == false )To( 0x1d56 ); // 05 7d 00 00 7f 02 0e 00
0x1d48 ( bu[ 0x8007aef0 + 0x002f ]++ ); // 05 f4 2f 01 04 7f
0x1d4e [ script + 0x000e ] = h( 0x0000ffff ); // 05 d9 0e 7d ff ff 2c 7f
0x1d56 [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x10 ); // 05 c5 94 c5 95 c5 96 c5 97 7d 00 00 2c 2c 2c 2c 7f
0x1d67 JumpIf( ( h[ script + 0x0008 ] != 0x00000063 ) == false )To( 0x1d86 ); // 05 d9 08 7d 63 00 21 7f 02 14 00
0x1d72 JumpIf( ( GetCurrentHpForCharacter( h[ script + 0x0008 ] ) == 0x00000000 ) == false )To( 0x1d86 ); // 05 d9 08 52 7d 00 00 20 7f 02 08 00
0x1d7e [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x10 ); // 05 c5 94 7d 01 00 2c 7f
0x1d86 JumpIf( ( h[ script + 0x000a ] != 0x00000063 ) == false )To( 0x1da5 ); // 05 d9 0a 7d 63 00 21 7f 02 14 00
0x1d91 JumpIf( ( GetCurrentHpForCharacter( h[ script + 0x000a ] ) == 0x00000000 ) == false )To( 0x1da5 ); // 05 d9 0a 52 7d 00 00 20 7f 02 08 00
0x1d9d [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x20 ); // 05 c5 95 7d 01 00 2c 7f
0x1da5 JumpIf( ( h[ script + 0x000c ] != 0x00000063 ) == false )To( 0x1dc4 ); // 05 d9 0c 7d 63 00 21 7f 02 14 00
0x1db0 JumpIf( ( GetCurrentHpForCharacter( h[ script + 0x000c ] ) == 0x00000000 ) == false )To( 0x1dc4 ); // 05 d9 0c 52 7d 00 00 20 7f 02 08 00
0x1dbc [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x40 ); // 05 c5 96 7d 01 00 2c 7f
0x1dc4 JumpIf( ( h[ script + 0x000e ] != 0x00000063 ) == false )To( 0x1de3 ); // 05 d9 0e 7d 63 00 21 7f 02 14 00
0x1dcf JumpIf( ( GetCurrentHpForCharacter( h[ script + 0x000e ] ) == 0x00000000 ) == false )To( 0x1de3 ); // 05 d9 0e 52 7d 00 00 20 7f 02 08 00
0x1ddb [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x80 ); // 05 c5 97 7d 01 00 2c 7f
0x1de3 JumpIf( ( ( (bu[ script + 0x0012 ] >> 0x07) & 1 + ( (bu[ script + 0x0012 ] >> 0x06) & 1 + ( (bu[ script + 0x0012 ] >> 0x05) & 1 + (bu[ script + 0x0012 ] >> 0x04) & 1 ) ) ) == bu[ 0x8007aef0 + 0x002f ] ) == false )To( 0x1e5b ); // 05 c5 94 c5 95 14 c5 96 14 c5 97 14 f4 2f 01 20 7f 02 64 00
0x1df7 JumpIf( ( ( h[ script + 0x0008 ] != 0x00000063 ) && ( (bu[ script + 0x0012 ] >> 0x04) & 1 == 0x00000001 ) ) == false )To( 0x1e10 ); // 05 d9 08 7d 63 00 21 c5 94 7d 01 00 20 27 7f 02 07 00
0x1e09 CharacterSetHP( character_id = h[ script + 0x0008 ], hp = 0x0001 ); // f1 01 d9 08 7f 01 00
0x1e10 JumpIf( ( ( h[ script + 0x000a ] != 0x00000063 ) && ( (bu[ script + 0x0012 ] >> 0x05) & 1 == 0x00000001 ) ) == false )To( 0x1e29 ); // 05 d9 0a 7d 63 00 21 c5 95 7d 01 00 20 27 7f 02 07 00
0x1e22 CharacterSetHP( character_id = h[ script + 0x000a ], hp = 0x0001 ); // f1 01 d9 0a 7f 01 00
0x1e29 JumpIf( ( ( h[ script + 0x000c ] != 0x00000063 ) && ( (bu[ script + 0x0012 ] >> 0x06) & 1 == 0x00000001 ) ) == false )To( 0x1e42 ); // 05 d9 0c 7d 63 00 21 c5 96 7d 01 00 20 27 7f 02 07 00
0x1e3b CharacterSetHP( character_id = h[ script + 0x000c ], hp = 0x0001 ); // f1 01 d9 0c 7f 01 00
0x1e42 JumpIf( ( ( h[ script + 0x000e ] != 0x00000063 ) && ( (bu[ script + 0x0012 ] >> 0x07) & 1 == 0x00000001 ) ) == false )To( 0x1e5b ); // 05 d9 0e 7d 63 00 21 c5 97 7d 01 00 20 27 7f 02 07 00
0x1e54 CharacterSetHP( character_id = h[ script + 0x000e ], hp = 0x0001 ); // f1 01 d9 0e 7f 01 00
0x1e5b CharacterRemoveStatuses( character_id = 0x00, status_mask = 0x7f ); // d9 00 00 7f
0x1e5f CharacterRemoveStatuses( character_id = 0x01, status_mask = 0x7f ); // d9 00 01 7f
0x1e63 CharacterRemoveStatuses( character_id = 0x03, status_mask = 0x7f ); // d9 00 03 7f
0x1e67 CharacterRemoveStatuses( character_id = 0x02, status_mask = 0x7f ); // d9 00 02 7f
0x1e6b CharacterRemoveStatuses( character_id = 0x04, status_mask = 0x7f ); // d9 00 04 7f
0x1e6f CharacterRemoveStatuses( character_id = 0x05, status_mask = 0x7f ); // d9 00 05 7f
0x1e73 CharacterRemoveStatuses( character_id = 0x07, status_mask = 0x7f ); // d9 00 07 7f
0x1e77 CharacterRemoveStatuses( character_id = 0x06, status_mask = 0x7f ); // d9 00 06 7f
0x1e7b CharacterRemoveStatuses( character_id = 0x08, status_mask = 0x7f ); // d9 00 08 7f
0x1e7f JumpIf( CallFunc4b85c( 0x00000005 ) == false )To( 0x1e93 ); // 05 7d 05 00 6b 7f 02 0b 00
0x1e88 [ 0x8007aef0 + 0x0004 ] = b( 0x00000001 ); // 05 d4 04 7d 01 00 2c 7f
0x1e90 JumpTo( 0x1e9b ); // 01 08 00
0x1e93 [ 0x8007aef0 + 0x0004 ] = b( 0x00000000 ); // 05 d4 04 7d 00 00 2c 7f
0x1e9b JumpIf( ( ( ( hu[ 0x8007aef0 + 0x0013 ] >> 0x00000000 ) & 0x00000001 ) == 0x00000000 ) == false )To( 0x1ec1 ); // 05 dc 13 7d 00 00 17 7d 01 00 24 7d 00 00 20 7f 02 13 00
0x1eae CharacterInit( character_id = 0x00, type = 0x01, preset_id = 0x00, 0x09, 0x00 ); // fe 00 00 01 00 09 00
0x1eb5 ( hu[ 0x8007aef0 + 0x0013 ] |= 0x00000001 ); // 05 dc 13 7d 01 00 3f 7f
0x1ebd CharacterSet34Flag00000200( character_id = 0x00, 0x01 ); // 62 00 00 01
0x1ec1 JumpIf( ( ( ( hu[ 0x8007aef0 + 0x0013 ] >> 0x00000002 ) & 0x00000001 ) == 0x00000000 ) == false )To( 0x1ee7 ); // 05 dc 13 7d 02 00 17 7d 01 00 24 7d 00 00 20 7f 02 13 00
0x1ed4 CharacterInit( character_id = 0x02, type = 0x01, preset_id = 0x02, 0x06, 0x02 ); // fe 00 02 01 02 06 02
0x1edb ( hu[ 0x8007aef0 + 0x0013 ] |= 0x00000004 ); // 05 dc 13 7d 04 00 3f 7f
0x1ee3 CharacterSet34Flag00000200( character_id = 0x02, 0x00 ); // 62 00 02 00
0x1ee7 CharacterSetHP( character_id = 0x00, hp = 0x270f ); // f1 00 00 0f 27
0x1eec CharacterSetMP( character_id = 0x00, mp = 0x03e7 ); // f2 00 00 e7 03
0x1ef1 CharacterRemoveStatuses( character_id = 0x00, status_mask = 0x7f ); // d9 00 00 7f
0x1ef5 CharacterSetName( character_id = 0x00, string_id = 0x0013 ); // de 00 00 13 00
0x1efa [ 0x8007aef0 + 0x0004 ] = b( 0x00000000 ); // 05 d4 04 7d 00 00 2c 7f
0x1f02 [ 0x8007aef0 + 0x0011 ] = b( 0x00000000 ); // 05 d4 11 7d 00 00 2c 7f
0x1f0a [ 0x8007aef0 + 0x0012 ] = b( 0x00000001 ); // 05 d4 12 7d 01 00 2c 7f
0x1f12 JumpIf( ( hu[ 0x8007aef0 + 0x0000 ] > 0x000003e8 ) == false )To( 0x1f64 ); // 05 dc 00 7d e8 03 19 7f 02 47 00
0x1f1d Wait( 0x0a ); // 22 00 0a
0x1f20 Set8007bba8( 0x00, hu[ 0x8007aef0 + 0x0000 ] ); // 66 02 00 dc 00 7f
0x1f26 Set8007bba8( 0x01, 0x03e8 ); // 66 00 01 e8 03
0x1f2b Set8007bba8( 0x02, b[ 0x8007aef0 + 0x001c ] ); // 66 02 02 d0 1c 7f
0x1f31 0x20Async( 0x06, 0x00, 0x0002 ); // 20 00 06 00 02 00
0x1f37 0x8e(); // 8e
0x1f38 JumpTo( 0x1f3e ); // 01 03 00
0x1f3b Wait( 0x01 ); // 22 00 01
0x1f3e JumpIf( ( ( IsButtonPressed( 0x00000001 ) || IsButtonPressed( 0x00000008 ) ) == false ) == true )To( 0x1f3b ); // 05 7d 01 00 4f 7d 08 00 4f 28 0e 7f 03 ee ff
0x1f4d JumpIf( IsButtonPressed( 0x00000008 ) == false )To( 0x1f5e ); // 05 7d 08 00 4f 7f 02 08 00
0x1f56 [ 0x8007aef0 + 0x0000 ] = h( 0x000003e8 ); // 05 dc 00 7d e8 03 2c 7f
0x1f5e 0x21( 0x06 ); // 21 00 06
0x1f61 JumpTo( 0x1f6c ); // 01 08 00
0x1f64 [ 0x8007aef0 + 0x0000 ] = h( 0x000003e8 ); // 05 dc 00 7d e8 03 2c 7f
0x1f6c CallFuncc778c( 0x0029, 0x00 ); // 9a 00 29 00 00
0x1f71 [ script + 0x0013 ] = b( b[ script + 0x0013 ] | 0x40 ); // 05 c5 9e 7d 01 00 2c 7f
0x1f79 JumpIf( ( (bu[ script + 0x0013 ] >> 0x07) & 1 == 0x00000001 ) == false )To( 0x1f9f ); // 05 c5 9f 7d 01 00 20 7f 02 1b 00
0x1f84 JumpIf( ( (bu[ script + 0x0013 ] >> 0x04) & 1 == 0x00000000 ) == false )To( 0x1f9f ); // 05 c5 9c 7d 00 00 20 7f 02 10 00
0x1f8f 0x2e(); // 2e
0x1f90 Set800c9df1( 0xff ); // 27 00 ff
0x1f93 JumpIf( ( (bu[ script + 0x0012 ] >> 0x00) & 1 == 0x00000000 ) == false )To( 0x1f9f ); // 05 c5 90 7d 00 00 20 7f 02 01 00
0x1f9e [80073998] = w(w[80073998] & fffbffff); // aa
0x1f9f [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x80 ); // 05 c5 e7 7d 01 00 2c 7f
0x1fa7 JumpTo( 0x27c1 ); // 01 17 08
0x1faa CallFuncc47e4( 0x01, 0x00 ); // cb 00 01 00
0x1fae JumpIf( ( ( IsButtonPressed( 0x00020000 ) || IsButtonPressed( 0x00080000 ) ) && ( bu[ script + 0x0026 ] == 0x00000001 ) ) == false )To( 0x2067 ); // 05 7e 00 00 02 00 4f 7e 00 00 08 00 4f 28 d5 26 7d 01 00 20 27 7f 02 a0 00
0x1fc7 [ script + 0x0013 ] = b( b[ script + 0x0013 ] & 0xbf ); // 05 c5 9e 7d 00 00 2c 7f
0x1fcf JumpIf( ( (bu[ script + 0x0013 ] >> 0x07) & 1 == 0x00000001 ) == false )To( 0x1fed ); // 05 c5 9f 7d 01 00 20 7f 02 13 00
0x1fda 0x2d(); // 2d
0x1fdb JumpIf( ( (bu[ script + 0x0012 ] >> 0x00) & 1 == 0x00000000 ) == false )To( 0x1fea ); // 05 c5 90 7d 00 00 20 7f 02 04 00
0x1fe6 [80073998] = w(w[80073998] | 00040000); // ab
0x1fe7 JumpTo( 0x1fed ); // 01 03 00
0x1fea Wait( 0x01 ); // 22 00 01
0x1fed Set800c9df1( 0x7f ); // 27 00 7f
0x1ff0 [ script + 0x002a ] = b( 0x00000003 ); // 05 d5 2a 7d 03 00 2c 7f
0x1ff8 0x21( 0x01 ); // 21 00 01
0x1ffb SetEntityRotateToRotation( rotation = GetCurrentEntityRotationTo( 0x00000000, 0x0000015e ), steps = 0x10 ); // 56 01 7d 00 00 7d 5e 01 5d 7f 10
0x2006 WaitUntilRotationComplete(); // 50
0x2007 0x1fSync( 0x02, 0x80, 0x0024 ); // 1f 00 02 80 24 00
0x200d JumpIf( ( Func4ecc4() == 0x00000001 ) == false )To( 0x205c ); // 05 7a 09 7d 01 00 20 7f 02 44 00
0x2018 [ script + 0x0013 ] = b( b[ script + 0x0013 ] | 0x40 ); // 05 c5 9e 7d 01 00 2c 7f
0x2020 JumpIf( ( (bu[ script + 0x0013 ] >> 0x07) & 1 == 0x00000001 ) == false )To( 0x2046 ); // 05 c5 9f 7d 01 00 20 7f 02 1b 00
0x202b JumpIf( ( (bu[ script + 0x0013 ] >> 0x04) & 1 == 0x00000000 ) == false )To( 0x2046 ); // 05 c5 9c 7d 00 00 20 7f 02 10 00
0x2036 0x2e(); // 2e
0x2037 Set800c9df1( 0xff ); // 27 00 ff
0x203a JumpIf( ( (bu[ script + 0x0012 ] >> 0x00) & 1 == 0x00000000 ) == false )To( 0x2046 ); // 05 c5 90 7d 00 00 20 7f 02 01 00
0x2045 [80073998] = w(w[80073998] & fffbffff); // aa
0x2046 [ script + 0x0028 ] = h( ( 0x00000002 / h[ script + 0x0028 ] ) ); // 05 d9 28 d9 28 7d 02 00 12 2c 7f
0x2051 [ script + 0x002a ] = b( 0x00000000 ); // 05 d5 2a 7d 00 00 2c 7f
0x2059 JumpTo( 0x27c1 ); // 01 65 07
0x205c [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x80 ); // 05 c5 e7 7d 01 00 2c 7f
0x2064 JumpTo( 0x27c1 ); // 01 5a 07
0x2067 [ script + 0x0026 ] = b( 0x00000000 ); // 05 d5 26 7d 00 00 2c 7f
0x206f JumpTo( 0x27c1 ); // 01 4f 07
0x2072 CallFuncc47e4( 0x01, 0x01 ); // cb 00 01 01
0x2076 PlayEntityAnimation( animation_id = 0x0aa1 ); // 40 00 a1 0a
0x207a SetEntityData54( animation_id = 0x0144 ); // 33 00 44 01
0x207e SetEntityData56( animation_id = 0x0019 ); // 34 00 19 00
0x2082 SetEntityData4c( animation_id = 0x0028 ); // 7a 00 28 00
0x2086 SetEntityData4e( animation_id = 0x0029 ); // 7b 00 29 00
0x208a CallDynamic8006794c_1c_83c( 0x1208, 0x0392, 0x00, 0x00, 0x00 ); // c5 00 08 12 92 03
0x2090 CallDynamic8006794c_1c_83c( 0x1208, 0x039b, 0x00, 0x00, 0x00 ); // c5 00 08 12 9b 03
0x2096 CallFuncaba98( 0x10, 0x0a99, 0x0004, 0x0392 ); // 88 00 10 99 0a 04 00 92 03
0x209f CallFuncaba98( 0x11, 0x0a99, 0x0004, 0x039b ); // 88 00 11 99 0a 04 00 9b 03
0x20a8 CallFuncaba98( 0x12, 0x0a99, 0x0004, 0x0001 ); // 88 00 12 99 0a 04 00 01 00
0x20b1 CallDynamic8006794c_1c_83c( 0x1208, 0x0392, 0x00, 0x00, 0x00 ); // c5 00 08 12 92 03
0x20b7 CallDynamic8006794c_1c_83c( 0x1208, 0x039b, 0x00, 0x00, 0x00 ); // c5 00 08 12 9b 03
0x20bd CallFuncaba98( 0x10, 0x0a99, 0x000d, 0x0392 ); // 88 00 10 99 0a 0d 00 92 03
0x20c6 CallFuncaba98( 0x11, 0x0a99, 0x000d, 0x039b ); // 88 00 11 99 0a 0d 00 9b 03
0x20cf CallFuncaba98( 0x12, 0x0a99, 0x000d, 0x0001 ); // 88 00 12 99 0a 0d 00 01 00
0x20d8 Wait( 0x19 ); // 22 00 19
0x20db [ script + 0x001e ] = b( 0x00000001 ); // 05 d5 1e 7d 01 00 2c 7f
0x20e3 CallFuncafac0( 0x01, 0x82, 0x002a, 0x0000, 0x0000 ); // b3 00 01 82 2a 00 00 00 00 00
0x20ed CallFuncafac0( 0x01, 0x87, 0xfff4, 0xfe43, 0x00b4 ); // b3 00 01 87 f4 ff 43 fe b4 00
0x20f7 CallFuncafac0( 0x01, 0x8c, 0x0000, 0x0000, 0x0000 ); // b3 00 01 8c 00 00 00 00 00 00
0x2101 CallFuncafac0( 0x01, 0x91, 0x03a8, 0x0000, 0x0000 ); // b3 00 01 91 a8 03 00 00 00 00
0x210b CallFuncafac0( 0x01, 0x9b, 0x0080, 0x0000, 0x0000 ); // b3 00 01 9b 80 00 00 00 00 00
0x2115 CallFuncafac0( 0x01, 0xa0, 0x0010, 0x0000, 0x0000 ); // b3 00 01 a0 10 00 00 00 00 00
0x211f CallFuncafac0( 0x01, 0xaa, 0x0000, 0x0000, 0x0000 ); // b3 00 01 aa 00 00 00 00 00 00
0x2129 CallFuncafac0( 0x01, 0x9c, 0x0001, 0x0000, 0x0000 ); // b3 00 01 9c 01 00 00 00 00 00
0x2133 Wait( 0x05 ); // 22 00 05
0x2136 CallFuncafac0( 0x00, 0x82, 0xffff, 0x0000, 0x0000 ); // b3 00 00 82 ff ff 00 00 00 00
0x2140 MoveScriptToEnd( entity_id = 0x01 ); // 1c 00 01
0x2143 WaitUntilAnimationComplete(); // 41
0x2144 Wait( 0x01 ); // 22 00 01
0x2147 0x8f( entity_id = 0xff, bu[ script + 0x001f ], bu[ script + 0x0020 ], bu[ script + 0x0021 ] ); // 8f 0e ff d5 1f 7f d5 20 7f d5 21 7f
0x2153 JumpIf( ( bu[ script + 0x001f ] < 0x00000068 ) == false )To( 0x2176 ); // 05 d5 1f 7d 68 00 18 7f 02 18 00
0x215e ( bu[ script + 0x001f ] += 0x00000004 ); // 05 d5 1f 7d 04 00 32 7f
0x2166 ( bu[ script + 0x0020 ] += 0x00000004 ); // 05 d5 20 7d 04 00 32 7f
0x216e ( bu[ script + 0x0021 ] += 0x00000004 ); // 05 d5 21 7d 04 00 32 7f
0x2176 ( hu[ script + 0x0024 ] -= 0x00000008 ); // 05 dd 24 7d 08 00 33 7f
0x217e JumpIf( ( hu[ script + 0x0024 ] > 0x00000000 ) == true )To( 0x2144 ); // 05 dd 24 7d 00 00 19 7f 03 bb ff
0x2189 [ script + 0x0024 ] = h( 0x00000000 ); // 05 dd 24 7d 00 00 2c 7f
0x2191 CallFuncc142c( 0x11, 0x00 ); // 5b 00 11 00
0x2195 0x8f( entity_id = 0xff, bu[ script + 0x001f ], bu[ script + 0x0020 ], bu[ script + 0x0021 ] ); // 8f 0e ff d5 1f 7f d5 20 7f d5 21 7f
0x21a1 Wait( 0x01 ); // 22 00 01
0x21a4 0x8f( entity_id = 0xff, bu[ script + 0x001f ], bu[ script + 0x0020 ], bu[ script + 0x0021 ] ); // 8f 0e ff d5 1f 7f d5 20 7f d5 21 7f
0x21b0 Wait( 0x0a ); // 22 00 0a
0x21b3 CallFuncc0df4( 0x012c, 0x0096, 0x08, 0x08 ); // 6f 00 2c 01 96 00 08 08
0x21bb Wait( 0x08 ); // 22 00 08
0x21be [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x80 ); // 05 c5 e7 7d 01 00 2c 7f
0x21c6 JumpTo( 0x27c1 ); // 01 f8 05
0x21c9 [ script + 0x001a ] = b( 0x00000002 ); // 05 d5 1a 7d 02 00 2c 7f
0x21d1 Wait( 0x01 ); // 22 00 01
0x21d4 Wait( 0x05 ); // 22 00 05
0x21d7 SetEntityRotateToEntity( entity_id = 0x16, steps = 0x10 ); // 51 00 16 10
0x21db WaitUntilRotationComplete(); // 50
0x21dc Wait( 0x01 ); // 22 00 01
0x21df [ 0x8007aef0 + 0x0015 ] = h( 0x00000001 ); // 05 dc 15 7d 01 00 2c 7f
0x21e7 0xb4( hu[ 0x8007aef0 + 0x0015 ] ); // b4 01 dc 15 7f
0x21ec [ script + 0x0008 ] = h( [ script + 0x000a ] = h( [ script + 0x000c ] = h( [ script + 0x000e ] = h( 0x00000000 ) ) ) ); // 05 d9 08 d9 0a d9 0c d9 0e 7d 00 00 2c 2c 2c 2c 7f
0x21fd [ script + 0x0008 ] = h( 0x00000000 ); // 05 d9 08 7d 00 00 2c 7f
0x2205 JumpTo( 0x2220 ); // 01 18 00
0x2208 JumpIf( CallFunc4b85c( h[ script + 0x0008 ] ) == false )To( 0x221b ); // 05 d9 08 6b 7f 02 0b 00
0x2210 ( h[ script + 0x000a ] |= ( 0x00000001 << h[ script + 0x0008 ] ) ); // 05 d9 0a 7d 01 00 d9 08 16 3f 7f
0x221b ( h[ script + 0x0008 ]++ ); // 05 d9 08 04 7f
0x2220 JumpIf( ( h[ script + 0x0008 ] <= 0x0000000b ) == true )To( 0x2208 ); // 05 d9 08 7d 0b 00 1a 7f 03 dd ff
0x222b JumpIf( 0x00000001 == false )To( 0x223b ); // 05 7d 01 00 7f 02 08 00
0x2233 ( h[ script + 0x000c ] |= 0x00000001 ); // 05 d9 0c 7d 01 00 3f 7f
0x223b JumpIf( 0x00000000 == false )To( 0x224d ); // 05 7d 00 00 7f 02 0a 00
0x2243 ( h[ script + 0x000c ] |= 0x00000000 ); // 05 d9 0c 7e 00 00 00 80 3f 7f
0x224d JumpIf( 0x00000000 == false )To( 0x225f ); // 05 7d 00 00 7f 02 0a 00
0x2255 ( h[ script + 0x000c ] |= 0x00000000 ); // 05 d9 0c 7e 00 00 00 80 3f 7f
0x225f JumpIf( 0x00000000 == false )To( 0x2271 ); // 05 7d 00 00 7f 02 0a 00
0x2267 ( h[ script + 0x000c ] |= 0x00000000 ); // 05 d9 0c 7e 00 00 00 80 3f 7f
0x2271 [ script + 0x000e ] = h( ( h[ script + 0x000a ] XOR h[ script + 0x000c ] ) ); // 05 d9 0e d9 0a d9 0c 25 2c 7f
0x227b [ script + 0x0008 ] = h( 0x00000000 ); // 05 d9 08 7d 00 00 2c 7f
0x2283 JumpTo( 0x229e ); // 01 18 00
0x2286 JumpIf( ( ( h[ script + 0x000e ] >> h[ script + 0x0008 ] ) & 0x00000001 ) == false )To( 0x2299 ); // 05 d9 0e d9 08 17 7d 01 00 24 7f 02 05 00
0x2294 PartyRemove( character_id = h[ script + 0x0008 ] ); // dd 01 d9 08 7f
0x2299 ( h[ script + 0x0008 ]++ ); // 05 d9 08 04 7f
0x229e JumpIf( ( h[ script + 0x0008 ] <= 0x0000000b ) == true )To( 0x2286 ); // 05 d9 08 7d 0b 00 1a 7f 03 dd ff
0x22a9 JumpIf( ( CallFunc4b85c( 0x00000000 ) == 0x00000000 ) == false )To( 0x22bf ); // 05 7d 00 00 6b 7d 00 00 20 7f 02 09 00
0x22b6 [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x08 ); // 05 c5 93 7d 00 00 6d 2c 7f
0x22bf JumpIf( ( CallFunc4b85c( 0x0000ffff ) == 0x00000000 ) == false )To( 0x22d5 ); // 05 7d ff ff 6b 7d 00 00 20 7f 02 09 00
0x22cc [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x08 ); // 05 c5 93 7d ff ff 6d 2c 7f
0x22d5 JumpIf( ( CallFunc4b85c( 0x0000ffff ) == 0x00000000 ) == false )To( 0x22eb ); // 05 7d ff ff 6b 7d 00 00 20 7f 02 09 00
0x22e2 [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x08 ); // 05 c5 93 7d ff ff 6d 2c 7f
0x22eb JumpIf( ( CallFunc4b85c( 0x0000ffff ) == 0x00000000 ) == false )To( 0x2301 ); // 05 7d ff ff 6b 7d 00 00 20 7f 02 09 00
0x22f8 [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x08 ); // 05 c5 93 7d ff ff 6d 2c 7f
0x2301 [ 0x8007aef0 + 0x002f ] = b( 0x00000000 ); // 05 f4 2f 01 7d 00 00 2c 7f
0x230a [ script + 0x0008 ] = h( [ script + 0x000a ] = h( [ script + 0x000c ] = h( [ script + 0x000e ] = h( 0x00000063 ) ) ) ); // 05 d9 08 d9 0a d9 0c d9 0e 7d 63 00 2c 2c 2c 2c 7f
0x231b JumpIf( 0x00000001 == false )To( 0x2331 ); // 05 7d 01 00 7f 02 0e 00
0x2323 ( bu[ 0x8007aef0 + 0x002f ]++ ); // 05 f4 2f 01 04 7f
0x2329 [ script + 0x0008 ] = h( 0x00000000 ); // 05 d9 08 7d 00 00 2c 7f
0x2331 JumpIf( 0x00000000 == false )To( 0x2347 ); // 05 7d 00 00 7f 02 0e 00
0x2339 ( bu[ 0x8007aef0 + 0x002f ]++ ); // 05 f4 2f 01 04 7f
0x233f [ script + 0x000a ] = h( 0x0000ffff ); // 05 d9 0a 7d ff ff 2c 7f
0x2347 JumpIf( 0x00000000 == false )To( 0x235d ); // 05 7d 00 00 7f 02 0e 00
0x234f ( bu[ 0x8007aef0 + 0x002f ]++ ); // 05 f4 2f 01 04 7f
0x2355 [ script + 0x000c ] = h( 0x0000ffff ); // 05 d9 0c 7d ff ff 2c 7f
0x235d JumpIf( 0x00000000 == false )To( 0x2373 ); // 05 7d 00 00 7f 02 0e 00
0x2365 ( bu[ 0x8007aef0 + 0x002f ]++ ); // 05 f4 2f 01 04 7f
0x236b [ script + 0x000e ] = h( 0x0000ffff ); // 05 d9 0e 7d ff ff 2c 7f
0x2373 [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x10 ); // 05 c5 94 c5 95 c5 96 c5 97 7d 00 00 2c 2c 2c 2c 7f
0x2384 JumpIf( ( h[ script + 0x0008 ] != 0x00000063 ) == false )To( 0x23a3 ); // 05 d9 08 7d 63 00 21 7f 02 14 00
0x238f JumpIf( ( GetCurrentHpForCharacter( h[ script + 0x0008 ] ) == 0x00000000 ) == false )To( 0x23a3 ); // 05 d9 08 52 7d 00 00 20 7f 02 08 00
0x239b [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x10 ); // 05 c5 94 7d 01 00 2c 7f
0x23a3 JumpIf( ( h[ script + 0x000a ] != 0x00000063 ) == false )To( 0x23c2 ); // 05 d9 0a 7d 63 00 21 7f 02 14 00
0x23ae JumpIf( ( GetCurrentHpForCharacter( h[ script + 0x000a ] ) == 0x00000000 ) == false )To( 0x23c2 ); // 05 d9 0a 52 7d 00 00 20 7f 02 08 00
0x23ba [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x20 ); // 05 c5 95 7d 01 00 2c 7f
0x23c2 JumpIf( ( h[ script + 0x000c ] != 0x00000063 ) == false )To( 0x23e1 ); // 05 d9 0c 7d 63 00 21 7f 02 14 00
0x23cd JumpIf( ( GetCurrentHpForCharacter( h[ script + 0x000c ] ) == 0x00000000 ) == false )To( 0x23e1 ); // 05 d9 0c 52 7d 00 00 20 7f 02 08 00
0x23d9 [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x40 ); // 05 c5 96 7d 01 00 2c 7f
0x23e1 JumpIf( ( h[ script + 0x000e ] != 0x00000063 ) == false )To( 0x2400 ); // 05 d9 0e 7d 63 00 21 7f 02 14 00
0x23ec JumpIf( ( GetCurrentHpForCharacter( h[ script + 0x000e ] ) == 0x00000000 ) == false )To( 0x2400 ); // 05 d9 0e 52 7d 00 00 20 7f 02 08 00
0x23f8 [ script + 0x0012 ] = b( b[ script + 0x0012 ] | 0x80 ); // 05 c5 97 7d 01 00 2c 7f
0x2400 JumpIf( ( ( (bu[ script + 0x0012 ] >> 0x07) & 1 + ( (bu[ script + 0x0012 ] >> 0x06) & 1 + ( (bu[ script + 0x0012 ] >> 0x05) & 1 + (bu[ script + 0x0012 ] >> 0x04) & 1 ) ) ) == bu[ 0x8007aef0 + 0x002f ] ) == false )To( 0x2478 ); // 05 c5 94 c5 95 14 c5 96 14 c5 97 14 f4 2f 01 20 7f 02 64 00
0x2414 JumpIf( ( ( h[ script + 0x0008 ] != 0x00000063 ) && ( (bu[ script + 0x0012 ] >> 0x04) & 1 == 0x00000001 ) ) == false )To( 0x242d ); // 05 d9 08 7d 63 00 21 c5 94 7d 01 00 20 27 7f 02 07 00
0x2426 CharacterSetHP( character_id = h[ script + 0x0008 ], hp = 0x0001 ); // f1 01 d9 08 7f 01 00
0x242d JumpIf( ( ( h[ script + 0x000a ] != 0x00000063 ) && ( (bu[ script + 0x0012 ] >> 0x05) & 1 == 0x00000001 ) ) == false )To( 0x2446 ); // 05 d9 0a 7d 63 00 21 c5 95 7d 01 00 20 27 7f 02 07 00
0x243f CharacterSetHP( character_id = h[ script + 0x000a ], hp = 0x0001 ); // f1 01 d9 0a 7f 01 00
0x2446 JumpIf( ( ( h[ script + 0x000c ] != 0x00000063 ) && ( (bu[ script + 0x0012 ] >> 0x06) & 1 == 0x00000001 ) ) == false )To( 0x245f ); // 05 d9 0c 7d 63 00 21 c5 96 7d 01 00 20 27 7f 02 07 00
0x2458 CharacterSetHP( character_id = h[ script + 0x000c ], hp = 0x0001 ); // f1 01 d9 0c 7f 01 00
0x245f JumpIf( ( ( h[ script + 0x000e ] != 0x00000063 ) && ( (bu[ script + 0x0012 ] >> 0x07) & 1 == 0x00000001 ) ) == false )To( 0x2478 ); // 05 d9 0e 7d 63 00 21 c5 97 7d 01 00 20 27 7f 02 07 00
0x2471 CharacterSetHP( character_id = h[ script + 0x000e ], hp = 0x0001 ); // f1 01 d9 0e 7f 01 00
0x2478 CharacterRemoveStatuses( character_id = 0x00, status_mask = 0x7f ); // d9 00 00 7f
0x247c CharacterRemoveStatuses( character_id = 0x01, status_mask = 0x7f ); // d9 00 01 7f
0x2480 CharacterRemoveStatuses( character_id = 0x03, status_mask = 0x7f ); // d9 00 03 7f
0x2484 CharacterRemoveStatuses( character_id = 0x02, status_mask = 0x7f ); // d9 00 02 7f
0x2488 CharacterRemoveStatuses( character_id = 0x04, status_mask = 0x7f ); // d9 00 04 7f
0x248c CharacterRemoveStatuses( character_id = 0x05, status_mask = 0x7f ); // d9 00 05 7f
0x2490 CharacterRemoveStatuses( character_id = 0x07, status_mask = 0x7f ); // d9 00 07 7f
0x2494 CharacterRemoveStatuses( character_id = 0x06, status_mask = 0x7f ); // d9 00 06 7f
0x2498 CharacterRemoveStatuses( character_id = 0x08, status_mask = 0x7f ); // d9 00 08 7f
0x249c JumpIf( CallFunc4b85c( 0x00000005 ) == false )To( 0x24b0 ); // 05 7d 05 00 6b 7f 02 0b 00
0x24a5 [ 0x8007aef0 + 0x0004 ] = b( 0x00000001 ); // 05 d4 04 7d 01 00 2c 7f
0x24ad JumpTo( 0x24b8 ); // 01 08 00
0x24b0 [ 0x8007aef0 + 0x0004 ] = b( 0x00000000 ); // 05 d4 04 7d 00 00 2c 7f
0x24b8 JumpIf( ( ( ( hu[ 0x8007aef0 + 0x0013 ] >> 0x00000000 ) & 0x00000001 ) == 0x00000000 ) == false )To( 0x24da ); // 05 dc 13 7d 00 00 17 7d 01 00 24 7d 00 00 20 7f 02 0f 00
0x24cb CharacterInit( character_id = 0x00, type = 0x01, preset_id = 0xff, 0x09, 0x00 ); // fe 00 00 01 ff 09 00
0x24d2 ( hu[ 0x8007aef0 + 0x0013 ] |= 0x00000001 ); // 05 dc 13 7d 01 00 3f 7f
0x24da [ 0x8007aef0 + 0x0011 ] = b( 0x00000000 ); // 05 d4 11 7d 00 00 2c 7f
0x24e2 [ 0x8007aef0 + 0x0012 ] = b( 0x00000001 ); // 05 d4 12 7d 01 00 2c 7f
0x24ea CharacterSetName( character_id = 0x00, string_id = 0x0012 ); // de 00 00 12 00
0x24ef CharacterInit( character_id = 0x00, type = 0x00, preset_id = 0xff, 0x09, 0x00 ); // fe 00 00 00 ff 09 00
0x24f6 Wait( 0x05 ); // 22 00 05
0x24f9 0x75( 0x01, 0x00 ); // 75 00 01 00
0x24fd Wait( 0x0a ); // 22 00 0a
0x2500 ( bu[ 0x8007aef0 + 0x0006 ] |= 0x00000001 ); // 05 d4 06 7d 01 00 3f 7f
0x2508 ( bu[ script + 0x001a ]-- ); // 05 d5 1a 05 7f
0x250d JumpTo( 0x251b ); // 01 0b 00
0x2510 [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x40 ); // 05 c5 e6 7d 01 00 2c 7f
0x2518 Wait( 0x01 ); // 22 00 01
0x251b JumpIf( ( bu[ script + 0x001a ] > 0x00000000 ) == true )To( 0x2510 ); // 05 d5 1a 7d 00 00 19 7f 03 ea ff
0x2526 JumpTo( 0x252c ); // 01 03 00
0x2529 Wait( 0x01 ); // 22 00 01
0x252c JumpIf( ( (bu[ script + 0x001c ] >> 0x06) & 1 == 0x00000001 ) == true )To( 0x2529 ); // 05 c5 e6 7d 01 00 20 7f 03 f2 ff
0x2537 [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x80 ); // 05 c5 e7 7d 01 00 2c 7f
0x253f JumpTo( 0x27c1 ); // 01 7f 02
0x2542 Wait( 0x07 ); // 22 00 07
0x2545 PlayEntityAnimation( animation_id = 0x0a11 ); // 40 00 11 0a
0x2549 0x1fSync( 0x02, 0x80, 0x0029 ); // 1f 00 02 80 29 00
0x254f WaitUntilAnimationComplete(); // 41
0x2550 [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x80 ); // 05 c5 e7 7d 01 00 2c 7f
0x2558 JumpTo( 0x27c1 ); // 01 66 02
0x255b [ script + 0x001a ] = b( 0x00000004 ); // 05 d5 1a 7d 04 00 2c 7f
0x2563 Wait( 0x01 ); // 22 00 01
0x2566 PlayEntityAnimation( animation_id = 0x0aa6 ); // 40 00 a6 0a
0x256a WaitUntilAnimationComplete(); // 41
0x256b SetEntityCollisionFlags( flags = 0x07 ); // 47 00 07
0x256e ( bu[ script + 0x001a ]-- ); // 05 d5 1a 05 7f
0x2573 JumpTo( 0x2581 ); // 01 0b 00
0x2576 [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x40 ); // 05 c5 e6 7d 01 00 2c 7f
0x257e Wait( 0x01 ); // 22 00 01
0x2581 JumpIf( ( bu[ script + 0x001a ] > 0x00000000 ) == true )To( 0x2576 ); // 05 d5 1a 7d 00 00 19 7f 03 ea ff
0x258c JumpTo( 0x2592 ); // 01 03 00
0x258f Wait( 0x01 ); // 22 00 01
0x2592 JumpIf( ( (bu[ script + 0x001c ] >> 0x06) & 1 == 0x00000001 ) == true )To( 0x258f ); // 05 c5 e6 7d 01 00 20 7f 03 f2 ff
0x259d [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x80 ); // 05 c5 e7 7d 01 00 2c 7f
0x25a5 JumpTo( 0x27c1 ); // 01 19 02
0x25a8 [ script + 0x001a ] = b( 0x00000002 ); // 05 d5 1a 7d 02 00 2c 7f
0x25b0 Wait( 0x01 ); // 22 00 01
0x25b3 Wait( 0x03 ); // 22 00 03
0x25b6 ( bu[ script + 0x001a ]-- ); // 05 d5 1a 05 7f
0x25bb JumpTo( 0x25c9 ); // 01 0b 00
0x25be [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x40 ); // 05 c5 e6 7d 01 00 2c 7f
0x25c6 Wait( 0x01 ); // 22 00 01
0x25c9 JumpIf( ( bu[ script + 0x001a ] > 0x00000000 ) == true )To( 0x25be ); // 05 d5 1a 7d 00 00 19 7f 03 ea ff
0x25d4 JumpTo( 0x25da ); // 01 03 00
0x25d7 Wait( 0x01 ); // 22 00 01
0x25da JumpIf( ( (bu[ script + 0x001c ] >> 0x06) & 1 == 0x00000001 ) == true )To( 0x25d7 ); // 05 c5 e6 7d 01 00 20 7f 03 f2 ff
0x25e5 [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x80 ); // 05 c5 e7 7d 01 00 2c 7f
0x25ed JumpTo( 0x27c1 ); // 01 d1 01
0x25f0 0x1fSync( 0x02, 0x80, 0x002b ); // 1f 00 02 80 2b 00
0x25f6 [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x80 ); // 05 c5 e7 7d 01 00 2c 7f
0x25fe JumpTo( 0x27c1 ); // 01 c0 01
0x2601 [ script + 0x001a ] = b( 0x00000005 ); // 05 d5 1a 7d 05 00 2c 7f
0x2609 Wait( 0x01 ); // 22 00 01
0x260c Wait( 0x0a ); // 22 00 0a
0x260f [ script + 0x002b ] = b( 0x00000001 ); // 05 d5 2b 7d 01 00 2c 7f
0x2617 CallFuncc0df4( 0x00b2, 0x0096, 0x10, 0x08 ); // 6f 00 b2 00 96 00 10 08
0x261f CallDynamic8006794c_1c_83c( 0xd000, 0x0125, 0x000000, 0x48, 0x7d ); // c8 00 00 d0 25 01 00 00 00 48 7d
0x262a CallFuncc18d4( 0x00, 0x00, 0x04 ); // 65 00 00 00 04
0x262f CallFuncc17f0( 0x00, 0x0100 ); // 61 00 00 00 01
0x2634 Wait( 0x05 ); // 22 00 05
0x2637 SetEntityRotateToRotation( rotation = GetCurrentEntityRotationTo( 0x0000fd44, 0x00000064 ), steps = 0x20 ); // 56 01 7d 44 fd 7d 64 00 5d 7f 20
0x2642 WaitUntilRotationComplete(); // 50
0x2643 ( bu[ script + 0x001a ]-- ); // 05 d5 1a 05 7f
0x2648 JumpTo( 0x2656 ); // 01 0b 00
0x264b [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x40 ); // 05 c5 e6 7d 01 00 2c 7f
0x2653 Wait( 0x01 ); // 22 00 01
0x2656 JumpIf( ( bu[ script + 0x001a ] > 0x00000000 ) == true )To( 0x264b ); // 05 d5 1a 7d 00 00 19 7f 03 ea ff
0x2661 JumpTo( 0x2667 ); // 01 03 00
0x2664 Wait( 0x01 ); // 22 00 01
0x2667 JumpIf( ( (bu[ script + 0x001c ] >> 0x06) & 1 == 0x00000001 ) == true )To( 0x2664 ); // 05 c5 e6 7d 01 00 20 7f 03 f2 ff
0x2672 [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x80 ); // 05 c5 e7 7d 01 00 2c 7f
0x267a JumpTo( 0x27c1 ); // 01 44 01
0x267d SetEntityFlagsTo0f( flags = 0x0e ); // 93 00 0e
0x2680 JumpTo( 0x27c1 ); // 01 3e 01
0x2683 [ script + 0x001a ] = b( 0x00000005 ); // 05 d5 1a 7d 05 00 2c 7f
0x268b Wait( 0x01 ); // 22 00 01
0x268e SetEntityFlagsTo0f( flags = 0x07 ); // 93 00 07
0x2691 SetEntityPositionByXZ( x = 0x012c, z = 0x005a ); // 1d 00 2c 01 5a 00
0x2697 SetEntityRotation( rotation = 0x40 ); // 36 00 40
0x269a SetEntityData54( animation_id = 0x0a17 ); // 33 00 17 0a
0x269e CallDynamic8006794c_1c_83c( 0x1208, 0x0392, 0x00, 0x00, 0x00 ); // c5 00 08 12 92 03
0x26a4 CallDynamic8006794c_1c_83c( 0x1208, 0x039b, 0x00, 0x00, 0x00 ); // c5 00 08 12 9b 03
0x26aa CallFuncaba98( 0x10, 0x0a99, 0x0004, 0x0392 ); // 88 00 10 99 0a 04 00 92 03
0x26b3 CallFuncaba98( 0x11, 0x0a99, 0x0004, 0x039b ); // 88 00 11 99 0a 04 00 9b 03
0x26bc CallFuncaba98( 0x12, 0x0a99, 0x0004, 0x0001 ); // 88 00 12 99 0a 04 00 01 00
0x26c5 CallDynamic8006794c_1c_83c( 0x1208, 0x0392, 0x00, 0x00, 0x00 ); // c5 00 08 12 92 03
0x26cb CallDynamic8006794c_1c_83c( 0x1208, 0x039b, 0x00, 0x00, 0x00 ); // c5 00 08 12 9b 03
0x26d1 CallFuncaba98( 0x10, 0x0a99, 0x000d, 0x0392 ); // 88 00 10 99 0a 0d 00 92 03
0x26da CallFuncaba98( 0x11, 0x0a99, 0x000d, 0x039b ); // 88 00 11 99 0a 0d 00 9b 03
0x26e3 CallFuncaba98( 0x12, 0x0a99, 0x000d, 0x0001 ); // 88 00 12 99 0a 0d 00 01 00
0x26ec SetEntityCollisionFlags( flags = 0x00 ); // 47 00 00
0x26ef Wait( 0x03 ); // 22 00 03
0x26f2 ( bu[ script + 0x001a ]-- ); // 05 d5 1a 05 7f
0x26f7 JumpTo( 0x2705 ); // 01 0b 00
0x26fa [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x40 ); // 05 c5 e6 7d 01 00 2c 7f
0x2702 Wait( 0x01 ); // 22 00 01
0x2705 JumpIf( ( bu[ script + 0x001a ] > 0x00000000 ) == true )To( 0x26fa ); // 05 d5 1a 7d 00 00 19 7f 03 ea ff
0x2710 JumpTo( 0x2716 ); // 01 03 00
0x2713 Wait( 0x01 ); // 22 00 01
0x2716 JumpIf( ( (bu[ script + 0x001c ] >> 0x06) & 1 == 0x00000001 ) == true )To( 0x2713 ); // 05 c5 e6 7d 01 00 20 7f 03 f2 ff
0x2721 [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x80 ); // 05 c5 e7 7d 01 00 2c 7f
0x2729 JumpTo( 0x27c1 ); // 01 95 00
0x272c [ script + 0x001a ] = b( 0x00000005 ); // 05 d5 1a 7d 05 00 2c 7f
0x2734 Wait( 0x01 ); // 22 00 01
0x2737 Wait( 0x16 ); // 22 00 16
0x273a 0x1fSync( 0x02, 0x80, 0x002e ); // 1f 00 02 80 2e 00
0x2740 ( bu[ script + 0x001a ]-- ); // 05 d5 1a 05 7f
0x2745 JumpTo( 0x2753 ); // 01 0b 00
0x2748 [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x40 ); // 05 c5 e6 7d 01 00 2c 7f
0x2750 Wait( 0x01 ); // 22 00 01
0x2753 JumpIf( ( bu[ script + 0x001a ] > 0x00000000 ) == true )To( 0x2748 ); // 05 d5 1a 7d 00 00 19 7f 03 ea ff
0x275e JumpTo( 0x2764 ); // 01 03 00
0x2761 Wait( 0x01 ); // 22 00 01
0x2764 JumpIf( ( (bu[ script + 0x001c ] >> 0x06) & 1 == 0x00000001 ) == true )To( 0x2761 ); // 05 c5 e6 7d 01 00 20 7f 03 f2 ff
0x276f [ script + 0x001c ] = b( b[ script + 0x001c ] | 0x80 ); // 05 c5 e7 7d 01 00 2c 7f
0x2777 JumpTo( 0x27c1 ); // 01 47 00
0x277a [ script + 0x001a ] = b( 0x00000004 ); // 05 d5 1a 7d 04 00 2c 7f
0x2782 Wait( 0x01 ); // 22 00 01
0x2785 Wait( 0x0a ); // 22 00 0a
0x2788 PlayEntityAnimation( animation_id = 0x0a38 ); // 40 00 38 0a
0x278c WaitUntilAnimationComplete(); // 41
0x278d SetEntityData54( animation_id = 0x00c8 ); // 33 00 c8 00
0x2791 SetEntityRotateToRotation( rotation = GetCurrentEntityRotationTo( 0x00000384, 0x00000078 ), steps = 0x20 ); // 56 01 7d 84 03 7d 78 00 5d 7f 20
0x279c WaitUntilRotationComplete(); // 50
0x279d SetEntityCollision( 0x0a, solid_radius = 0x0a, talk_radius = 0x0a ); // 4b 00 0a 0a 0a
0x27a2 SetEntityData5c( 0x3c ); // 26 00 3c
0x27a5 ResetEntityData30_50_63_78(); // 25
0x27a6 MoveToPosition( x = 0x0384, y = 0x0078 ); // 23 00 84 03 78 00
0x27ac ResetEntityData30_50_63_78(); // 25
0x27ad MoveToPosition( x = 0x06a4, y = 0x0104 ); // 23 00 a4 06 04 01
0x27b3 JumpTo( 0x27b9 ); // 01 03 00
0x27b6 Wait( 0x01 ); // 22 00 01
0x27b9 JumpIf( 0x00000001 == true )To( 0x27b6 ); // 05 7d 01 00 7f 03 f5 ff
0x27c1 Wait( 0x01 ); // 22 00 01
0x27c4 JumpTo( 0x1a83 ); // 01 bc f2
SCRIPT: script_id = 0x0c
script = w[8007aecc];
0x27c7 SetEntityRotateToRotation( rotation = GetCurrentEntityRotationTo( h[ 0x8007aef0 + 0x00dc ], h[ 0x8007aef0 + 0x00de ] ), steps = 0x10 ); // 56 01 d8 dc d8 de 5d 7f 10
0x27d0 WaitUntilRotationComplete(); // 50
0x27d1 JumpIf( ( bu[ 0x8007aef0 + 0x00e2 ] == 0x00000000 ) == false )To( 0x28df ); // 05 d4 e2 7d 00 00 20 7f 02 03 01
0x27dc JumpIf( ( h[ 0x8007aef0 + 0x00e0 ] == 0x0000752f ) == false )To( 0x27f0 ); // 05 d8 e0 7d 2f 75 20 7f 02 09 00
0x27e7 0x1fSync( 0x07, 0x00, 0x0006 ); // 1f 00 07 00 06 00
0x27ed JumpTo( 0x28df ); // 01 ef 00
0x27f0 JumpIf( ( h[ 0x8007aef0 + 0x00e0 ] >= 0x000003e8 ) == false )To( 0x284a ); // 05 d8 e0 7d e8 03 1b 7f 02 4f 00
0x27fb CallDynamic8006794c_1c_83c( 0xd000, 0x006c, 0x000000, 0x80, 0x7d ); // c8 00 00 d0 6c 00 00 00 00 80 7d
0x2806 [ 0x8007aef0 + 0x00e4 ] = h( ( 0x000003e8 - h[ 0x8007aef0 + 0x00e0 ] ) ); // 05 d8 e4 d8 e0 7d e8 03 15 2c 7f
0x2811 JumpIf( ( ( w[w[w[8006794c] + 1c] + 560] + h[ 0x8007aef0 + 0x00e4 ] ) > 0x0098967f ) == false )To( 0x282e ); // 05 d8 e4 7a 06 14 7e 7f 96 98 00 19 7f 02 0d 00
0x2821 [ 0x8007aef0 + 0x00e4 ] = h( ( w[w[w[8006794c] + 1c] + 560] - 0x0098967f ) ); // 05 d8 e4 7e 7f 96 98 00 7a 06 15 2c 7f
0x282e 0xce( h[ 0x8007aef0 + 0x00e4 ] ); // ce 01 d8 e4 7f
0x2833 Set8007bba8( 0x00, h[ 0x8007aef0 + 0x00e4 ] ); // 66 02 00 d8 e4 7f
0x2839 0x1fSync( 0x07, 0x00, 0x0006 ); // 1f 00 07 00 06 00
0x283f [ 0x8007aef0 + 0x00e2 ] = b( 0x00000001 ); // 05 d4 e2 7d 01 00 2c 7f
0x2847 JumpTo( 0x28df ); // 01 95 00
0x284a JumpIf( ( ( 0x64stack( h[ 0x8007aef0 + 0x00e0 ] ) < 0x00000063 ) && ( h[ 0x8007aef0 + 0x00e0 ] < 0x00000200 ) ) == false )To( 0x2885 ); // 05 d8 e0 64 7d 63 00 18 d8 e0 7d 00 02 18 27 7f 02 28 00
0x285d CallDynamic8006794c_1c_83c( 0xd000, 0x006c, 0x000000, 0x80, 0x7d ); // c8 00 00 d0 6c 00 00 00 00 80 7d
0x2868 [ 0x8007aef0 + 0x00e2 ] = b( 0x00000001 ); // 05 d4 e2 7d 01 00 2c 7f
0x2870 Set8007bba8( 0x00, h[ 0x8007aef0 + 0x00e0 ] ); // 66 02 00 d8 e0 7f
0x2876 0x48( h[ 0x8007aef0 + 0x00e0 ], 0x01 ); // 48 01 d8 e0 7f 01
0x287c 0x1fSync( 0x07, 0x00, 0x0004 ); // 1f 00 07 00 04 00
0x2882 JumpTo( 0x28df ); // 01 5a 00
0x2885 JumpIf( ( ( h[ 0x8007aef0 + 0x00e0 ] >= 0x00000200 ) && ( Count80083248() < 0x00000064 ) ) == false )To( 0x28bf ); // 05 d8 e0 7d 00 02 1b 7a 13 7d 64 00 18 27 7f 02 28 00
0x2897 CallDynamic8006794c_1c_83c( 0xd000, 0x006c, 0x000000, 0x80, 0x7d ); // c8 00 00 d0 6c 00 00 00 00 80 7d
0x28a2 [ 0x8007aef0 + 0x00e2 ] = b( 0x00000001 ); // 05 d4 e2 7d 01 00 2c 7f
0x28aa Set8007bba8( 0x00, h[ 0x8007aef0 + 0x00e0 ] ); // 66 02 00 d8 e0 7f
0x28b0 0x48( h[ 0x8007aef0 + 0x00e0 ], 0x01 ); // 48 01 d8 e0 7f 01
0x28b6 0x1fSync( 0x07, 0x00, 0x0005 ); // 1f 00 07 00 05 00
0x28bc JumpTo( 0x28df ); // 01 20 00
0x28bf Set8007bba8( 0x00, h[ 0x8007aef0 + 0x00e0 ] ); // 66 02 00 d8 e0 7f
0x28c5 JumpIf( ( h[ 0x8007aef0 + 0x00e0 ] < 0x00000200 ) == false )To( 0x28d9 ); // 05 d8 e0 7d 00 02 18 7f 02 09 00
0x28d0 0x1fSync( 0x07, 0x00, 0x0008 ); // 1f 00 07 00 08 00
0x28d6 JumpTo( 0x28df ); // 01 06 00
0x28d9 0x1fSync( 0x07, 0x00, 0x0009 ); // 1f 00 07 00 09 00
0x28df Return(); // 04
SCRIPT: script_id = 0x0d
script = w[8007aecc];
0x28e0 SetEntityRotateToRotation( rotation = GetCurrentEntityRotationTo( h[ 0x8007aef0 + 0x00dc ], h[ 0x8007aef0 + 0x00de ] ), steps = 0x10 ); // 56 01 d8 dc d8 de 5d 7f 10
0x28e9 WaitUntilRotationComplete(); // 50
0x28ea 0x1fSync( 0x00, 0x00, 0x0028 ); // 1f 00 00 00 28 00
0x28f0 Return(); // 04