Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SEARCH TriggerBattle(SceneId=#
- Show Assembly
- World Map Script: WM0
- User Friendly Variables
- System Function ID Names
- $OnWorldMapLoad = 0000
- $OnWorldMapUnload = 0001
- $OnFrameTick = 0002
- $OnEnterHighwind = 0006
- $OnTouchMidgarZolom = 0007
- Model Function ID Names
- $OnModelLoad = 0000
- $OnModelUnload = 0001
- $OnFrameTick = 0002
- $OnMovement = 0003
- Model/Entity ID Names
- $CloudModel = 0000
- $TifaModel = 0001
- $CidModel = 0002
- $UltimateWeaponModel = 0003
- $HighwindModel = 000b
- $SubmarineModel = 000d
- $ChocoboModel = 0013
- $SystemModelInActiveEntityContext = ffff
- Chocobo Types
- $YellowChocobo = #0000
- $GreenChocobo = #0001
- $BlueChocobo = #0002
- $BlackChocobo = #0003
- $GoldChocobo = #0004
- Submarine Types
- $RedSubmarine = #0000
- $BlueSubmarine = #0001
- Call Table
- Addr Code
- 0002 System.Function($OnWorldMapLoad) { CALL 0x001a }
- 0004 System.Function($OnWorldMapUnload) { CALL 0x0001 }
- 0006 System.Function($OnFrameTick) { CALL 0x0002 }
- 0008 System.Function($UnknownFunc3) { CALL 0x0002 }
- 000a System.Function($UnknownFunc4) { CALL 0x0002 }
- 000c System.Function($UnknownFunc5) { CALL 0x0002 }
- 000e System.Function($OnEnterHighwind) { CALL 0x0bd2 }
- 0010 System.Function($OnTouchMidgarZolom) { CALL 0x28ec }
- 0012 System.Function($UnknownFunc8) { CALL 0x0002 }
- 0014 System.Function($UnknownFunc9) { CALL 0x2a8b }
- 0016 System.Function($UnknownFunc10) { CALL 0x0bf1 }
- 0018 System.Function($UnknownFunc11) { CALL 0x0c11 }
- 001a System.Function($UnknownFunc12) { CALL 0x0c3b }
- 001c System.Function($UnknownFunc13) { CALL 0x0cab }
- 001e System.Function($UnknownFunc14) { CALL 0x0d57 }
- 0020 System.Function($UnknownFunc15) { CALL 0x0e1d }
- 0022 System.Function($UnknownFunc16) { CALL 0x12d5 }
- 0024 System.Function($UnknownFunc17) { CALL 0x1349 }
- 0026 System.Function($UnknownFunc18) { CALL 0x13c2 }
- 0028 System.Function($UnknownFunc19) { CALL 0x14b3 }
- 002a System.Function($UnknownFunc20) { CALL 0x1557 }
- 002c System.Function($UnknownFunc21) { CALL 0x15a4 }
- 002e System.Function($UnknownFunc22) { CALL 0x15db }
- 0030 System.Function($UnknownFunc23) { CALL 0x1627 }
- 0032 System.Function($UnknownFunc24) { CALL 0x168b }
- 0034 System.Function($UnknownFunc25) { CALL 0x16cd }
- 0036 System.Function($UnknownFunc26) { CALL 0x1720 }
- 0038 System.Function($UnknownFunc27) { CALL 0x1770 }
- 003a System.Function($UnknownFunc28) { CALL 0x1b54 }
- 003c System.Function($UnknownFunc29) { CALL 0x221a }
- 003e System.Function($UnknownFunc30) { CALL 0x2a63 }
- 0040 System.Function($UnknownFunc31) { CALL 0x2a98 }
- 0042 Model($CloudModel).Function($OnModelLoad) { CALL 0x1d8a }
- 0044 Model($CloudModel).Function($OnFrameTick) { CALL 0x1d89 }
- 0046 Model($CloudModel).Function($UnknownFunc15) { CALL 0x0e1d }
- 0048 Model($CloudModel).Function($UnknownFunc29) { CALL 0x221a }
- 004a Model($TifaModel).Function($UnknownFunc15) { CALL 0x0f11 }
- 004c Model($TifaModel).Function($UnknownFunc31) { CALL 0x2a98 }
- 004e Model($CidModel).Function($UnknownFunc15) { CALL 0x1005 }
- 0050 Model($CidModel).Function($UnknownFunc31) { CALL 0x2ab9 }
- 0052 Model($UltimateWeaponModel).Function($OnModelLoad) { CALL 0x214b }
- 0054 Model($UltimateWeaponModel).Function($OnFrameTick) { CALL 0x20ef }
- 0056 Model($UltimateWeaponModel).Function($UnknownFunc4) { CALL 0x2328 }
- 0058 Model($UltimateWeaponModel).Function($UnknownFunc5) { CALL 0x23c3 }
- 005a Model($UltimateWeaponModel).Function($UnknownFunc20) { CALL 0x1557 }
- 005c Model($UltimateWeaponModel).Function($UnknownFunc21) { CALL 0x15a4 }
- 005e Model($UltimateWeaponModel).Function($UnknownFunc22) { CALL 0x15db }
- 0060 Model($UltimateWeaponModel).Function($UnknownFunc23) { CALL 0x1627 }
- 0062 Model($UltimateWeaponModel).Function($UnknownFunc24) { CALL 0x168b }
- 0064 Model($UltimateWeaponModel).Function($UnknownFunc30) { CALL 0x2a63 }
- 0066 Model($UnknownModel4).Function($OnModelLoad) { CALL 0x1dbb }
- 0068 Model($UnknownModel4).Function($UnknownFunc4) { CALL 0x1dec }
- 006a Model($UnknownModel4).Function($UnknownFunc5) { CALL 0x1e2f }
- 006c Model($UnknownModel4).Function($UnknownFunc15) { CALL 0x10f9 }
- 006e Model($UnknownModel5).Function($OnModelLoad) { CALL 0x2047 }
- 0070 Model($UnknownModel5).Function($UnknownFunc4) { CALL 0x20a5 }
- 0072 Model($UnknownModel5).Function($UnknownFunc5) { CALL 0x20e8 }
- 0074 Model($UnknownModel6).Function($OnModelLoad) { CALL 0x1fc6 }
- 0076 Model($UnknownModel6).Function($OnFrameTick) { CALL 0x1fc5 }
- 0078 Model($UnknownModel6).Function($UnknownFunc4) { CALL 0x1ff7 }
- 007a Model($UnknownModel6).Function($UnknownFunc5) { CALL 0x2040 }
- 007c Model($UnknownModel6).Function($UnknownFunc18) { CALL 0x13c2 }
- 007e Model($UnknownModel7).Function($OnModelLoad) { CALL 0x28fd }
- 0080 Model($UnknownModel8).Function($OnModelLoad) { CALL 0x24ce }
- 0082 Model($UnknownModel10).Function($OnModelLoad) { CALL 0x1cd5 }
- 0084 Model($UnknownModel10).Function($OnFrameTick) { CALL 0x1be6 }
- 0086 Model($UnknownModel10).Function($OnMovement) { CALL 0x1d5d }
- 0088 Model($UnknownModel10).Function($UnknownFunc28) { CALL 0x1b54 }
- 008a Model($HighwindModel).Function($OnModelLoad) { CALL 0x1a05 }
- 008c Model($HighwindModel).Function($OnFrameTick) { CALL 0x17a8 }
- 008e Model($HighwindModel).Function($UnknownFunc25) { CALL 0x16cd }
- 0090 Model($HighwindModel).Function($UnknownFunc26) { CALL 0x1720 }
- 0092 Model($HighwindModel).Function($UnknownFunc27) { CALL 0x1770 }
- 0094 Model($UnknownModel12).Function($OnModelLoad) { CALL 0x2924 }
- 0096 Model($SubmarineModel).Function($OnModelLoad) { CALL 0x23d6 }
- 0098 Model($SubmarineModel).Function($UnknownFunc4) { CALL 0x24b8 }
- 009a Model($UnknownModel14).Function($OnModelLoad) { CALL 0x2935 }
- 009c Model($UnknownModel15).Function($OnModelLoad) { CALL 0x2946 }
- 009e Model($UnknownModel16).Function($OnModelLoad) { CALL 0x2957 }
- 00a0 Model($ChocoboModel).Function($OnModelLoad) { CALL 0x1f4e }
- 00a2 Model($ChocoboModel).Function($UnknownFunc4) { CALL 0x1f8d }
- 00a4 Model($ChocoboModel).Function($UnknownFunc5) { CALL 0x1fa6 }
- 00a6 Model($ChocoboModel).Function($UnknownFunc15) { CALL 0x11e4 }
- 00a8 Model($ChocoboModel).Function($UnknownFunc23) { CALL 0x1659 }
- 00aa Model($ChocoboModel).Function($UnknownFunc24) { CALL 0x16ac }
- 00ac Model($ChocoboModel).Function($UnknownFunc29) { CALL 0x22a4 }
- 00ae Model($UnknownModel20).Function($OnModelLoad) { CALL 0x290e }
- 00b0 Model($UnknownModel24).Function($OnModelLoad) { CALL 0x2968 }
- 00b2 Model($UnknownModel25).Function($OnModelLoad) { CALL 0x2994 }
- 00b4 Model($UnknownModel25).Function($OnMovement) { CALL 0x2979 }
- 00b6 Model($UnknownModel29).Function($OnModelLoad) { CALL 0x308e }
- 00b8 Model($UnknownModel29).Function($OnFrameTick) { CALL 0x2ffa }
- 00ba Model($UnknownModel29).Function($UnknownFunc28) { CALL 0x2f62 }
- 00bc Walkmesh(1, 32).FunctionType(4) { CALL 0x2e8e }
- 00be Walkmesh(6, 16).FunctionType(4) { CALL 0x2f1d }
- 00c0 Walkmesh(8, 15).FunctionType(3) { CALL 0x2efa }
- 00c2 Walkmesh(8, 15).FunctionType(4) { CALL 0x2e58 }
- 00c4 Walkmesh(8, 17).FunctionType(4) { CALL 0x2e73 }
- 00c6 Walkmesh(8, 19).FunctionType(4) { CALL 0x2e3d }
- 00c8 Walkmesh(9, 19).FunctionType(4) { CALL 0x2f47 }
- 00ca Walkmesh(10, 4).FunctionType(4) { CALL 0x2db3 }
- 00cc Walkmesh(10, 19).FunctionType(3) { CALL 0x2f2c }
- 00ce Walkmesh(10, 19).FunctionType(4) { CALL 0x2e22 }
- 00d0 Walkmesh(13, 14).FunctionType(4) { CALL 0x2d98 }
- 00d2 Walkmesh(13, 24).FunctionType(4) { CALL 0x2af5 }
- 00d4 Walkmesh(14, 10).FunctionType(4) { CALL 0x2d52 }
- 00d6 Walkmesh(14, 13).FunctionType(4) { CALL 0x2caf }
- 00d8 Walkmesh(14, 22).FunctionType(4) { CALL 0x2ada }
- 00da Walkmesh(15, 6).FunctionType(4) { CALL 0x2e07 }
- 00dc Walkmesh(15, 11).FunctionType(4) { CALL 0x2ec4 }
- 00de Walkmesh(15, 13).FunctionType(4) { CALL 0x2cca }
- 00e0 Walkmesh(15, 17).FunctionType(4) { CALL 0x2c8e }
- 00e2 Walkmesh(16, 10).FunctionType(4) { CALL 0x2edf }
- 00e4 Walkmesh(16, 11).FunctionType(3) { CALL 0x2ea9 }
- 00e6 Walkmesh(16, 11).FunctionType(4) { CALL 0x2d37 }
- 00e8 Walkmesh(16, 24).FunctionType(4) { CALL 0x2c12 }
- 00ea Walkmesh(16, 29).FunctionType(4) { CALL 0x2b10 }
- 00ec Walkmesh(17, 12).FunctionType(4) { CALL 0x2d7d }
- 00ee Walkmesh(17, 14).FunctionType(0) { CALL 0x29af }
- 00f0 Walkmesh(17, 15).FunctionType(0) { CALL 0x29be }
- 00f2 Walkmesh(17, 20).FunctionType(4) { CALL 0x2bd6 }
- 00f4 Walkmesh(17, 33).FunctionType(4) { CALL 0x2c73 }
- 00f6 Walkmesh(18, 13).FunctionType(0) { CALL 0x29a5 }
- 00f8 Walkmesh(18, 14).FunctionType(0) { CALL 0x29b4 }
- 00fa Walkmesh(18, 14).FunctionType(4) { CALL 0x2cf2 }
- 00fc Walkmesh(18, 15).FunctionType(0) { CALL 0x29c3 }
- 00fe Walkmesh(18, 26).FunctionType(0) { CALL 0x29cd }
- 0100 Walkmesh(18, 26).FunctionType(1) { CALL 0x29d4 }
- 0102 Walkmesh(18, 26).FunctionType(3) { CALL 0x29db }
- 0104 Walkmesh(18, 26).FunctionType(4) { CALL 0x2b85 }
- 0106 Walkmesh(19, 6).FunctionType(3) { CALL 0x2a02 }
- 0108 Walkmesh(19, 13).FunctionType(0) { CALL 0x29aa }
- 010a Walkmesh(19, 14).FunctionType(0) { CALL 0x29b9 }
- 010c Walkmesh(19, 15).FunctionType(0) { CALL 0x29c8 }
- 010e Walkmesh(19, 25).FunctionType(4) { CALL 0x2ba0 }
- 0110 Walkmesh(20, 10).FunctionType(0) { CALL 0x2a3c }
- 0112 Walkmesh(20, 10).FunctionType(4) { CALL 0x2d1c }
- 0114 Walkmesh(20, 24).FunctionType(4) { CALL 0x2bbb }
- 0116 Walkmesh(21, 15).FunctionType(4) { CALL 0x2c2d }
- 0118 Walkmesh(22, 13).FunctionType(4) { CALL 0x2d01 }
- 011a Walkmesh(22, 20).FunctionType(4) { CALL 0x2bf7 }
- 011c Walkmesh(24, 26).FunctionType(4) { CALL 0x2c48 }
- Function 0000
- Addr Code
- 0000 RETURN
- Function 0001
- Called by:
- System.Function($OnWorldMapUnload)
- Addr Code
- 0001 RETURN
- Function 0002
- Called by:
- System.Function($OnFrameTick)
- System.Function($UnknownFunc3)
- System.Function($UnknownFunc4)
- System.Function($UnknownFunc5)
- System.Function($UnknownFunc8)
- Addr Code
- 0005 IF (Bank0[0381]) {
- 000f WRITE Bank0[0381] = (Bank0[0381] - #0001)
- 0016 IF ((Bank0[0381] == #0000)) {
- 0018 Op320()
- }
- }
- 0019 RETURN
- Function 001a
- Called by:
- System.Function($OnWorldMapLoad)
- Addr Code
- 0020 IF ((Bank0_16bit[0000] >= #03e8)) {
- 0025 SetMeteorTextureEnabled(#0001)
- }
- 0029 IF (Bank0[007e].Bit(2)) {
- 002e SetChocoboType($YellowChocobo)
- 002f GOTO 005b
- }
- 0034 IF (Bank0[007e].Bit(3)) {
- 0039 SetChocoboType($GreenChocobo)
- 003a GOTO 005b
- }
- 003f IF (Bank0[007e].Bit(4)) {
- 0044 SetChocoboType($BlueChocobo)
- 0045 GOTO 005b
- }
- 004a IF (Bank0[007e].Bit(5)) {
- 004f SetChocoboType($BlackChocobo)
- 0050 GOTO 005b
- }
- 0055 IF (Bank0[007e].Bit(6)) {
- 005a SetChocoboType($GoldChocobo)
- }
- 005e IF (Bank0[0350].Bit(3)) {
- 0063 SetSubmarineType($BlueSubmarine)
- 0064 GOTO 006f
- }
- 0069 IF (Bank0[0352].Bit(2)) {
- 006e SetSubmarineType($RedSubmarine)
- }
- 0075 IF ((Bank0_16bit[0000] >= #04af)) {
- 007a IF (Bank0[007b].Bit(0)) {
- 007f IF (Bank0[0387].Bit(0)) {
- 0084 IF (Bank0[0386].Bit(4)) {
- 0089 WorldProgress=#0004
- 008a GOTO 0090
- }
- 008f WorldProgress=#0003
- 0090 GOTO 0096
- }
- 0095 WorldProgress=#0003
- 0096 GOTO 009c
- }
- 009b WorldProgress=#0003
- 009c GOTO 00c6
- }
- 00a4 IF ((Bank0_16bit[0000] >= #04ad)) {
- 00a9 WorldProgress=#0003
- 00aa GOTO 00c6
- }
- 00b2 IF ((Bank0_16bit[0000] >= #03e8)) {
- 00b7 WorldProgress=#0002
- 00b8 GOTO 00c6
- }
- 00c0 IF ((Bank0_16bit[0000] >= #027e)) {
- 00c5 WorldProgress=#0001
- }
- 00cc IF ((GetSpecial(0005) == #0000)) {
- 00d2 IF ((!Bank0[007b].Bit(3))) {
- 00d7 IF (Bank0[0387].Bit(4)) {
- 00dc LoadAndInitModel(#001d)
- }
- }
- 00e1 IF ((!Bank0[007a].Bit(0))) {
- 00e6 LoadAndInitModel(#0007)
- }
- 00ea IF (Bank0[007a].Bit(3)) {
- 00ef LoadAndInitModel(#0014)
- }
- 00f4 IF ((!Bank0[007a].Bit(1))) {
- 00f9 LoadAndInitModel(#000f)
- }
- 00fe IF ((!Bank0[0351])) {
- 0103 LoadAndInitModel(#000c)
- }
- 010a IF ((Bank0_16bit[0000] < #062c)) {
- 010f LoadAndInitModel(#0018)
- }
- 0113 LoadAndInitModel(#000e)
- 0117 LoadAndInitModel(#0010)
- 011b LoadAndInitModel(#0019)
- 0120 IF ((!Bank0[007b].Bit(0))) {
- 0128 IF ((Bank0_16bit[0000] >= #062c)) {
- 012d LoadAndInitModel(#000b)
- }
- }
- 0131 IF (Bank0[0352].Bit(3)) {
- 0136 LoadAndInitModel(#000a)
- }
- 013a IF (Bank0[007e].Bit(0)) {
- 013f LoadAndInitModel(#0004)
- }
- 0143 IF (Bank0[007e].Bit(2)) {
- 0148 LoadAndInitModel(#0013)
- }
- 014c IF (Bank0[007e].Bit(3)) {
- 0151 LoadAndInitModel(#0013)
- }
- 0155 IF (Bank0[007e].Bit(4)) {
- 015a LoadAndInitModel(#0013)
- }
- 015e IF (Bank0[007e].Bit(5)) {
- 0163 LoadAndInitModel(#0013)
- }
- 0167 IF (Bank0[007e].Bit(6)) {
- 016c LoadAndInitModel(#0013)
- }
- 0171 IF ((!Bank0[01cf].Bit(7))) {
- 0176 IF (Bank0[007f].Bit(0)) {
- 017b LoadAndInitModel(#0006)
- }
- }
- 017f IF (Bank0[007f].Bit(2)) {
- 0184 LoadAndInitModel(#0005)
- }
- 0188 IF (Bank0[007f].Bit(4)) {
- 018d LoadAndInitModel(#0003)
- }
- 0191 IF (Bank0[0350].Bit(3)) {
- 0196 LoadAndInitModel(#000d)
- }
- 019a IF (Bank0[0352].Bit(2)) {
- 019f LoadAndInitModel(#000d)
- }
- 01a0 Op320()
- 01a5 IF ((!Bank0[01cf].Bit(7))) {
- 01aa LoadAndInitModel(GetSpecial(000e))
- }
- 01ab SetCurrentEntityAsPlayerEntity()
- 01b2 IF ((GetSpecial(0006) == #0000)) {
- 01b7 IF (Bank0[0350].Bit(3)) {
- 01bc LoadAndInitModel(#000d)
- 01bd EnterVehicle()
- 01be GOTO 01ca
- }
- 01c3 IF (Bank0[0352].Bit(2)) {
- 01c8 LoadAndInitModel(#000d)
- 01c9 EnterVehicle()
- }
- 01ca GOTO 083d
- }
- 01d2 IF ((GetSpecial(0006) == #0001)) {
- 01d9 ActiveEntity.SetMeshCoordsXZ(#0016, #000f)
- 01df ActiveEntity.SetCoordsInMeshXZ(#1524, #01bd)
- 01e3 ActiveEntity.SetDirectionAndFacing(#0000)
- 01e4 GOTO 083d
- }
- 01ec IF ((GetSpecial(0006) == #0002)) {
- 01f3 ActiveEntity.SetMeshCoordsXZ(#0018, #000d)
- 01f9 ActiveEntity.SetCoordsInMeshXZ(#13d6, #1920)
- 01fd ActiveEntity.SetDirectionAndFacing(#0000)
- 01fe GOTO 083d
- }
- 0206 IF ((GetSpecial(0006) == #0003)) {
- 020b IF (Bank0[007e].Bit(1)) {
- 0210 IF (Bank0[007e].Bit(0)) {
- 0215 LoadAndInitModel(#0004)
- 0216 EnterVehicle()
- }
- 021a IF (Bank0[007e].Bit(2)) {
- 021f LoadAndInitModel(#0013)
- 0220 EnterVehicle()
- }
- 0224 IF (Bank0[007e].Bit(3)) {
- 0229 LoadAndInitModel(#0013)
- 022a EnterVehicle()
- }
- 022e IF (Bank0[007e].Bit(4)) {
- 0233 LoadAndInitModel(#0013)
- 0234 EnterVehicle()
- }
- 0238 IF (Bank0[007e].Bit(5)) {
- 023d LoadAndInitModel(#0013)
- 023e EnterVehicle()
- }
- 0242 IF (Bank0[007e].Bit(6)) {
- 0247 LoadAndInitModel(#0013)
- 0248 EnterVehicle()
- }
- }
- 024e ActiveEntity.SetMeshCoordsXZ(#001d, #0010)
- 0254 ActiveEntity.SetCoordsInMeshXZ(#0712, #1d23)
- 0258 ActiveEntity.SetDirectionAndFacing(#0000)
- 0259 GOTO 083d
- }
- 0261 IF ((GetSpecial(0006) == #0004)) {
- 0268 ActiveEntity.SetMeshCoordsXZ(#001a, #0012)
- 026e ActiveEntity.SetCoordsInMeshXZ(#073d, #15ba)
- 0272 ActiveEntity.SetDirectionAndFacing(#0060)
- 0273 GOTO 083d
- }
- 027b IF ((GetSpecial(0006) == #0005)) {
- 0282 ActiveEntity.SetMeshCoordsXZ(#0019, #0013)
- 0288 ActiveEntity.SetCoordsInMeshXZ(#0fdd, #095c)
- 028c ActiveEntity.SetDirectionAndFacing(#00e4)
- 028d GOTO 083d
- }
- 0295 IF ((GetSpecial(0006) == #0006)) {
- 029c ActiveEntity.SetMeshCoordsXZ(#0018, #0014)
- 02a2 ActiveEntity.SetCoordsInMeshXZ(#1a1d, #19ff)
- 02a6 ActiveEntity.SetDirectionAndFacing(#0000)
- 02a7 GOTO 083d
- }
- 02af IF ((GetSpecial(0006) == #0007)) {
- 02b4 IF (Bank0[007f].Bit(0)) {
- 02b9 IF (Bank0[007f].Bit(1)) {
- 02be LoadAndInitModel(#0006)
- 02bf EnterVehicle()
- }
- }
- 02c5 ActiveEntity.SetMeshCoordsXZ(#0014, #0011)
- 02cb ActiveEntity.SetCoordsInMeshXZ(#175d, #1e0e)
- 02cf ActiveEntity.SetDirectionAndFacing(#0000)
- 02d0 GOTO 083d
- }
- 02d8 IF ((GetSpecial(0006) == #0008)) {
- 02df ActiveEntity.SetMeshCoordsXZ(#0014, #0016)
- 02e5 ActiveEntity.SetCoordsInMeshXZ(#1814, #0d4d)
- 02e9 ActiveEntity.SetDirectionAndFacing(#0000)
- 02ea GOTO 083d
- }
- 02f2 IF ((GetSpecial(0006) == #0009)) {
- 02f9 ActiveEntity.SetMeshCoordsXZ(#0018, #0010)
- 02ff ActiveEntity.SetCoordsInMeshXZ(#0a8b, #09d1)
- 0303 ActiveEntity.SetDirectionAndFacing(#0038)
- 0304 GOTO 083d
- }
- 030c IF ((GetSpecial(0006) == #000a)) {
- 0313 ActiveEntity.SetMeshCoordsXZ(#000f, #0015)
- 0319 ActiveEntity.SetCoordsInMeshXZ(#1908, #07f1)
- 031d ActiveEntity.SetDirectionAndFacing(#0000)
- 031e GOTO 083d
- }
- 0326 IF ((GetSpecial(0006) == #000b)) {
- 032d ActiveEntity.SetMeshCoordsXZ(#001a, #0018)
- 0334 IF ((Bank0_16bit[0000] >= #04ad)) {
- 033b ActiveEntity.SetCoordsInMeshXZ(#1a25, #18d8)
- 033c GOTO 0344
- }
- 0343 ActiveEntity.SetCoordsInMeshXZ(#1bd7, #153b)
- 0347 ActiveEntity.SetDirectionAndFacing(#0000)
- 0348 GOTO 083d
- }
- 0350 IF ((GetSpecial(0006) == #000c)) {
- 0357 ActiveEntity.SetMeshCoordsXZ(#0021, #0011)
- 035d ActiveEntity.SetCoordsInMeshXZ(#0f64, #05e8)
- 0361 ActiveEntity.SetDirectionAndFacing(#0000)
- 0362 GOTO 083d
- }
- 036a IF ((GetSpecial(0006) == #000d)) {
- 036f IF (Bank0[007f].Bit(0)) {
- 0374 IF (Bank0[007f].Bit(1)) {
- 0379 LoadAndInitModel(#0006)
- 037a EnterVehicle()
- }
- }
- 0380 ActiveEntity.SetMeshCoordsXZ(#0011, #000f)
- 0386 ActiveEntity.SetCoordsInMeshXZ(#0607, #0cb2)
- 038a ActiveEntity.SetDirectionAndFacing(#0000)
- 038b GOTO 083d
- }
- 0393 IF ((GetSpecial(0006) == #000e)) {
- 039a ActiveEntity.SetMeshCoordsXZ(#000d, #000e)
- 03a0 ActiveEntity.SetCoordsInMeshXZ(#1f1d, #1aa5)
- 03a4 ActiveEntity.SetDirectionAndFacing(#0044)
- 03a5 GOTO 083d
- }
- 03ad IF ((GetSpecial(0006) == #000f)) {
- 03b4 ActiveEntity.SetMeshCoordsXZ(#000d, #000f)
- 03ba ActiveEntity.SetCoordsInMeshXZ(#0a98, #0c93)
- 03be ActiveEntity.SetDirectionAndFacing(#00fa)
- 03bf GOTO 083d
- }
- 03c7 IF ((GetSpecial(0006) == #0010)) {
- 03cc IF (Bank0[007f].Bit(0)) {
- 03d1 IF (Bank0[007f].Bit(1)) {
- 03d6 LoadAndInitModel(#0006)
- 03d7 EnterVehicle()
- }
- }
- 03dd ActiveEntity.SetMeshCoordsXZ(#000e, #0012)
- 03e3 ActiveEntity.SetCoordsInMeshXZ(#1615, #1e6e)
- 03e7 ActiveEntity.SetDirectionAndFacing(#0000)
- 03e8 GOTO 083d
- }
- 03f0 IF ((GetSpecial(0006) == #0011)) {
- 03f7 ActiveEntity.SetMeshCoordsXZ(#000d, #0016)
- 03fd ActiveEntity.SetCoordsInMeshXZ(#18dc, #117a)
- 0401 ActiveEntity.SetDirectionAndFacing(#0000)
- 0402 GOTO 083d
- }
- 040a IF ((GetSpecial(0006) == #0012)) {
- 0411 ActiveEntity.SetMeshCoordsXZ(#000a, #0014)
- 0417 ActiveEntity.SetCoordsInMeshXZ(#14d9, #1c20)
- 041b ActiveEntity.SetDirectionAndFacing(#0000)
- 041c GOTO 083d
- }
- 0424 IF ((GetSpecial(0006) == #0013)) {
- 042b ActiveEntity.SetMeshCoordsXZ(#000b, #0010)
- 0431 ActiveEntity.SetCoordsInMeshXZ(#09f1, #17f0)
- 0435 ActiveEntity.SetDirectionAndFacing(#0000)
- 0436 GOTO 083d
- }
- 043e IF ((GetSpecial(0006) == #0014)) {
- 0445 ActiveEntity.SetMeshCoordsXZ(#000a, #000e)
- 044b ActiveEntity.SetCoordsInMeshXZ(#0741, #1a88)
- 044f ActiveEntity.SetDirectionAndFacing(#0000)
- 0450 GOTO 083d
- }
- 0458 IF ((GetSpecial(0006) == #0015)) {
- 045f ActiveEntity.SetMeshCoordsXZ(#000c, #0011)
- 0465 ActiveEntity.SetCoordsInMeshXZ(#0e5d, #094a)
- 0469 ActiveEntity.SetDirectionAndFacing(#0000)
- 046a GOTO 083d
- }
- 0472 IF ((GetSpecial(0006) == #0016)) {
- 0479 ActiveEntity.SetMeshCoordsXZ(#000e, #000d)
- 047f ActiveEntity.SetCoordsInMeshXZ(#061c, #0ce0)
- 0483 ActiveEntity.SetDirectionAndFacing(#0000)
- 0484 GOTO 083d
- }
- 048c IF ((GetSpecial(0006) == #0017)) {
- 0493 ActiveEntity.SetMeshCoordsXZ(#0004, #000a)
- 0499 ActiveEntity.SetCoordsInMeshXZ(#141b, #1c3f)
- 049d ActiveEntity.SetDirectionAndFacing(#0000)
- 049e GOTO 083d
- }
- 04a6 IF ((GetSpecial(0006) == #0018)) {
- 04ad ActiveEntity.SetMeshCoordsXZ(#0006, #000f)
- 04b3 ActiveEntity.SetCoordsInMeshXZ(#0f9f, #14e9)
- 04b7 ActiveEntity.SetDirectionAndFacing(#00bc)
- 04b8 GOTO 083d
- }
- 04c0 IF ((GetSpecial(0006) == #0019)) {
- 04c7 ActiveEntity.SetMeshCoordsXZ(#0013, #000a)
- 04cd ActiveEntity.SetCoordsInMeshXZ(#03c0, #1f72)
- 04d1 ActiveEntity.SetDirectionAndFacing(#0000)
- 04d2 GOTO 083d
- }
- 04da IF ((GetSpecial(0006) == #001a)) {
- 04e1 ActiveEntity.SetMeshCoordsXZ(#0013, #0008)
- 04e7 ActiveEntity.SetCoordsInMeshXZ(#0720, #171b)
- 04eb ActiveEntity.SetDirectionAndFacing(#00c0)
- 04ec GOTO 083d
- }
- 04f4 IF ((GetSpecial(0006) == #001b)) {
- 04fb ActiveEntity.SetMeshCoordsXZ(#000f, #0008)
- 0501 ActiveEntity.SetCoordsInMeshXZ(#1817, #1d0b)
- 0505 ActiveEntity.SetDirectionAndFacing(#0000)
- 0506 GOTO 083d
- }
- 050e IF ((GetSpecial(0006) == #001c)) {
- 0515 ActiveEntity.SetMeshCoordsXZ(#0011, #0008)
- 051b ActiveEntity.SetCoordsInMeshXZ(#1cf4, #10a9)
- 051f ActiveEntity.SetDirectionAndFacing(#0060)
- 0520 GOTO 083d
- }
- 0528 IF ((GetSpecial(0006) == #001d)) {
- 052f ActiveEntity.SetMeshCoordsXZ(#0020, #0001)
- 0535 ActiveEntity.SetCoordsInMeshXZ(#0477, #16ad)
- 0539 ActiveEntity.SetDirectionAndFacing(#00e7)
- 053a GOTO 083d
- }
- 0542 IF ((GetSpecial(0006) == #0020)) {
- 0547 IF (Bank0[007e].Bit(1)) {
- 054c IF (Bank0[007e].Bit(0)) {
- 0551 LoadAndInitModel(#0004)
- 0552 EnterVehicle()
- }
- 0556 IF (Bank0[007e].Bit(2)) {
- 055b LoadAndInitModel(#0013)
- 055c EnterVehicle()
- }
- 0560 IF (Bank0[007e].Bit(3)) {
- 0565 LoadAndInitModel(#0013)
- 0566 EnterVehicle()
- }
- 056a IF (Bank0[007e].Bit(4)) {
- 056f LoadAndInitModel(#0013)
- 0570 EnterVehicle()
- }
- 0574 IF (Bank0[007e].Bit(5)) {
- 0579 LoadAndInitModel(#0013)
- 057a EnterVehicle()
- }
- 057e IF (Bank0[007e].Bit(6)) {
- 0583 LoadAndInitModel(#0013)
- 0584 EnterVehicle()
- }
- }
- 058a ActiveEntity.SetMeshCoordsXZ(GetSpecial(0000), GetSpecial(0001))
- 0590 ActiveEntity.SetCoordsInMeshXZ(GetSpecial(0002), GetSpecial(0003))
- 0594 ActiveEntity.SetDirectionAndFacing(GetSpecial(0004))
- 0595 GOTO 083d
- }
- 059d IF ((GetSpecial(0006) == #0021)) {
- 05a2 IF (Bank0[007f].Bit(0)) {
- 05a7 IF (Bank0[007f].Bit(1)) {
- 05ac LoadAndInitModel(#0006)
- 05ad EnterVehicle()
- }
- }
- 05b3 ActiveEntity.SetMeshCoordsXZ(GetSpecial(0000), GetSpecial(0001))
- 05b9 ActiveEntity.SetCoordsInMeshXZ(GetSpecial(0002), GetSpecial(0003))
- 05bd ActiveEntity.SetDirectionAndFacing(GetSpecial(0004))
- 05be GOTO 083d
- }
- 05c6 IF ((GetSpecial(0006) == #0022)) {
- 05cb IF (Bank0[007e].Bit(1)) {
- 05d0 IF (Bank0[007e].Bit(0)) {
- 05d5 LoadAndInitModel(#0004)
- 05d6 EnterVehicle()
- }
- 05da IF (Bank0[007e].Bit(2)) {
- 05df LoadAndInitModel(#0013)
- 05e0 EnterVehicle()
- }
- 05e4 IF (Bank0[007e].Bit(3)) {
- 05e9 LoadAndInitModel(#0013)
- 05ea EnterVehicle()
- }
- 05ee IF (Bank0[007e].Bit(4)) {
- 05f3 LoadAndInitModel(#0013)
- 05f4 EnterVehicle()
- }
- 05f8 IF (Bank0[007e].Bit(5)) {
- 05fd LoadAndInitModel(#0013)
- 05fe EnterVehicle()
- }
- 0602 IF (Bank0[007e].Bit(6)) {
- 0607 LoadAndInitModel(#0013)
- 0608 EnterVehicle()
- }
- }
- 060e ActiveEntity.SetMeshCoordsXZ(GetSpecial(0000), GetSpecial(0001))
- 0614 ActiveEntity.SetCoordsInMeshXZ(GetSpecial(0002), GetSpecial(0003))
- 0618 ActiveEntity.SetDirectionAndFacing(GetSpecial(0004))
- 0619 GOTO 083d
- }
- 0621 IF ((GetSpecial(0006) == #0024)) {
- 0626 LoadAndInitModel(#0008)
- 0627 SetCurrentEntityAsPlayerEntity()
- 0628 GOTO 083d
- }
- 0630 IF ((GetSpecial(0006) == #0025)) {
- 0635 LoadAndInitModel(#0008)
- 0636 SetCurrentEntityAsPlayerEntity()
- 0637 GOTO 083d
- }
- 063f IF ((GetSpecial(0006) == #0026)) {
- 0644 LoadAndInitModel(#0008)
- 0645 SetCurrentEntityAsPlayerEntity()
- 0646 GOTO 083d
- }
- 064e IF ((GetSpecial(0006) == #0027)) {
- 0653 LoadAndInitModel(#0008)
- 0654 SetCurrentEntityAsPlayerEntity()
- 0655 GOTO 083d
- }
- 065d IF ((GetSpecial(0006) == #0028)) {
- 0662 IF (Bank0[007f].Bit(2)) {
- 0667 LoadAndInitModel(#0005)
- 0668 EnterVehicle()
- }
- 066e ActiveEntity.SetMeshCoordsXZ(#0006, #0013)
- 0674 ActiveEntity.SetCoordsInMeshXZ(#1c3b, #0268)
- 0678 ActiveEntity.SetDirectionAndFacing(#0000)
- 0679 GOTO 083d
- }
- 0681 IF ((GetSpecial(0006) == #0029)) {
- 0686 IF (Bank0[007f].Bit(4)) {
- 068b LoadAndInitModel(#0003)
- 068c EnterVehicle()
- }
- 0692 ActiveEntity.SetMeshCoordsXZ(#0014, #0011)
- 0698 ActiveEntity.SetCoordsInMeshXZ(#11d1, #18c9)
- 0699 GOTO 083d
- }
- 06a1 IF ((GetSpecial(0006) == #002b)) {
- 06a8 ActiveEntity.SetMeshCoordsXZ(#000b, #0010)
- 06ae ActiveEntity.SetCoordsInMeshXZ(#095a, #1074)
- 06b2 ActiveEntity.SetDirectionAndFacing(#0080)
- 06b3 GOTO 083d
- }
- 06bb IF ((GetSpecial(0006) == #002c)) {
- 06c2 ActiveEntity.SetMeshCoordsXZ(#000b, #000f)
- 06c8 ActiveEntity.SetCoordsInMeshXZ(#0f70, #0e98)
- 06cc ActiveEntity.SetDirectionAndFacing(#0000)
- 06cd GOTO 083d
- }
- 06d5 IF ((GetSpecial(0006) == #002d)) {
- 06da IF (Bank0[007f].Bit(4)) {
- 06df IF (Bank0[007f].Bit(5)) {
- 06e4 IF (Bank0[0385].Bit(7)) {
- 06e9 LoadAndInitModel(#0013)
- 06ea EnterVehicle()
- }
- 06ee LoadAndInitModel(#0003)
- 06ef EnterVehicle()
- 06f3 IF (Bank0[0385].Bit(6)) {
- 06fa ActiveEntity.SetMeshCoordsXZ(#0010, #0004)
- 0700 ActiveEntity.SetCoordsInMeshXZ(#0033, #0f8b)
- 0706 WRITE Bank0[0385].Bit(6) = #0000
- }
- }
- }
- 0707 GOTO 083d
- }
- 070f IF ((GetSpecial(0006) == #002e)) {
- 0716 ActiveEntity.SetMeshCoordsXZ(#000a, #0010)
- 071c ActiveEntity.SetCoordsInMeshXZ(#1707, #07e3)
- 0720 ActiveEntity.SetDirectionAndFacing(#00e8)
- 0721 GOTO 083d
- }
- 0729 IF ((GetSpecial(0006) == #002f)) {
- 0730 ActiveEntity.SetMeshCoordsXZ(#000f, #0008)
- 0736 ActiveEntity.SetCoordsInMeshXZ(#182b, #161f)
- 073a ActiveEntity.SetDirectionAndFacing(#0080)
- 073b GOTO 083d
- }
- 0743 IF ((GetSpecial(0006) == #0030)) {
- 074a ActiveEntity.SetMeshCoordsXZ(#0010, #0006)
- 0750 ActiveEntity.SetCoordsInMeshXZ(#13d9, #1420)
- 0754 ActiveEntity.SetDirectionAndFacing(#00e3)
- 0755 GOTO 083d
- }
- 075d IF ((GetSpecial(0006) == #0031)) {
- 0768 Op319(((GetSpecial(0007) & #00fc) | #0002))
- 076e ActiveEntity.SetMeshCoordsXZ(#000a, #000e)
- 0774 ActiveEntity.SetCoordsInMeshXZ(#0a37, #0fc1)
- 0778 ActiveEntity.SetDirectionAndFacing(#0080)
- 0779 GOTO 083d
- }
- 0781 IF ((GetSpecial(0006) == #0033)) {
- 0786 IF (Bank0[007f].Bit(4)) {
- 078b LoadAndInitModel(#0003)
- 078c EnterVehicle()
- 0790 LoadAndInitModel(#000a)
- }
- 0791 GOTO 083d
- }
- 0799 IF ((GetSpecial(0006) == #0035)) {
- 07a0 ActiveEntity.SetMeshCoordsXZ(GetSpecial(0000), GetSpecial(0001))
- 07a6 ActiveEntity.SetCoordsInMeshXZ(GetSpecial(0002), GetSpecial(0003))
- 07aa ActiveEntity.SetDirectionAndFacing(GetSpecial(0004))
- 07ab GOTO 083d
- }
- 07b3 IF ((GetSpecial(0006) == #0036)) {
- 07b8 IF (Bank0[0352].Bit(2)) {
- 07bd LoadAndInitModel(#000d)
- 07be EnterVehicle()
- }
- 07c4 ActiveEntity.SetMeshCoordsXZ(#0014, #0011)
- 07ca ActiveEntity.SetCoordsInMeshXZ(#0fe1, #1880)
- 07ce ActiveEntity.SetDirectionAndFacing(#00c0)
- 07cf GOTO 083d
- }
- 07d7 IF ((GetSpecial(0006) == #0037)) {
- 07de ActiveEntity.SetMeshCoordsXZ(#000b, #0016)
- 07e4 ActiveEntity.SetCoordsInMeshXZ(#0b50, #0247)
- 07e8 ActiveEntity.SetDirectionAndFacing(#0000)
- 07e9 GOTO 083d
- }
- 07f1 IF ((GetSpecial(0006) == #0039)) {
- 07f8 ActiveEntity.SetMeshCoordsXZ(#0013, #000a)
- 07fe ActiveEntity.SetCoordsInMeshXZ(#1d13, #0f0c)
- 0802 ActiveEntity.SetDirectionAndFacing(#0080)
- 0803 GOTO 083d
- }
- 080b IF ((GetSpecial(0006) == #003a)) {
- 0812 ActiveEntity.SetMeshCoordsXZ(#0013, #000a)
- 0818 ActiveEntity.SetCoordsInMeshXZ(#19f2, #00f9)
- 081c ActiveEntity.SetDirectionAndFacing(#0019)
- 081d GOTO 083d
- }
- 0825 IF ((GetSpecial(0006) == #003b)) {
- 082a IF (Bank0[007f].Bit(4)) {
- 082f LoadAndInitModel(#0003)
- 0830 EnterVehicle()
- 0836 ActiveEntity.SetMeshCoordsXZ(#0010, #0004)
- 083c ActiveEntity.SetCoordsInMeshXZ(#0033, #0f8b)
- }
- }
- 083d GOTO 0a6b
- }
- 0843 IF ((!Bank0[007b].Bit(3))) {
- 0848 IF (Bank0[0386].Bit(4)) {
- 084d LoadAndInitModel(#001d)
- 0853 WRITE Bank0[0387].Bit(4) = #0001
- }
- }
- 0857 IF (Bank0[007b].Bit(0)) {
- 085d IF ((!Bank0[0386].Bit(4))) {
- 0862 IF (Bank0[0387].Bit(0)) {
- 0867 LoadAndInitModel(#0003)
- 0868 EnterVehicle()
- 086c LoadAndInitModel(#000b)
- }
- }
- }
- 0871 IF ((!Bank0[007a].Bit(0))) {
- 0876 LoadAndInitModel(#0007)
- }
- 087a IF (Bank0[007a].Bit(3)) {
- 087f LoadAndInitModel(#0014)
- }
- 0884 IF ((!Bank0[007a].Bit(1))) {
- 0889 LoadAndInitModel(#000f)
- }
- 088e IF ((!Bank0[0351])) {
- 0893 LoadAndInitModel(#000c)
- }
- 089a IF ((Bank0_16bit[0000] < #062c)) {
- 089f LoadAndInitModel(#0018)
- }
- 08a3 LoadAndInitModel(#000e)
- 08a7 LoadAndInitModel(#0010)
- 08ab LoadAndInitModel(#0019)
- 08b0 IF ((!Bank0[007b].Bit(0))) {
- 08b8 IF ((Bank0_16bit[0000] >= #062c)) {
- 08bd LoadAndInitModel(#000b)
- }
- }
- 08c1 IF (Bank0[0352].Bit(3)) {
- 08c6 LoadAndInitModel(#000a)
- }
- 08ca IF (Bank0[007f].Bit(0)) {
- 08cf LoadAndInitModel(#0006)
- }
- 08d3 IF (Bank0[007f].Bit(2)) {
- 08d8 LoadAndInitModel(#0005)
- }
- 08dc IF (Bank0[007f].Bit(4)) {
- 08e1 LoadAndInitModel(#0003)
- }
- 08e5 IF (Bank0[0350].Bit(3)) {
- 08ea LoadAndInitModel(#000d)
- }
- 08ee IF (Bank0[0352].Bit(2)) {
- 08f3 LoadAndInitModel(#000d)
- }
- 08f7 IF (Bank0[0384].Bit(0)) {
- 08fc IF (Bank0[007e].Bit(0)) {
- 0901 LoadAndInitModel(#0004)
- }
- 0905 IF (Bank0[007e].Bit(2)) {
- 090a LoadAndInitModel(#0013)
- }
- 090e IF (Bank0[007e].Bit(3)) {
- 0913 LoadAndInitModel(#0013)
- }
- 0917 IF (Bank0[007e].Bit(4)) {
- 091c LoadAndInitModel(#0013)
- }
- 0920 IF (Bank0[007e].Bit(5)) {
- 0925 LoadAndInitModel(#0013)
- }
- 0929 IF (Bank0[007e].Bit(6)) {
- 092e LoadAndInitModel(#0013)
- }
- }
- 0932 LoadAndInitModel(GetSpecial(000e))
- 0933 SetCurrentEntityAsPlayerEntity()
- 0937 IF (Bank0[0384].Bit(0)) {
- 093c IF (Bank0[007e].Bit(1)) {
- 0941 IF (Bank0[007e].Bit(2)) {
- 0946 LoadAndInitModel(#0013)
- }
- 094a IF (Bank0[007e].Bit(3)) {
- 094f LoadAndInitModel(#0013)
- }
- 0953 IF (Bank0[007e].Bit(4)) {
- 0958 LoadAndInitModel(#0013)
- }
- 095c IF (Bank0[007e].Bit(5)) {
- 0961 LoadAndInitModel(#0013)
- }
- 0965 IF (Bank0[007e].Bit(6)) {
- 096a LoadAndInitModel(#0013)
- }
- 096e IF (Bank0[007e].Bit(0)) {
- 0973 LoadAndInitModel(#0004)
- }
- 0974 EnterVehicle()
- }
- 0978 IF (GetSpecial(000a)) {
- 097a Op320()
- 0980 WRITE Bank0[0384].Bit(0) = #0000
- 0984 IF (Bank0[0384].Bit(1)) {
- 098b ActiveEntity.SetMeshCoordsXZ(#001b, #0011)
- 0991 ActiveEntity.SetCoordsInMeshXZ(#1b42, #0737)
- 0995 ActiveEntity.SetDirectionAndFacing(#00e0)
- 0996 GOTO 09a8
- }
- 099d ActiveEntity.SetMeshCoordsXZ(#001a, #0012)
- 09a3 ActiveEntity.SetCoordsInMeshXZ(#0cbd, #0fe6)
- 09a7 ActiveEntity.SetDirectionAndFacing(#0060)
- 09a8 GOTO 09b6
- }
- 09af WRITE Bank0[0381] = #005a
- 09b5 WRITE Bank0[0384].Bit(0) = #0000
- 09b6 GOTO 0a64
- }
- 09b8 Op320()
- 09be WRITE Bank0[0384].Bit(0) = #0000
- 09c2 IF (Bank0[0054]) {
- 09c9 WRITE Bank0[0054] = #0000
- 09cf WRITE Bank0[007e].Bit(1) = #0001
- 09d5 WRITE Bank0[007e].Bit(0) = #0001
- 09db WRITE Bank0[0382] = GetSpecial(0000)
- 09e1 WRITE Bank0[0383] = GetSpecial(0001)
- 09e7 WRITE Bank0_16bit[0388] = GetSpecial(0002)
- 09ed WRITE Bank0_16bit[038a] = GetSpecial(0003)
- 09f1 LoadAndInitModel(#0004)
- 09f7 ActiveEntity.SetMeshCoordsXZ(Bank0[0382], Bank0[0383])
- 09fd ActiveEntity.SetCoordsInMeshXZ(Bank0_16bit[0388], Bank0_16bit[038a])
- 09fe EnterVehicle()
- 0a02 IF (Bank0[007e].Bit(2)) {
- 0a07 LoadAndInitModel(#0013)
- }
- 0a0b IF (Bank0[007e].Bit(3)) {
- 0a10 LoadAndInitModel(#0013)
- }
- 0a14 IF (Bank0[007e].Bit(4)) {
- 0a19 LoadAndInitModel(#0013)
- }
- 0a1d IF (Bank0[007e].Bit(5)) {
- 0a22 LoadAndInitModel(#0013)
- }
- 0a26 IF (Bank0[007e].Bit(6)) {
- 0a2b LoadAndInitModel(#0013)
- }
- 0a2c GOTO 0a64
- }
- 0a31 IF (Bank0[007e].Bit(0)) {
- 0a36 LoadAndInitModel(#0004)
- }
- 0a3a IF (Bank0[007e].Bit(2)) {
- 0a3f LoadAndInitModel(#0013)
- }
- 0a43 IF (Bank0[007e].Bit(3)) {
- 0a48 LoadAndInitModel(#0013)
- }
- 0a4c IF (Bank0[007e].Bit(4)) {
- 0a51 LoadAndInitModel(#0013)
- }
- 0a55 IF (Bank0[007e].Bit(5)) {
- 0a5a LoadAndInitModel(#0013)
- }
- 0a5e IF (Bank0[007e].Bit(6)) {
- 0a63 LoadAndInitModel(#0013)
- }
- 0a64 Op320()
- 0a6a WRITE Bank0[0384].Bit(0) = #0000
- 0a70 SetActivePoint(#0000, #0001)
- 0a76 SetPointMeshCoordsXZ(#0016, #000e)
- 0a7c SetPointCoordsInMeshXZ(#1505, #14e1)
- 0a84 SetPointTerrainBGR(#003c, #005a, #0064)
- 0a8a SetPointDropoffParams(#000a, #000a)
- 0a92 SetPointSkyBGR(#0000, #0000, #0041)
- 0a9a SetPointOtherBGR(#0091, #00ff, #00be)
- 0aa0 SetActivePoint(#0001, #0001)
- 0aa6 SetPointMeshCoordsXZ(#0010, #0004)
- 0aac SetPointCoordsInMeshXZ(#0001, #0f9f)
- 0ab4 SetPointTerrainBGR(#003c, #0078, #008c)
- 0aba SetPointDropoffParams(#000a, #000a)
- 0ac2 SetPointSkyBGR(#0000, #0005, #0037)
- 0aca SetPointOtherBGR(#00c3, #00ff, #00eb)
- 0ad0 SetActivePoint(#0002, #0001)
- 0ad6 SetPointMeshCoordsXZ(#000a, #0014)
- 0adc SetPointCoordsInMeshXZ(#15e0, #17f2)
- 0ae4 SetPointTerrainBGR(#00ff, #0082, #0028)
- 0aea SetPointDropoffParams(#000a, #000a)
- 0af2 SetPointSkyBGR(#0082, #0078, #00b4)
- 0afa SetPointOtherBGR(#00f0, #0064, #0032)
- 0b00 SetActivePoint(#0003, #0000)
- 0b06 SetPointMeshCoordsXZ(#000e, #0012)
- 0b0c SetPointCoordsInMeshXZ(#14ad, #1deb)
- 0b12 SetActivePoint(#0004, #0000)
- 0b18 SetPointMeshCoordsXZ(#0016, #0012)
- 0b1e SetPointCoordsInMeshXZ(#1b5d, #0042)
- 0b24 SetActivePoint(#0005, #0000)
- 0b2a SetPointMeshCoordsXZ(#000f, #0008)
- 0b30 SetPointCoordsInMeshXZ(#18ad, #1270)
- 0b36 SetActivePoint(#0009, #0000)
- 0b3c SetPointMeshCoordsXZ(#0016, #000e)
- 0b42 SetPointCoordsInMeshXZ(#1505, #14e1)
- 0b48 SetActivePoint(#000a, #0000)
- 0b4e SetPointMeshCoordsXZ(#0018, #0014)
- 0b54 SetPointCoordsInMeshXZ(#1a36, #15dc)
- 0b5a SetActivePoint(#000b, #0000)
- 0b60 SetPointMeshCoordsXZ(#000d, #000e)
- 0b66 SetPointCoordsInMeshXZ(#0cb9, #1763)
- 0b6c SetActivePoint(#000c, #0000)
- 0b72 SetPointMeshCoordsXZ(#000d, #0016)
- 0b78 SetPointCoordsInMeshXZ(#18d9, #086d)
- 0b7e SetActivePoint(#000d, #0000)
- 0b84 SetPointMeshCoordsXZ(#000b, #000f)
- 0b8a SetPointCoordsInMeshXZ(#0b45, #1896)
- 0b90 SetActivePoint(#000e, #0000)
- 0b96 SetPointMeshCoordsXZ(#0010, #0004)
- 0b9c SetPointCoordsInMeshXZ(#0001, #0f9f)
- 0ba2 SetActivePoint(#000f, #0000)
- 0ba8 SetPointMeshCoordsXZ(#001a, #0018)
- 0bae SetPointCoordsInMeshXZ(#1b7e, #13ab)
- 0bb5 IF ((Bank0_16bit[0000] == #063c)) {
- 0bba SendSoundCommand(#0007)
- 0bbb GOTO 0bd1
- }
- 0bc0 IF (Bank0[0352].Bit(3)) {
- 0bc5 IF (Bank0[0385].Bit(4)) {
- 0bcb IF ((!Bank0[0385].Bit(1))) {
- 0bd0 SendSoundCommand(#0006)
- }
- }
- }
- 0bd1 RETURN
- Function 0bd2
- Called by:
- System.Function($OnEnterHighwind)
- Addr Code
- 0bd8 IF ((Bank0_16bit[0000] < #04af)) {
- 0bdf EnterFieldScene(#0032, #0000)
- 0be0 GOTO 0bf0
- }
- 0be8 IF ((Bank0_16bit[0000] > #04af)) {
- 0bef EnterFieldScene(#0032, #0001)
- }
- 0bf0 RETURN
- Function 0bf1
- Called by:
- System.Function($UnknownFunc10)
- Addr Code
- 0bf6 Op333(Bank1[0002], #0040)
- 0bfa ActiveEntity.MoveToModel(Bank1[0002])
- 0c00 ActiveEntity.PlayAnimation(#0004, #0000)
- 0c04 SetNumWaitFrames(#000f)
- 0c05 Wait()
- 0c0b ActiveEntity.PlayAnimation(#0002, #0001)
- 0c0f SetControlsEnabled(#0001)
- 0c10 RETURN
- Function 0c11
- Called by:
- System.Function($UnknownFunc11)
- Addr Code
- 0c16 ActiveEntity.PlayAnimation(#0005, #0000)
- 0c1a SetNumWaitFrames(#000f)
- 0c1b Wait()
- 0c21 ActiveEntity.PlayAnimation(#0000, #0001)
- 0c2a Op353()
- 0c31 ActiveEntity.SetDirectionAndFacing((Bank1[0003] + #00c0))
- 0c35 SetControlsEnabled(#0001)
- 0c39 SetControlsEnabled(#0000)
- 0c3a RETURN
- Function 0c3b
- Called by:
- System.Function($UnknownFunc12)
- Addr Code
- 0c41 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 0c45 ActiveEntity.SetMoveSpeed(#0014)
- 0c49 SetNumWaitFrames(#0005)
- 0c4a Wait()
- 0c4e ActiveEntity.SetMoveSpeed(#0000)
- 0c54 SetWindowParams(#0000, #0000)
- 0c5b IF ((GetSpecial(0008) == #0000)) {
- 0c5d WaitForWindowReady()
- 0c67 SetWindowDimensions(#0034, #00a0, #00d9, #0029)
- 0c68 WaitForWindowReady()
- 0c6c SetWindowMessage(#0031)
- 0c6d GOTO 0ca1
- }
- 0c75 IF ((GetSpecial(0008) == #0001)) {
- 0c77 WaitForWindowReady()
- 0c81 SetWindowDimensions(#004c, #00a0, #00a7, #0039)
- 0c82 WaitForWindowReady()
- 0c86 SetWindowMessage(#0032)
- 0c87 GOTO 0ca1
- }
- 0c8f IF ((GetSpecial(0008) == #0002)) {
- 0c91 WaitForWindowReady()
- 0c9b SetWindowDimensions(#0039, #00a0, #00cc, #0039)
- 0c9c WaitForWindowReady()
- 0ca0 SetWindowMessage(#0033)
- }
- 0ca1 WaitForMessageAcknowledge()
- 0ca5 SetControlsEnabled(#0001)
- 0ca9 SetRandomEncountersEnabled(#0001)
- 0caa RETURN
- Function 0cab
- Called by:
- System.Function($UnknownFunc13)
- Addr Code
- 0cb0 Op333(#0004, #0000)
- 0cb7 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 0cbb ActiveEntity.SetMoveSpeed(#0014)
- 0cbf SetNumWaitFrames(#0005)
- 0cc0 Wait()
- 0cc4 ActiveEntity.SetMoveSpeed(#0000)
- 0cc8 SetNumWaitFrames(#001e)
- 0cc9 Wait()
- 0ccf SetWindowParams(#0000, #0000)
- 0cd6 IF ((GetSpecial(0008) == #0000)) {
- 0cd8 WaitForWindowReady()
- 0ce2 SetWindowDimensions(#002d, #00a0, #00e6, #0029)
- 0ce3 WaitForWindowReady()
- 0ce7 SetWindowMessage(#0026)
- 0ce8 GOTO 0d02
- }
- 0cf0 IF ((GetSpecial(0008) == #0001)) {
- 0cf2 WaitForWindowReady()
- 0cfc SetWindowDimensions(#003d, #00a0, #00c5, #0029)
- 0cfd WaitForWindowReady()
- 0d01 SetWindowMessage(#0028)
- }
- 0d02 WaitForMessageAcknowledge()
- 0d06 SetNumWaitFrames(#001e)
- 0d07 Wait()
- 0d0e ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 0d14 SetWindowParams(#0000, #0000)
- 0d1b IF ((GetSpecial(0008) == #0000)) {
- 0d1d WaitForWindowReady()
- 0d27 SetWindowDimensions(#0050, #00a0, #00a0, #0039)
- 0d28 WaitForWindowReady()
- 0d2c SetWindowMessage(#0027)
- 0d2d GOTO 0d47
- }
- 0d35 IF ((GetSpecial(0008) == #0001)) {
- 0d37 WaitForWindowReady()
- 0d41 SetWindowDimensions(#003d, #00a0, #00c5, #0039)
- 0d42 WaitForWindowReady()
- 0d46 SetWindowMessage(#0029)
- }
- 0d47 WaitForMessageAcknowledge()
- 0d4d WRITE Bank0[007e].Bit(1) = #0000
- 0d51 SetRandomEncountersEnabled(#0001)
- 0d55 SetControlsEnabled(#0001)
- 0d56 RETURN
- Function 0d57
- Called by:
- System.Function($UnknownFunc14)
- Addr Code
- 0d5c Op333(#0004, #0000)
- 0d62 SetWindowParams(#0000, #0000)
- 0d69 IF ((GetSpecial(0008) == #0000)) {
- 0d6b WaitForWindowReady()
- 0d75 SetWindowDimensions(#005b, #00a0, #0089, #0049)
- 0d7d WaitForWindowReady()
- 0d7e SetWindowPrompt(#002b, #0002, #0003)
- 0d7f WaitForPromptAcknowledge()
- 0d80 GOTO 0dbe
- }
- 0d88 IF ((GetSpecial(0008) == #0001)) {
- 0d8a WaitForWindowReady()
- 0d94 SetWindowDimensions(#0056, #00a0, #0093, #0049)
- 0d9c WaitForWindowReady()
- 0d9d SetWindowPrompt(#002d, #0002, #0003)
- 0d9e WaitForPromptAcknowledge()
- 0d9f GOTO 0dbe
- }
- 0da7 IF ((GetSpecial(0008) == #0002)) {
- 0da9 WaitForWindowReady()
- 0db3 SetWindowDimensions(#0053, #00a0, #0099, #0049)
- 0dbb WaitForWindowReady()
- 0dbc SetWindowPrompt(#002f, #0002, #0003)
- 0dbd WaitForPromptAcknowledge()
- }
- 0dc4 IF ((GetSpecial(000c) == #0002)) {
- 0dcb WRITE Bank0[038c] = GetSpecial(0009)
- 0dd0 IF ((!Bank0[0055])) {
- 0dd7 WRITE Bank0[0055] = Bank0[038c]
- 0dd8 GOTO 0e1c
- }
- 0dde IF ((!Bank0[0056])) {
- 0de5 WRITE Bank0[0056] = Bank0[038c]
- 0de6 GOTO 0e1c
- }
- 0dec IF ((!Bank0[0057])) {
- 0df3 WRITE Bank0[0057] = Bank0[038c]
- 0df4 GOTO 0e1c
- }
- 0dfa IF ((!Bank0[0058])) {
- 0e01 WRITE Bank0[0058] = Bank0[038c]
- 0e02 GOTO 0e1c
- }
- 0e09 WRITE Bank0[0055] = Bank0[0056]
- 0e0f WRITE Bank0[0056] = Bank0[0057]
- 0e15 WRITE Bank0[0057] = Bank0[0058]
- 0e1b WRITE Bank0[0058] = Bank0[038c]
- }
- 0e1c RETURN
- Function 0e1d
- Called by:
- System.Function($UnknownFunc15)
- Model($CloudModel).Function($UnknownFunc15)
- Addr Code
- 0e20 SetControlsEnabled(#0000)
- 0e24 SetRandomEncountersEnabled(#0000)
- 0e28 Op321(#0003)
- 0e2d IF ((!Bank0[0384].Bit(2))) {
- 0e2f WaitForWindowReady()
- 0e39 SetWindowDimensions(#0060, #00a0, #007f, #0029)
- 0e3f SetWindowParams(#0000, #0001)
- 0e40 WaitForWindowReady()
- 0e44 SetWindowMessage(#0014)
- 0e4a ActiveEntity.PlayAnimation(#0006, #0000)
- 0e4e ActiveEntity.SetMoveSpeed(#0014)
- 0e52 SetNumWaitFrames(#0028)
- 0e53 Wait()
- 0e54 WaitForWindowReady()
- 0e55 WaitForWindowReady()
- 0e5f SetWindowDimensions(#0076, #00a0, #0054, #0029)
- 0e65 SetWindowParams(#0000, #0001)
- 0e66 WaitForWindowReady()
- 0e6a SetWindowMessage(#0015)
- 0e70 ActiveEntity.PlayAnimation(#0000, #0001)
- 0e74 ActiveEntity.SetMoveSpeed(#0014)
- 0e7b ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 0e7f IF (GetSpecial(000d)) {
- 0e84 SetNumWaitFrames(#0001)
- 0e85 Wait()
- 0e86 GOTO 0e7c
- }
- 0e88 WaitForWindowReady()
- 0e8c ActiveEntity.SetMoveSpeed(#0000)
- 0e90 SetNumWaitFrames(#000a)
- 0e91 Wait()
- 0e98 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 0e9e ActiveEntity.PlayAnimation(#0007, #0000)
- 0e9f WaitForWindowReady()
- 0ea9 SetWindowDimensions(#0032, #00a0, #00dc, #0029)
- 0eaf SetWindowParams(#0000, #0000)
- 0eb0 WaitForWindowReady()
- 0eb4 SetWindowMessage(#0016)
- 0eb5 WaitForMessageAcknowledge()
- 0ebb WRITE Bank0[0384].Bit(2) = #0001
- 0ebc GOTO 0f02
- }
- 0ec1 ActiveEntity.SetMoveSpeed(#0028)
- 0ec8 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 0ecc IF (GetSpecial(000d)) {
- 0ed1 SetNumWaitFrames(#0001)
- 0ed2 Wait()
- 0ed3 GOTO 0ec9
- }
- 0ed8 ActiveEntity.SetMoveSpeed(#0000)
- 0edc SetNumWaitFrames(#000a)
- 0edd Wait()
- 0ee4 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 0eea ActiveEntity.PlayAnimation(#0007, #0000)
- 0eeb WaitForWindowReady()
- 0ef5 SetWindowDimensions(#003c, #00a0, #00d2, #0039)
- 0efb SetWindowParams(#0000, #0000)
- 0efc WaitForWindowReady()
- 0f00 SetWindowMessage(#0017)
- 0f01 WaitForMessageAcknowledge()
- 0f07 ActiveEntity.PlayAnimation(#0000, #0001)
- 0f0b SetControlsEnabled(#0001)
- 0f0f SetRandomEncountersEnabled(#0001)
- 0f10 RETURN
- Function 0f11
- Called by:
- Model($TifaModel).Function($UnknownFunc15)
- Addr Code
- 0f14 SetControlsEnabled(#0000)
- 0f18 SetRandomEncountersEnabled(#0000)
- 0f1c Op321(#0003)
- 0f21 IF ((!Bank0[0384].Bit(2))) {
- 0f23 WaitForWindowReady()
- 0f2d SetWindowDimensions(#006c, #00a0, #0068, #0029)
- 0f33 SetWindowParams(#0000, #0001)
- 0f34 WaitForWindowReady()
- 0f38 SetWindowMessage(#0018)
- 0f3e ActiveEntity.PlayAnimation(#0006, #0000)
- 0f42 ActiveEntity.SetMoveSpeed(#0014)
- 0f46 SetNumWaitFrames(#0028)
- 0f47 Wait()
- 0f48 WaitForWindowReady()
- 0f49 WaitForWindowReady()
- 0f53 SetWindowDimensions(#004c, #00a0, #00a7, #0029)
- 0f59 SetWindowParams(#0000, #0001)
- 0f5a WaitForWindowReady()
- 0f5e SetWindowMessage(#0019)
- 0f64 ActiveEntity.PlayAnimation(#0000, #0001)
- 0f68 ActiveEntity.SetMoveSpeed(#0014)
- 0f6f ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 0f73 IF (GetSpecial(000d)) {
- 0f78 SetNumWaitFrames(#0001)
- 0f79 Wait()
- 0f7a GOTO 0f70
- }
- 0f7c WaitForWindowReady()
- 0f80 ActiveEntity.SetMoveSpeed(#0000)
- 0f84 SetNumWaitFrames(#000a)
- 0f85 Wait()
- 0f8c ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 0f92 ActiveEntity.PlayAnimation(#0007, #0000)
- 0f93 WaitForWindowReady()
- 0f9d SetWindowDimensions(#0038, #00a0, #00cf, #0039)
- 0fa3 SetWindowParams(#0000, #0000)
- 0fa4 WaitForWindowReady()
- 0fa8 SetWindowMessage(#001a)
- 0fa9 WaitForMessageAcknowledge()
- 0faf WRITE Bank0[0384].Bit(2) = #0001
- 0fb0 GOTO 0ff6
- }
- 0fb5 ActiveEntity.SetMoveSpeed(#0028)
- 0fbc ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 0fc0 IF (GetSpecial(000d)) {
- 0fc5 SetNumWaitFrames(#0001)
- 0fc6 Wait()
- 0fc7 GOTO 0fbd
- }
- 0fcc ActiveEntity.SetMoveSpeed(#0000)
- 0fd0 SetNumWaitFrames(#000a)
- 0fd1 Wait()
- 0fd8 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 0fde ActiveEntity.PlayAnimation(#0007, #0000)
- 0fdf WaitForWindowReady()
- 0fe9 SetWindowDimensions(#0033, #00a0, #00d9, #0039)
- 0fef SetWindowParams(#0000, #0000)
- 0ff0 WaitForWindowReady()
- 0ff4 SetWindowMessage(#001b)
- 0ff5 WaitForMessageAcknowledge()
- 0ffb ActiveEntity.PlayAnimation(#0000, #0001)
- 0fff SetControlsEnabled(#0001)
- 1003 SetRandomEncountersEnabled(#0001)
- 1004 RETURN
- Function 1005
- Called by:
- Model($CidModel).Function($UnknownFunc15)
- Addr Code
- 1008 SetControlsEnabled(#0000)
- 100c SetRandomEncountersEnabled(#0000)
- 1010 Op321(#0003)
- 1015 IF ((!Bank0[0384].Bit(2))) {
- 1017 WaitForWindowReady()
- 1021 SetWindowDimensions(#005d, #00a0, #0086, #0029)
- 1027 SetWindowParams(#0000, #0001)
- 1028 WaitForWindowReady()
- 102c SetWindowMessage(#001c)
- 1032 ActiveEntity.PlayAnimation(#0006, #0000)
- 1036 ActiveEntity.SetMoveSpeed(#0014)
- 103a SetNumWaitFrames(#0028)
- 103b Wait()
- 103c WaitForWindowReady()
- 103d WaitForWindowReady()
- 1047 SetWindowDimensions(#0049, #00a0, #00ae, #0029)
- 104d SetWindowParams(#0000, #0001)
- 104e WaitForWindowReady()
- 1052 SetWindowMessage(#001d)
- 1058 ActiveEntity.PlayAnimation(#0000, #0001)
- 105c ActiveEntity.SetMoveSpeed(#0014)
- 1063 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 1067 IF (GetSpecial(000d)) {
- 106c SetNumWaitFrames(#0001)
- 106d Wait()
- 106e GOTO 1064
- }
- 1070 WaitForWindowReady()
- 1074 ActiveEntity.SetMoveSpeed(#0000)
- 1078 SetNumWaitFrames(#000a)
- 1079 Wait()
- 1080 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 1086 ActiveEntity.PlayAnimation(#0007, #0000)
- 1087 WaitForWindowReady()
- 1091 SetWindowDimensions(#0035, #00a0, #00d6, #0029)
- 1097 SetWindowParams(#0000, #0000)
- 1098 WaitForWindowReady()
- 109c SetWindowMessage(#001e)
- 109d WaitForMessageAcknowledge()
- 10a3 WRITE Bank0[0384].Bit(2) = #0001
- 10a4 GOTO 10ea
- }
- 10a9 ActiveEntity.SetMoveSpeed(#0028)
- 10b0 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 10b4 IF (GetSpecial(000d)) {
- 10b9 SetNumWaitFrames(#0001)
- 10ba Wait()
- 10bb GOTO 10b1
- }
- 10c0 ActiveEntity.SetMoveSpeed(#0000)
- 10c4 SetNumWaitFrames(#000a)
- 10c5 Wait()
- 10cc ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 10d2 ActiveEntity.PlayAnimation(#0007, #0000)
- 10d3 WaitForWindowReady()
- 10dd SetWindowDimensions(#0033, #00a0, #00d9, #0029)
- 10e3 SetWindowParams(#0000, #0000)
- 10e4 WaitForWindowReady()
- 10e8 SetWindowMessage(#001f)
- 10e9 WaitForMessageAcknowledge()
- 10ef ActiveEntity.PlayAnimation(#0000, #0001)
- 10f3 SetControlsEnabled(#0001)
- 10f7 SetRandomEncountersEnabled(#0001)
- 10f8 RETURN
- Function 10f9
- Called by:
- Model($UnknownModel4).Function($UnknownFunc15)
- Addr Code
- 10fc SetControlsEnabled(#0000)
- 1100 SetRandomEncountersEnabled(#0000)
- 1104 Op321(#0003)
- 1109 IF ((!Bank0[0384].Bit(2))) {
- 110b WaitForWindowReady()
- 1115 SetWindowDimensions(#0076, #00a0, #0054, #0019)
- 111b SetWindowParams(#0000, #0001)
- 111c WaitForWindowReady()
- 1120 SetWindowMessage(#0020)
- 1127 ActiveEntity.PlayAnimation((-#0001), #0000)
- 112b ActiveEntity.SetMoveSpeed(#0014)
- 112f SetNumWaitFrames(#001e)
- 1130 Wait()
- 1131 WaitForWindowReady()
- 1135 PlaySoundEffect(#0114)
- 113b ActiveEntity.PlayAnimation(#0000, #0001)
- 113f ActiveEntity.SetMoveSpeed(#0014)
- 1146 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 114a IF (GetSpecial(000d)) {
- 114f SetNumWaitFrames(#0001)
- 1150 Wait()
- 1151 GOTO 1147
- }
- 1156 ActiveEntity.SetMoveSpeed(#0000)
- 115a SetNumWaitFrames(#001e)
- 115b Wait()
- 1162 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 1163 WaitForWindowReady()
- 116d SetWindowDimensions(#0058, #00a0, #0090, #0019)
- 1173 SetWindowParams(#0000, #0000)
- 1174 WaitForWindowReady()
- 1178 SetWindowMessage(#0021)
- 1179 WaitForMessageAcknowledge()
- 117f WRITE Bank0[0384].Bit(2) = #0001
- 1180 GOTO 11db
- }
- 1185 PlaySoundEffect(#0114)
- 118b ActiveEntity.PlayAnimation(#0000, #0001)
- 118f ActiveEntity.SetMoveSpeed(#0028)
- 1196 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 119a IF (GetSpecial(000d)) {
- 119f SetNumWaitFrames(#0001)
- 11a0 Wait()
- 11a1 GOTO 1197
- }
- 11a6 ActiveEntity.SetMoveSpeed(#0000)
- 11aa SetNumWaitFrames(#000a)
- 11ab Wait()
- 11b2 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 11b7 IF ((!Bank0[0384].Bit(3))) {
- 11bc SetNumWaitFrames(#001e)
- 11bd Wait()
- 11be WaitForWindowReady()
- 11c8 SetWindowDimensions(#0058, #00a0, #0090, #0019)
- 11ce SetWindowParams(#0000, #0000)
- 11cf WaitForWindowReady()
- 11d3 SetWindowMessage(#0021)
- 11d4 WaitForMessageAcknowledge()
- 11da WRITE Bank0[0384].Bit(3) = #0001
- }
- 11de SetRandomEncountersEnabled(#0001)
- 11e2 SetControlsEnabled(#0001)
- 11e3 RETURN
- Function 11e4
- Called by:
- Model($ChocoboModel).Function($UnknownFunc15)
- Addr Code
- 11e8 IF ((!Bank0[007e].Bit(6))) {
- 11ed SetControlsEnabled(#0000)
- 11f1 SetRandomEncountersEnabled(#0000)
- 11f5 Op321(#0003)
- 11fa IF ((!Bank0[0384].Bit(2))) {
- 11fc WaitForWindowReady()
- 1206 SetWindowDimensions(#0076, #00a0, #0054, #0019)
- 120c SetWindowParams(#0000, #0001)
- 120d WaitForWindowReady()
- 1211 SetWindowMessage(#0020)
- 1218 ActiveEntity.PlayAnimation((-#0001), #0000)
- 121c ActiveEntity.SetMoveSpeed(#0014)
- 1220 SetNumWaitFrames(#001e)
- 1221 Wait()
- 1222 WaitForWindowReady()
- 1226 PlaySoundEffect(#0114)
- 122c ActiveEntity.PlayAnimation(#0000, #0001)
- 1230 ActiveEntity.SetMoveSpeed(#0014)
- 1237 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 123b IF (GetSpecial(000d)) {
- 1240 SetNumWaitFrames(#0001)
- 1241 Wait()
- 1242 GOTO 1238
- }
- 1247 ActiveEntity.SetMoveSpeed(#0000)
- 124b SetNumWaitFrames(#001e)
- 124c Wait()
- 1253 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 1254 WaitForWindowReady()
- 125e SetWindowDimensions(#0058, #00a0, #0090, #0019)
- 1264 SetWindowParams(#0000, #0000)
- 1265 WaitForWindowReady()
- 1269 SetWindowMessage(#0021)
- 126a WaitForMessageAcknowledge()
- 1270 WRITE Bank0[0384].Bit(2) = #0001
- 1271 GOTO 12cc
- }
- 1276 PlaySoundEffect(#0114)
- 127c ActiveEntity.PlayAnimation(#0000, #0001)
- 1280 ActiveEntity.SetMoveSpeed(#0028)
- 1287 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 128b IF (GetSpecial(000d)) {
- 1290 SetNumWaitFrames(#0001)
- 1291 Wait()
- 1292 GOTO 1288
- }
- 1297 ActiveEntity.SetMoveSpeed(#0000)
- 129b SetNumWaitFrames(#000a)
- 129c Wait()
- 12a3 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 12a8 IF ((!Bank0[0384].Bit(3))) {
- 12ad SetNumWaitFrames(#001e)
- 12ae Wait()
- 12af WaitForWindowReady()
- 12b9 SetWindowDimensions(#0058, #00a0, #0090, #0019)
- 12bf SetWindowParams(#0000, #0000)
- 12c0 WaitForWindowReady()
- 12c4 SetWindowMessage(#0021)
- 12c5 WaitForMessageAcknowledge()
- 12cb WRITE Bank0[0384].Bit(3) = #0001
- }
- 12cf SetRandomEncountersEnabled(#0001)
- 12d3 SetControlsEnabled(#0001)
- }
- 12d4 RETURN
- Function 12d5
- Called by:
- System.Function($UnknownFunc16)
- Addr Code
- 12d8 SetControlsEnabled(#0000)
- 12de Op333(#0006, #0000)
- 12e5 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 12e9 ActiveEntity.SetMoveSpeed(#0014)
- 12ed SetNumWaitFrames(#0005)
- 12ee Wait()
- 12f2 ActiveEntity.SetMoveSpeed(#0000)
- 12f9 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 12ff ActiveEntity.PlayAnimation(#0007, #0000)
- 1303 SetNumWaitFrames(#001e)
- 1304 Wait()
- 130a SetWindowParams(#0000, #0000)
- 1311 IF ((GetSpecial(0008) == #0000)) {
- 1313 WaitForWindowReady()
- 131d SetWindowDimensions(#003f, #00a0, #00c1, #0029)
- 131e WaitForWindowReady()
- 1322 SetWindowMessage(#0023)
- 1323 GOTO 133d
- }
- 132b IF ((GetSpecial(0008) == #0001)) {
- 132d WaitForWindowReady()
- 1337 SetWindowDimensions(#0038, #00a0, #00cf, #0029)
- 1338 WaitForWindowReady()
- 133c SetWindowMessage(#0024)
- }
- 133d WaitForMessageAcknowledge()
- 1343 ActiveEntity.PlayAnimation(#0000, #0001)
- 1347 SetControlsEnabled(#0001)
- 1348 RETURN
- Function 1349
- Called by:
- System.Function($UnknownFunc17)
- Addr Code
- 134e Op333(#0006, #0000)
- 1355 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 1359 ActiveEntity.SetMoveSpeed(#0014)
- 135d SetNumWaitFrames(#0014)
- 135e Wait()
- 1362 ActiveEntity.SetMoveSpeed(#0000)
- 1369 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 136d SetNumWaitFrames(#0014)
- 136e Wait()
- 1374 ActiveEntity.PlayAnimation(#0007, #0000)
- 1378 SetNumWaitFrames(#0028)
- 1379 Wait()
- 137f SetWindowParams(#0000, #0000)
- 1386 IF ((GetSpecial(0008) == #0000)) {
- 1388 WaitForWindowReady()
- 1392 SetWindowDimensions(#003f, #00a0, #00c1, #0029)
- 1393 WaitForWindowReady()
- 1397 SetWindowMessage(#0023)
- 1398 GOTO 13b2
- }
- 13a0 IF ((GetSpecial(0008) == #0001)) {
- 13a2 WaitForWindowReady()
- 13ac SetWindowDimensions(#0038, #00a0, #00cf, #0029)
- 13ad WaitForWindowReady()
- 13b1 SetWindowMessage(#0024)
- }
- 13b2 WaitForMessageAcknowledge()
- 13b8 ActiveEntity.PlayAnimation(#0000, #0001)
- 13bc SetRandomEncountersEnabled(#0001)
- 13c0 SetControlsEnabled(#0001)
- 13c1 RETURN
- Function 13c2
- Called by:
- System.Function($UnknownFunc18)
- Model($UnknownModel6).Function($UnknownFunc18)
- Addr Code
- 13c5 SetControlsEnabled(#0000)
- 13c9 SetRandomEncountersEnabled(#0000)
- 13cf ActiveEntity.PlayAnimation(#0000, #0000)
- 13d3 PlaySoundEffect(#0090)
- 13d7 Op34a(#0014)
- 13db SetNumWaitFrames(#0006)
- 13dc Wait()
- 13e0 Op34a(#0014)
- 13e4 SetNumWaitFrames(#000e)
- 13e5 Wait()
- 13e9 Op34a(#0014)
- 13ed SetNumWaitFrames(#0006)
- 13ee Wait()
- 13f2 SetNumWaitFrames(#0014)
- 13f3 Wait()
- 13f4 WaitForWindowReady()
- 13fe SetWindowDimensions(#0080, #00a0, #0040, #0019)
- 1404 SetWindowParams(#0000, #0000)
- 1405 WaitForWindowReady()
- 1409 SetWindowMessage(#0022)
- 140a WaitForMessageAcknowledge()
- 140e PlaySoundEffect(#0090)
- 1412 SetNumWaitFrames(#0002)
- 1413 Wait()
- 1417 ActiveEntity.SetMoveSpeed(#0064)
- 141b SetNumWaitFrames(#0002)
- 141c Wait()
- 1420 ActiveEntity.SetMoveSpeed(#0000)
- 1424 Op34a(#0014)
- 1428 SetNumWaitFrames(#0006)
- 1429 Wait()
- 142d Op34a(#0014)
- 1431 SetNumWaitFrames(#000e)
- 1432 Wait()
- 1436 Op34a(#0014)
- 143a SetNumWaitFrames(#0006)
- 143b Wait()
- 143f PlaySoundEffect(#0090)
- 1443 SetNumWaitFrames(#0002)
- 1444 Wait()
- 1448 ActiveEntity.SetMoveSpeed(#0064)
- 144c SetNumWaitFrames(#0002)
- 144d Wait()
- 1451 ActiveEntity.SetMoveSpeed(#0000)
- 1455 Op34a(#0015)
- 1459 SetNumWaitFrames(#0004)
- 145a Wait()
- 145e Op34a(#0015)
- 1462 SetNumWaitFrames(#0004)
- 1463 Wait()
- 1467 Op34a(#0015)
- 146b SetNumWaitFrames(#0004)
- 146c Wait()
- 1470 Op34a(#0016)
- 1474 SetNumWaitFrames(#003c)
- 1475 Wait()
- 1479 Op34a(#0017)
- 147f ActiveEntity.PlayAnimation(#0005, #0000)
- 1483 PlaySoundEffect(#00fa)
- 1487 SetNumWaitFrames(#000a)
- 1488 Wait()
- 148e ActiveEntity.PlayAnimation(#0005, #0000)
- 1492 SetNumWaitFrames(#003c)
- 1493 Wait()
- 1494 Op331()
- 1498 SetControlsEnabled(#0000)
- 149c SetNumWaitFrames(#0014)
- 149d Wait()
- 14a3 WRITE Bank0[01cf].Bit(1) = #0001
- 14a9 ActiveEntity.PlayAnimation(#0000, #0001)
- 14ad SetActiveEntity(GetSpecial(0008))
- 14b1 CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 14b2 RETURN
- Function 14b3
- Called by:
- System.Function($UnknownFunc19)
- Addr Code
- 14b6 IF (Bank0[01cf].Bit(0)) {
- 14bc IF ((!Bank0[01cf].Bit(6))) {
- 14c1 IF (Bank0[01cf].Bit(5)) {
- 14c6 SetRandomEncountersEnabled(#0000)
- 14ca SetControlsEnabled(#0000)
- 14ce SetNumWaitFrames(#0014)
- 14cf Wait()
- 14d3 SetActiveEntity(GetSpecial(0008))
- 14d7 CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 14d8 GOTO 1502
- }
- 14dd SetControlsEnabled(#0000)
- 14e3 Op333(GetSpecial(0008), #00c0)
- 14e9 WRITE Bank1[0002] = GetSpecial(000f)
- 14ed SetActiveEntity(GetSpecial(0008))
- 14f1 CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 14f2 Op334()
- 14f3 EnterVehicle()
- 14fa IF ((GetSpecial(0008) == #0013)) {
- 1501 WRITE Bank0[007e].Bit(1) = #0001
- }
- 1502 GOTO 152c
- }
- 1507 SetControlsEnabled(#0000)
- 150d Op333(GetSpecial(0008), #00c0)
- 1513 WRITE Bank1[0002] = GetSpecial(000f)
- 1517 SetActiveEntity(GetSpecial(0008))
- 151b CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 151c Op334()
- 151d EnterVehicle()
- 1524 IF ((GetSpecial(0008) == #0013)) {
- 152b WRITE Bank0[007e].Bit(1) = #0001
- }
- 152c GOTO 1556
- }
- 1531 SetControlsEnabled(#0000)
- 1537 Op333(GetSpecial(0008), #00c0)
- 153d WRITE Bank1[0002] = GetSpecial(000f)
- 1541 SetActiveEntity(GetSpecial(0008))
- 1545 CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 1546 Op334()
- 1547 EnterVehicle()
- 154e IF ((GetSpecial(0008) == #0013)) {
- 1555 WRITE Bank0[007e].Bit(1) = #0001
- }
- 1556 RETURN
- Function 1557
- Called by:
- System.Function($UnknownFunc20)
- Model($UltimateWeaponModel).Function($UnknownFunc20)
- Addr Code
- 155a PlaySoundEffect(#000b)
- 155e SetControlsEnabled(#0000)
- 1562 ActiveEntity.SetMoveSpeedHonoringWalkmesh(Speed=#0023)
- 1566 ActiveEntity.SetDirectionAndFacing(GetSpecial(0004))
- 156d SetActiveEntityDirection((GetSpecial(0004) + #0080))
- 1573 FadeOut(#00fa, #0000)
- 1577 SetNumWaitFrames(#0003)
- 1578 Wait()
- 157e FadeIn(#00fa, #0000)
- 1582 SetNumWaitFrames(#0007)
- 1583 Wait()
- 1587 ActiveEntity.SetMoveSpeed(#0000)
- 1588 WaitForWindowReady()
- 1592 SetWindowDimensions(#0047, #00a0, #00b1, #0039)
- 1598 SetWindowParams(#0000, #0000)
- 1599 WaitForWindowReady()
- 159d SetWindowMessage(#0036)
- 159e WaitForMessageAcknowledge()
- 15a2 SetControlsEnabled(#0001)
- 15a3 RETURN
- Function 15a4
- Called by:
- System.Function($UnknownFunc21)
- Model($UltimateWeaponModel).Function($UnknownFunc21)
- Addr Code
- 15a7 SetControlsEnabled(#0000)
- 15ab ActiveEntity.SetMoveSpeedHonoringWalkmesh(Speed=#0028)
- 15af ActiveEntity.SetDirectionAndFacing(GetSpecial(0004))
- 15b6 SetActiveEntityDirection((GetSpecial(0004) + #0080))
- 15ba SetNumWaitFrames(#001e)
- 15bb Wait()
- 15bf ActiveEntity.SetMoveSpeed(#0000)
- 15c0 WaitForWindowReady()
- 15ca SetWindowDimensions(#003a, #00a0, #00e0, #0039)
- 15d0 SetWindowParams(#0000, #0000)
- 15d1 WaitForWindowReady()
- 15d5 SetWindowMessage(#0025)
- 15d9 SetControlsEnabled(#0001)
- 15da RETURN
- Function 15db
- Called by:
- System.Function($UnknownFunc22)
- Model($UltimateWeaponModel).Function($UnknownFunc22)
- Addr Code
- 15de PlaySoundEffect(#000b)
- 15e2 SetControlsEnabled(#0000)
- 15e6 ActiveEntity.SetMoveSpeedHonoringWalkmesh(Speed=#0023)
- 15ea ActiveEntity.SetDirectionAndFacing(GetSpecial(0004))
- 15f1 SetActiveEntityDirection((GetSpecial(0004) + #0080))
- 15f7 FadeOut(#00fa, #0000)
- 15fb SetNumWaitFrames(#0003)
- 15fc Wait()
- 1602 FadeIn(#00fa, #0000)
- 1606 SetNumWaitFrames(#0007)
- 1607 Wait()
- 160b ActiveEntity.SetMoveSpeed(#0000)
- 160c WaitForWindowReady()
- 1616 SetWindowDimensions(#0030, #00a0, #00d2, #0039)
- 161c SetWindowParams(#0000, #0000)
- 161d WaitForWindowReady()
- 1621 SetWindowMessage(#003c)
- 1625 SetControlsEnabled(#0001)
- 1626 RETURN
- Function 1627
- Called by:
- System.Function($UnknownFunc23)
- Model($UltimateWeaponModel).Function($UnknownFunc23)
- Addr Code
- 162a PlaySoundEffect(#000b)
- 162e SetControlsEnabled(#0000)
- 1632 ActiveEntity.SetMoveSpeedHonoringWalkmesh(Speed=#0014)
- 1636 ActiveEntity.SetDirectionAndFacing(GetSpecial(0004))
- 163d SetActiveEntityDirection((GetSpecial(0004) + #0080))
- 1643 FadeOut(#00fa, #0000)
- 1647 SetNumWaitFrames(#0003)
- 1648 Wait()
- 164e FadeIn(#00fa, #0000)
- 1652 SetNumWaitFrames(#0003)
- 1653 Wait()
- 1657 ActiveEntity.SetMoveSpeed(#0000)
- 1658 RETURN
- Function 1659
- Called by:
- Model($ChocoboModel).Function($UnknownFunc23)
- Addr Code
- 165c PlaySoundEffect(#000b)
- 1660 SetControlsEnabled(#0000)
- 1664 ActiveEntity.SetMoveSpeedHonoringWalkmesh(Speed=#0014)
- 1668 ActiveEntity.SetDirectionAndFacing(GetSpecial(0004))
- 166f SetActiveEntityDirection((GetSpecial(0004) + #0080))
- 1675 FadeOut(#00fa, #0000)
- 1679 SetNumWaitFrames(#0003)
- 167a Wait()
- 1680 FadeIn(#00fa, #0000)
- 1684 SetNumWaitFrames(#0002)
- 1685 Wait()
- 1689 ActiveEntity.SetMoveSpeed(#0000)
- 168a RETURN
- Function 168b
- Called by:
- System.Function($UnknownFunc24)
- Model($UltimateWeaponModel).Function($UnknownFunc24)
- Addr Code
- 168e PlaySoundEffect(#000b)
- 1692 SetControlsEnabled(#0000)
- 1696 ActiveEntity.SetMoveSpeedHonoringWalkmesh(Speed=#0014)
- 169a ActiveEntity.SetDirectionAndFacing(GetSpecial(0004))
- 16a1 SetActiveEntityDirection((GetSpecial(0004) + #0080))
- 16a5 SetNumWaitFrames(#0007)
- 16a6 Wait()
- 16aa ActiveEntity.SetMoveSpeed(#0000)
- 16ab RETURN
- Function 16ac
- Called by:
- Model($ChocoboModel).Function($UnknownFunc24)
- Addr Code
- 16af PlaySoundEffect(#000b)
- 16b3 SetControlsEnabled(#0000)
- 16b7 ActiveEntity.SetMoveSpeedHonoringWalkmesh(Speed=#0014)
- 16bb ActiveEntity.SetDirectionAndFacing(GetSpecial(0004))
- 16c2 SetActiveEntityDirection((GetSpecial(0004) + #0080))
- 16c6 SetNumWaitFrames(#0005)
- 16c7 Wait()
- 16cb ActiveEntity.SetMoveSpeed(#0000)
- 16cc RETURN
- Function 16cd
- Called by:
- System.Function($UnknownFunc25)
- Model($HighwindModel).Function($UnknownFunc25)
- Addr Code
- 16d0 ActiveEntity.SetMoveSpeed(#0000)
- 16d5 IF ((!Bank0[0387].Bit(2))) {
- 16dc ActiveEntity.PlayAnimation(#0002, #0000)
- 16e0 SetNumWaitFrames(#001c)
- 16e1 Wait()
- 16e7 WRITE Bank0[0387].Bit(2) = #0001
- }
- 16ed ActiveEntity.PlayAnimation(#0003, #0000)
- 16f2 IF ((!Bank0[0387].Bit(3))) {
- 16f7 Op34a(#0004)
- 16fb SetNumWaitFrames(#0014)
- 16fc Wait()
- 1700 Op34a(#0005)
- 1706 WRITE Bank0[0387].Bit(3) = #0001
- }
- 170c WRITE Bank0[038f] = #0000
- 1712 WRITE Bank0[0386].Bit(6) = #0001
- 1718 WRITE Bank0[0386].Bit(5) = #0001
- 171e WRITE Bank0[0387].Bit(1) = #0000
- 171f RETURN
- Function 1720
- Called by:
- System.Function($UnknownFunc26)
- Model($HighwindModel).Function($UnknownFunc26)
- Addr Code
- 1723 ActiveEntity.SetMoveSpeed(#0000)
- 1729 ActiveEntity.PlayAnimation(#0005, #0000)
- 172d PlaySoundEffect(#01b1)
- 1733 FadeOut(#00fa, #0000)
- 1737 SetNumWaitFrames(#0003)
- 1738 Wait()
- 173e FadeIn(#00fa, #0000)
- 1742 SetNumWaitFrames(#0001)
- 1743 Wait()
- 1747 CALL Model($UltimateWeaponModel).Function($UnknownFunc28)
- 174b SetNumWaitFrames(#0028)
- 174c Wait()
- 1752 ActiveEntity.PlayAnimation(#0006, #0000)
- 1756 SetNumWaitFrames(#0009)
- 1757 Wait()
- 175d ActiveEntity.PlayAnimation(#0000, #0001)
- 1764 IF ((Bank0[038f] < #0005)) {
- 176e WRITE Bank0[038f] = (Bank0[038f] + #0001)
- }
- 176f RETURN
- Function 1770
- Called by:
- System.Function($UnknownFunc27)
- Model($HighwindModel).Function($UnknownFunc27)
- Addr Code
- 1775 ActiveEntity.PlayAnimation(#0004, #0000)
- 1779 PlaySoundEffect(#010a)
- 177d SetNumWaitFrames(#0050)
- 177e Wait()
- 1782 Op30a(#000a)
- 1786 SetNumWaitFrames(#0064)
- 1787 Wait()
- 178d FadeOut(#0008, #0000)
- 1791 PlaySoundEffect(#0000)
- 1795 SetNumWaitFrames(#0064)
- 1796 Wait()
- 179c FadeIn(#0008, #0000)
- 17a0 SetFieldEntryPointFromFieldTblId(#002d)
- 17a6 WRITE Bank0[0386].Bit(4) = #0001
- 17a7 RETURN
- Function 17a8
- Called by:
- Model($HighwindModel).Function($OnFrameTick)
- Addr Code
- 17ae IF ((GetSpecial(0008) == #0003)) {
- 17b4 IF ((!Bank0[0386].Bit(3))) {
- 17bd IF ((ActiveEntity.GetDistanceToModel(GetSpecial(0008)) <= #00c8)) {
- 17c4 WRITE Bank0[0386].Bit(3) = #0001
- 17c8 SetControlsEnabled(#0000)
- 17ce ActiveEntity.PlayAnimation(#0005, #0000)
- 17d2 PlaySoundEffect(#01b1)
- 17d6 SetNumWaitFrames(#0023)
- 17d7 Wait()
- 17db TriggerBattle(SceneId=#0119)
- }
- 17dc GOTO 1937
- }
- 17e1 IF (Bank0[007b].Bit(2)) {
- 17ea IF ((ActiveEntity.GetDistanceToModel(GetSpecial(0008)) <= #0078)) {
- 17f1 WRITE Bank0[0386].Bit(7) = #0000
- 17f7 WRITE Bank0[0386].Bit(6) = #0000
- 17fd WRITE Bank0[0394] = #0000
- 1801 SetControlsEnabled(#0000)
- 1807 ActiveEntity.PlayAnimation(#0005, #0000)
- 180b PlaySoundEffect(#01b1)
- 180f SetNumWaitFrames(#0023)
- 1810 Wait()
- 1814 TriggerBattle(SceneId=#011f)
- }
- 1815 GOTO 1937
- }
- 181e IF ((ActiveEntity.GetDistanceToModel(GetSpecial(0008)) <= #0050)) {
- 1823 IF (Bank0[0386].Bit(5)) {
- 1831 IF (((Bank0[0394] == #000d) || (Bank0[0394] == #000f))) {
- 1838 WRITE Bank0[0386].Bit(5) = #0000
- 183e WRITE Bank0[0387].Bit(2) = #0000
- 1844 WRITE Bank0[0386].Bit(7) = #0000
- 184a WRITE Bank0[0386].Bit(6) = #0000
- 1850 WRITE Bank0[0394] = #0000
- 1854 TriggerBattle(SceneId=#011a)
- 1855 GOTO 1931
- }
- 185d IF ((Bank0[0394] == #0009)) {
- 1864 WRITE Bank0[0386].Bit(5) = #0000
- 186a WRITE Bank0[0387].Bit(2) = #0000
- 1870 WRITE Bank0[0386].Bit(7) = #0000
- 1876 WRITE Bank0[0386].Bit(6) = #0000
- 187c WRITE Bank0[0394] = #0000
- 1880 TriggerBattle(SceneId=#0126)
- 1881 GOTO 1931
- }
- 1889 IF ((Bank0[0394] == #000a)) {
- 1890 WRITE Bank0[0386].Bit(5) = #0000
- 1896 WRITE Bank0[0387].Bit(2) = #0000
- 189c WRITE Bank0[0386].Bit(7) = #0000
- 18a2 WRITE Bank0[0386].Bit(6) = #0000
- 18a8 WRITE Bank0[0394] = #0000
- 18ac TriggerBattle(SceneId=#011b)
- 18ad GOTO 1931
- }
- 18b5 IF ((Bank0[0394] == #000b)) {
- 18bc WRITE Bank0[0386].Bit(5) = #0000
- 18c2 WRITE Bank0[0387].Bit(2) = #0000
- 18c8 WRITE Bank0[0386].Bit(7) = #0000
- 18ce WRITE Bank0[0386].Bit(6) = #0000
- 18d4 WRITE Bank0[0394] = #0000
- 18d8 TriggerBattle(SceneId=#011c)
- 18d9 GOTO 1931
- }
- 18e1 IF ((Bank0[0394] == #000c)) {
- 18e8 WRITE Bank0[0386].Bit(5) = #0000
- 18ee WRITE Bank0[0387].Bit(2) = #0000
- 18f4 WRITE Bank0[0386].Bit(7) = #0000
- 18fa WRITE Bank0[0386].Bit(6) = #0000
- 1900 WRITE Bank0[0394] = #0000
- 1904 TriggerBattle(SceneId=#011d)
- 1905 GOTO 1931
- }
- 190d IF ((Bank0[0394] == #000e)) {
- 1914 WRITE Bank0[0386].Bit(5) = #0000
- 191a WRITE Bank0[0387].Bit(2) = #0000
- 1920 WRITE Bank0[0386].Bit(7) = #0000
- 1926 WRITE Bank0[0386].Bit(6) = #0000
- 192c WRITE Bank0[0394] = #0000
- 1930 TriggerBattle(SceneId=#011e)
- }
- 1931 GOTO 1937
- }
- 1936 CALL Model($HighwindModel).Function($UnknownFunc28)
- }
- }
- 193a IF (Bank0[0386].Bit(3)) {
- 1940 IF ((!Bank0[007b].Bit(2))) {
- 1946 IF ((!Bank0[0386].Bit(6))) {
- 194e IF ((Bank0[038f] == #0005)) {
- 1954 IF ((!Bank0[0387].Bit(1))) {
- 195b WRITE Bank0[0387].Bit(1) = #0001
- 1967 WRITE Bank0[0394] = ((GetSpecial(0010) * #0007) >> #0008)
- 1970 WRITE Bank0[0394] = (Bank0[0394] + #0009)
- 1977 IF ((Bank0[0394] == #0000)) {
- 197e WRITE Bank0[0394] = #000f
- }
- }
- 1982 Op321(Bank0[0394])
- 1986 ActiveEntity.SetMoveSpeed(#00c8)
- 198e IF ((ActiveEntity.GetDistanceToPoint(Bank0[0394]) <= #0096)) {
- 1993 CALL Model($HighwindModel).Function($UnknownFunc28)
- }
- 1994 GOTO 19e9
- }
- 199c IF ((Bank0_16bit[0392] == #00ff)) {
- 19a1 ActiveEntity.SetMoveSpeed(#00c8)
- 19a5 Op321(#0004)
- 19ad IF ((ActiveEntity.GetDistanceToPoint(#0004) <= #00ff)) {
- 19b4 WRITE Bank0_16bit[0392] = #0000
- }
- 19b5 GOTO 19e9
- }
- 19bd IF ((Bank0[038e] < #0032)) {
- 19c2 ActiveEntity.SetMoveSpeed(#00c8)
- 19c3 GOTO 19e0
- }
- 19cb IF ((Bank0[038e] == #0046)) {
- 19d0 ActiveEntity.SetDirectionAndFacing(GetSpecial(0010))
- 19d6 WRITE Bank0[038e] = #0000
- 19df WRITE Bank0_16bit[0392] = (Bank0_16bit[0392] + #0001)
- }
- 19e8 WRITE Bank0[038e] = (Bank0[038e] + #0001)
- 19e9 GOTO 19ef
- }
- 19ee CALL Model($HighwindModel).Function($UnknownFunc28)
- 19ef GOTO 19f7
- }
- 19f6 ActiveEntity.PlayAnimation(#0004, #0000)
- 19f7 GOTO 19ff
- }
- 19fe ActiveEntity.PlayAnimation(#0004, #0000)
- 1a02 SetNumWaitFrames(#0001)
- 1a03 Wait()
- 1a04 RETURN
- Function 1a05
- Called by:
- Model($HighwindModel).Function($OnModelLoad)
- Addr Code
- 1a0a WRITE Bank0[0387].Bit(3) = #0000
- 1a11 IF ((GetSpecial(0005) == #0001)) {
- 1a16 IF (Bank0[007b].Bit(0)) {
- 1a1c IF ((!Bank0[0386].Bit(4))) {
- 1a21 IF (Bank0[0387].Bit(0)) {
- 1a28 ActiveEntity.SetMeshCoordsXZ(#000b, #0015)
- 1a2e ActiveEntity.SetCoordsInMeshXZ(#159d, #00a0)
- 1a32 ActiveEntity.SetDirectionAndFacing(#0000)
- 1a36 SetActiveEntityYPos(#0e10)
- }
- }
- }
- }
- 1a3b IF ((!Bank0[007b].Bit(0))) {
- 1a40 IF (Bank0[0386].Bit(6)) {
- 1a48 IF ((Bank0[0394] == #0009)) {
- 1a4f ActiveEntity.SetMeshCoordsXZ(#0016, #000e)
- 1a55 ActiveEntity.SetCoordsInMeshXZ(#1505, #14e1)
- 1a59 SetActiveEntityYPos(#0fa0)
- 1a5a GOTO 1af6
- }
- 1a62 IF ((Bank0[0394] == #000a)) {
- 1a69 ActiveEntity.SetMeshCoordsXZ(#0018, #0014)
- 1a6f ActiveEntity.SetCoordsInMeshXZ(#1a36, #15dc)
- 1a73 SetActiveEntityYPos(#0fa0)
- 1a74 GOTO 1af6
- }
- 1a7c IF ((Bank0[0394] == #000b)) {
- 1a83 ActiveEntity.SetMeshCoordsXZ(#000d, #000e)
- 1a89 ActiveEntity.SetCoordsInMeshXZ(#0cb9, #1763)
- 1a8d SetActiveEntityYPos(#0fa0)
- 1a8e GOTO 1af6
- }
- 1a96 IF ((Bank0[0394] == #000c)) {
- 1a9d ActiveEntity.SetMeshCoordsXZ(#000d, #0016)
- 1aa3 ActiveEntity.SetCoordsInMeshXZ(#18d9, #086d)
- 1aa7 SetActiveEntityYPos(#0fa0)
- 1aa8 GOTO 1af6
- }
- 1ab0 IF ((Bank0[0394] == #000d)) {
- 1ab7 ActiveEntity.SetMeshCoordsXZ(#000b, #000f)
- 1abd ActiveEntity.SetCoordsInMeshXZ(#0b45, #1896)
- 1ac1 SetActiveEntityYPos(#0fa0)
- 1ac2 GOTO 1af6
- }
- 1aca IF ((Bank0[0394] == #000e)) {
- 1ad1 ActiveEntity.SetMeshCoordsXZ(#0010, #0004)
- 1ad7 ActiveEntity.SetCoordsInMeshXZ(#0001, #0f9f)
- 1adb SetActiveEntityYPos(#0fa0)
- 1adc GOTO 1af6
- }
- 1ae4 IF ((Bank0[0394] == #000f)) {
- 1aeb ActiveEntity.SetMeshCoordsXZ(#001a, #0018)
- 1af1 ActiveEntity.SetCoordsInMeshXZ(#1b7e, #13ab)
- 1af5 SetActiveEntityYPos(#0fa0)
- }
- 1af6 GOTO 1b53
- }
- 1afb IF (Bank0[007b].Bit(2)) {
- 1b02 ActiveEntity.SetMeshCoordsXZ(#000b, #0015)
- 1b08 ActiveEntity.SetCoordsInMeshXZ(#159d, #00a0)
- 1b0c SetActiveEntityYPos(#0bb8)
- 1b12 WRITE Bank0[0387].Bit(0) = #0001
- 1b13 GOTO 1b53
- }
- 1b19 IF ((!Bank0[0386].Bit(3))) {
- 1b20 ActiveEntity.SetMeshCoordsXZ(#0016, #0012)
- 1b26 ActiveEntity.SetCoordsInMeshXZ(#19dc, #04ac)
- 1b2a ActiveEntity.SetYOffset(#03e8)
- 1b2b GOTO 1b53
- }
- 1b31 IF ((!Bank0[0386].Bit(7))) {
- 1b38 ActiveEntity.SetMeshCoordsXZ(#0016, #0012)
- 1b3e ActiveEntity.SetCoordsInMeshXZ(#19dc, #04ac)
- 1b42 SetActiveEntityYPos(#0fa0)
- 1b46 ActiveEntity.SetDirectionAndFacing(GetSpecial(0010))
- 1b4c WRITE Bank0[0386].Bit(7) = #0001
- 1b4d GOTO 1b53
- }
- 1b52 SetActiveEntityYPos(#0fa0)
- }
- 1b53 RETURN
- Function 1b54
- Called by:
- System.Function($UnknownFunc28)
- Model($UnknownModel10).Function($UnknownFunc28)
- Addr Code
- 1b59 WRITE Bank0[0384].Bit(5) = #0001
- 1b5d SetNumWaitFrames(#001e)
- 1b5e Wait()
- 1b63 Op30a((-#000a))
- 1b6b Op3fd(#0000, #0001, #000f)
- 1b6f SetNumWaitFrames(#001e)
- 1b70 Wait()
- 1b78 Op3fd(#0001, #0002, #0005)
- 1b7c PlaySoundEffect(#0132)
- 1b80 SetNumWaitFrames(#0082)
- 1b81 Wait()
- 1b85 Op30a(#0000)
- 1b89 Op3fe(#0001)
- 1b8d SetNumWaitFrames(#001e)
- 1b8e Wait()
- 1b94 ActiveEntity.PlayAnimation(#0004, #0000)
- 1b98 SetNumWaitFrames(#001e)
- 1b99 Wait()
- 1b9d PlaySoundEffect(#01b0)
- 1ba1 SetNumWaitFrames(#0078)
- 1ba2 Wait()
- 1ba8 ActiveEntity.PlayAnimation(#0001, #0001)
- 1bac ActiveEntity.SetMoveSpeed(#0004)
- 1bb0 Op3fe(#0000)
- 1bb8 Op3fd(#0000, #0003, #000a)
- 1bbc SetNumWaitFrames(#0064)
- 1bbd Wait()
- 1bc1 SetNumWaitFrames(#0064)
- 1bc2 Wait()
- 1bc6 SetNumWaitFrames(#0064)
- 1bc7 Wait()
- 1bcd FadeOut(#0010, #0001)
- 1bd1 SetNumWaitFrames(#0032)
- 1bd2 Wait()
- 1bd8 EnterFieldScene(#0033, #0000)
- 1bdc Op319(Bank0[038d])
- 1be0 SetControlsEnabled(#0001)
- 1be4 SetRandomEncountersEnabled(#0001)
- 1be5 RETURN
- Function 1be6
- Called by:
- Model($UnknownModel10).Function($OnFrameTick)
- Addr Code
- 1bec IF ((GetSpecial(0008) == #0003)) {
- 1bf1 IF (Bank0[0384].Bit(6)) {
- 1bfa IF ((ActiveEntity.GetDistanceToModel(GetSpecial(0008)) <= #0078)) {
- 1bff CALL Model($UltimateWeaponModel).Function($UnknownFunc28)
- }
- }
- }
- 1c03 IF (Bank0[0352].Bit(3)) {
- 1c08 IF (Bank0[0384].Bit(5)) {
- 1c10 IF ((Bank0_16bit[0390] < #0af0)) {
- 1c16 ActiveEntity.SetYOffset((-#0190))
- 1c1a ActiveEntity.SetMoveSpeed(#0008)
- 1c1e ActiveEntity.SetDirectionAndFacing(#0020)
- 1c1f GOTO 1cc6
- }
- 1c27 IF ((Bank0_16bit[0390] < #0b45)) {
- 1c2d ActiveEntity.SetYOffset((-#0190))
- 1c31 ActiveEntity.SetMoveSpeed(#0001)
- 1c3b ActiveEntity.SetDirectionAndFacing(((#0b70 - Bank0_16bit[0390]) >> #0002))
- 1c3c GOTO 1cc6
- }
- 1c44 IF ((Bank0_16bit[0390] < #0e66)) {
- 1c4f ActiveEntity.SetYOffset(((Bank0_16bit[0390] - #0e65) >> #0001))
- 1c53 ActiveEntity.SetMoveSpeed(#0008)
- 1c57 ActiveEntity.SetDirectionAndFacing(#000b)
- 1c58 GOTO 1cc6
- }
- 1c60 IF ((Bank0_16bit[0390] < #0fc4)) {
- 1c65 ActiveEntity.SetYOffset(#0000)
- 1c69 ActiveEntity.SetMoveSpeed(#0008)
- 1c70 IF ((Bank0_16bit[0390] >= #0e66)) {
- 1c75 Op3fe(#0000)
- }
- 1c79 ActiveEntity.SetDirectionAndFacing(#000b)
- 1c7a GOTO 1cc6
- }
- 1c82 IF ((Bank0_16bit[0390] == #0fc4)) {
- 1c88 IF ((!Bank0[0385].Bit(0))) {
- 1c8d ActiveEntity.SetYOffset(#0000)
- 1c93 ActiveEntity.PlayAnimation(#0004, #0000)
- 1c97 SetNumWaitFrames(#0014)
- 1c98 Wait()
- 1c9c PlaySoundEffect(#01b0)
- 1ca0 ActiveEntity.SetMoveSpeed(#0000)
- 1ca6 WRITE Bank0[0385].Bit(0) = #0001
- 1caa SetNumWaitFrames(#0078)
- 1cab Wait()
- 1cac GOTO 1cb6
- }
- 1cb1 ActiveEntity.SetYOffset(#0000)
- 1cb5 ActiveEntity.SetMoveSpeed(#0000)
- 1cb6 GOTO 1cc6
- }
- 1cbe IF ((Bank0_16bit[0390] >= #0fc5)) {
- 1cc5 WRITE Bank0_16bit[0390] = #0fc5
- }
- }
- }
- 1cce WRITE Bank0_16bit[0390] = (Bank0_16bit[0390] + #0001)
- 1cd2 SetNumWaitFrames(#0001)
- 1cd3 Wait()
- 1cd4 RETURN
- Function 1cd5
- Called by:
- Model($UnknownModel10).Function($OnModelLoad)
- Addr Code
- 1cd8 IF (Bank0[0352].Bit(3)) {
- 1cde IF ((!Bank0[0384].Bit(5))) {
- 1ce5 ActiveEntity.SetMeshCoordsXZ(#0014, #000b)
- 1ceb ActiveEntity.SetCoordsInMeshXZ(#1099, #0945)
- 1cef ActiveEntity.SetDirectionAndFacing(#0017)
- 1cf4 ActiveEntity.SetYOffset((-#07d0))
- 1cf5 GOTO 1d5c
- }
- 1cfb IF ((!Bank0[0384].Bit(6))) {
- 1d02 ActiveEntity.SetMeshCoordsXZ(#0014, #000b)
- 1d08 ActiveEntity.SetCoordsInMeshXZ(#1099, #0945)
- 1d0d ActiveEntity.SetYOffset((-#0190))
- 1d15 Op3fd(#0000, #0003, #000a)
- 1d1b ActiveEntity.PlayAnimation(#0001, #0001)
- 1d20 IF ((!Bank0[0384].Bit(7))) {
- 1d25 PlaySoundEffect(#01b0)
- 1d2b WRITE Bank0[0384].Bit(7) = #0001
- }
- 1d31 WRITE Bank0[0384].Bit(6) = #0001
- 1d32 GOTO 1d5c
- }
- 1d38 IF ((!Bank0[0385].Bit(0))) {
- 1d3f ActiveEntity.PlayAnimation(#0001, #0001)
- 1d46 IF ((Bank0_16bit[0390] < #0e66)) {
- 1d4f Op3fd(#0000, #0003, #000a)
- 1d50 GOTO 1d56
- }
- 1d55 Op3fe(#0000)
- 1d56 GOTO 1d5c
- }
- 1d5b ActiveEntity.SetMoveSpeed(#0000)
- }
- 1d5c RETURN
- Function 1d5d
- Called by:
- Model($UnknownModel10).Function($OnMovement)
- Addr Code
- 1d6f IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 1d74 SetNumWaitFrames(#000a)
- 1d75 Wait()
- 1d7b WRITE Bank0[0352].Bit(3) = #0000
- 1d81 WRITE Bank0[0385].Bit(1) = #0001
- 1d87 EnterFieldScene(#0035, #0000)
- }
- 1d88 RETURN
- Function 1d89
- Called by:
- Model($CloudModel).Function($OnFrameTick)
- Addr Code
- 1d89 RETURN
- Function 1d8a
- Called by:
- Model($CloudModel).Function($OnModelLoad)
- Addr Code
- 1d8e IF ((!Bank0[0385].Bit(3))) {
- 1d93 SetControlsEnabled(#0000)
- 1d99 WRITE Bank0[0385].Bit(3) = #0001
- 1d9d SetNumWaitFrames(#001e)
- 1d9e Wait()
- 1d9f WaitForWindowReady()
- 1da9 SetWindowDimensions(#003c, #0005, #00c8, #0049)
- 1daf SetWindowParams(#0000, #0000)
- 1db0 WaitForWindowReady()
- 1db4 SetWindowMessage(#0035)
- 1db5 WaitForMessageAcknowledge()
- 1db9 SetControlsEnabled(#0001)
- }
- 1dba RETURN
- Function 1dbb
- Called by:
- Model($UnknownModel4).Function($OnModelLoad)
- Addr Code
- 1dbf IF ((!Bank0[0386].Bit(2))) {
- 1dc4 SetControlsEnabled(#0000)
- 1dca WRITE Bank0[0386].Bit(2) = #0001
- 1dce SetNumWaitFrames(#001e)
- 1dcf Wait()
- 1dd0 WaitForWindowReady()
- 1dda SetWindowDimensions(#0012, #0005, #011b, #0049)
- 1de0 SetWindowParams(#0000, #0000)
- 1de1 WaitForWindowReady()
- 1de5 SetWindowMessage(#003b)
- 1de6 WaitForMessageAcknowledge()
- 1dea SetControlsEnabled(#0001)
- }
- 1deb RETURN
- Function 1dec
- Called by:
- Model($UnknownModel4).Function($UnknownFunc4)
- Addr Code
- 1dfe IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 1e03 SetControlsEnabled(#0000)
- 1e09 WRITE Bank0[007e].Bit(0) = #0001
- 1e0f Op333(GetSpecial(0008), #00c0)
- 1e15 WRITE Bank1[0002] = GetSpecial(000f)
- 1e19 SetActiveEntity(GetSpecial(0008))
- 1e1d CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 1e1e Op334()
- 1e1f EnterVehicle()
- 1e26 IF ((GetSpecial(0008) == #0004)) {
- 1e2d WRITE Bank0[007e].Bit(1) = #0001
- }
- }
- 1e2e RETURN
- Function 1e2f
- Called by:
- Model($UnknownModel4).Function($UnknownFunc5)
- Addr Code
- 1e35 IF ((Bank0_16bit[0000] < #0181)) {
- 1e3a IF (Bank0[0384].Bit(4)) {
- 1e3f SetControlsEnabled(#0000)
- 1e43 SetRandomEncountersEnabled(#0000)
- 1e47 SetNumWaitFrames(#0005)
- 1e48 Wait()
- 1e4e WRITE Bank1[0003] = GetSpecial(0004)
- 1e52 SetActiveEntity(GetSpecial(0008))
- 1e56 CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 1e57 Op334()
- 1e5b SetNumWaitFrames(#0014)
- 1e5c Wait()
- 1e60 SetActiveEntity(GetSpecial(0008))
- 1e64 CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 1e65 Op334()
- 1e69 Op354(#0001)
- 1e6a GOTO 1eae
- }
- 1e6f SetControlsEnabled(#0000)
- 1e73 SetNumWaitFrames(#0005)
- 1e74 Wait()
- 1e7a WRITE Bank1[0003] = GetSpecial(0004)
- 1e7e SetActiveEntity(GetSpecial(0008))
- 1e82 CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 1e83 Op334()
- 1e89 WRITE Bank0[007e].Bit(0) = #0000
- 1e8f WRITE Bank0[007e].Bit(1) = #0000
- 1e95 ActiveEntity.PlayAnimation(#0002, #0000)
- 1e99 PlaySoundEffect(#0114)
- 1e9d SetNumWaitFrames(#0012)
- 1e9e Wait()
- 1ea2 SetRandomEncountersEnabled(#0001)
- 1ea8 ActiveEntity.PlayAnimation(#0000, #0001)
- 1ea9 Op332()
- 1ead SetControlsEnabled(#0001)
- 1eae GOTO 1f4d
- }
- 1eb3 IF (Bank0[007d].Bit(0)) {
- 1eb8 SetControlsEnabled(#0000)
- 1ebc SetRandomEncountersEnabled(#0000)
- 1ec0 SetNumWaitFrames(#0005)
- 1ec1 Wait()
- 1ec7 WRITE Bank1[0003] = GetSpecial(0004)
- 1ecb SetActiveEntity(GetSpecial(0008))
- 1ecf CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 1ed0 Op334()
- 1ed4 SetNumWaitFrames(#0014)
- 1ed5 Wait()
- 1ed9 SetActiveEntity(GetSpecial(0008))
- 1edd CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 1ede Op334()
- 1ee4 WRITE Bank0[007e].Bit(0) = #0000
- 1eea WRITE Bank0[007e].Bit(1) = #0000
- 1ef0 ActiveEntity.PlayAnimation(#0002, #0000)
- 1ef4 PlaySoundEffect(#0114)
- 1ef8 SetNumWaitFrames(#0012)
- 1ef9 Wait()
- 1eff ActiveEntity.PlayAnimation(#0000, #0001)
- 1f03 SetRandomEncountersEnabled(#0001)
- 1f04 Op332()
- 1f08 SetControlsEnabled(#0001)
- 1f09 GOTO 1f4d
- }
- 1f0e SetControlsEnabled(#0000)
- 1f12 SetNumWaitFrames(#0005)
- 1f13 Wait()
- 1f19 WRITE Bank1[0003] = GetSpecial(0004)
- 1f1d SetActiveEntity(GetSpecial(0008))
- 1f21 CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 1f22 Op334()
- 1f28 WRITE Bank0[007e].Bit(0) = #0000
- 1f2e WRITE Bank0[007e].Bit(1) = #0000
- 1f34 ActiveEntity.PlayAnimation(#0002, #0000)
- 1f38 PlaySoundEffect(#0114)
- 1f3c SetNumWaitFrames(#0012)
- 1f3d Wait()
- 1f41 SetRandomEncountersEnabled(#0001)
- 1f47 ActiveEntity.PlayAnimation(#0000, #0001)
- 1f48 Op332()
- 1f4c SetControlsEnabled(#0001)
- 1f4d RETURN
- Function 1f4e
- Called by:
- Model($ChocoboModel).Function($OnModelLoad)
- Addr Code
- 1f54 IF ((Bank0_16bit[0000] == #04e2)) {
- 1f62 IF (((GetSpecial(0000) == #001a) && (GetSpecial(0001) == #0018))) {
- 1f70 IF (((GetSpecial(0002) >= #1692) && (GetSpecial(0002) <= #1d31))) {
- 1f7e IF (((GetSpecial(0003) >= #1068) && (GetSpecial(0003) <= #16bc))) {
- 1f85 ActiveEntity.SetMeshCoordsXZ(#001a, #0018)
- 1f8b ActiveEntity.SetCoordsInMeshXZ(#15b1, #16f8)
- }
- }
- }
- }
- 1f8c RETURN
- Function 1f8d
- Called by:
- Model($ChocoboModel).Function($UnknownFunc4)
- Addr Code
- 1f9f IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 1fa4 CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- }
- 1fa5 RETURN
- Function 1fa6
- Called by:
- Model($ChocoboModel).Function($UnknownFunc5)
- Addr Code
- 1fa9 SetNumWaitFrames(#0005)
- 1faa Wait()
- 1fb0 WRITE Bank1[0003] = GetSpecial(0004)
- 1fb4 SetActiveEntity(GetSpecial(0008))
- 1fb8 CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 1fb9 Op334()
- 1fbf WRITE Bank0[007e].Bit(1) = #0000
- 1fc3 SetControlsEnabled(#0001)
- 1fc4 RETURN
- Function 1fc5
- Called by:
- Model($UnknownModel6).Function($OnFrameTick)
- Addr Code
- 1fc5 RETURN
- Function 1fc6
- Called by:
- Model($UnknownModel6).Function($OnModelLoad)
- Addr Code
- 1fca IF ((!Bank0[0385].Bit(5))) {
- 1fcf SetControlsEnabled(#0000)
- 1fd5 WRITE Bank0[0385].Bit(5) = #0001
- 1fd9 SetNumWaitFrames(#001e)
- 1fda Wait()
- 1fdb WaitForWindowReady()
- 1fe5 SetWindowDimensions(#0038, #0005, #00d0, #0099)
- 1feb SetWindowParams(#0000, #0000)
- 1fec WaitForWindowReady()
- 1ff0 SetWindowMessage(#0039)
- 1ff1 WaitForMessageAcknowledge()
- 1ff5 SetControlsEnabled(#0001)
- }
- 1ff6 RETURN
- Function 1ff7
- Called by:
- Model($UnknownModel6).Function($UnknownFunc4)
- Addr Code
- 2009 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 200e IF (Bank0[01cf].Bit(1)) {
- 2013 IF (Bank0[01cf].Bit(2)) {
- 2015 EnterVehicle()
- 201c IF ((GetSpecial(0008) == #0006)) {
- 2023 WRITE Bank0[007f].Bit(1) = #0001
- }
- 2024 GOTO 202e
- }
- 2029 SetActiveEntity(GetSpecial(0008))
- 202d CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 202e GOTO 203f
- }
- 2030 EnterVehicle()
- 2037 IF ((GetSpecial(0008) == #0006)) {
- 203e WRITE Bank0[007f].Bit(1) = #0001
- }
- }
- 203f RETURN
- Function 2040
- Called by:
- Model($UnknownModel6).Function($UnknownFunc5)
- Addr Code
- 2045 WRITE Bank0[007f].Bit(1) = #0000
- 2046 RETURN
- Function 2047
- Called by:
- Model($UnknownModel5).Function($OnModelLoad)
- Addr Code
- 204d IF ((GetSpecial(0005) == #0000)) {
- 2055 IF ((GetSpecial(0006) == #0028)) {
- 205b IF ((!Bank0[0386].Bit(0))) {
- 2060 SetControlsEnabled(#0000)
- 2066 WRITE Bank0[0386].Bit(0) = #0001
- 206a SetNumWaitFrames(#001e)
- 206b Wait()
- 206c WaitForWindowReady()
- 2076 SetWindowDimensions(#0032, #0005, #00dc, #0079)
- 207c SetWindowParams(#0000, #0000)
- 207d WaitForWindowReady()
- 2081 SetWindowMessage(#003a)
- 2082 WaitForMessageAcknowledge()
- 2086 SetControlsEnabled(#0001)
- }
- }
- }
- 208d IF ((Bank0_16bit[0000] >= #0281)) {
- 2092 IF (Bank0[01cf].Bit(4)) {
- 2099 ActiveEntity.SetMeshCoordsXZ(#000d, #0017)
- 209f ActiveEntity.SetCoordsInMeshXZ(#1ca2, #076e)
- 20a3 ActiveEntity.SetDirectionAndFacing(#0080)
- }
- }
- 20a4 RETURN
- Function 20a5
- Called by:
- Model($UnknownModel5).Function($UnknownFunc4)
- Addr Code
- 20b7 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 20bc IF (Bank0[01cf].Bit(0)) {
- 20c2 IF ((!Bank0[01cf].Bit(6))) {
- 20c7 IF (Bank0[01cf].Bit(5)) {
- 20cc SetControlsEnabled(#0000)
- 20d0 SetRandomEncountersEnabled(#0000)
- 20d4 SetNumWaitFrames(#0014)
- 20d5 Wait()
- 20d9 SetActiveEntity(GetSpecial(0008))
- 20dd CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 20de GOTO 20e1
- }
- 20e0 EnterVehicle()
- 20e1 GOTO 20e4
- }
- 20e3 EnterVehicle()
- 20e4 GOTO 20e7
- }
- 20e6 EnterVehicle()
- }
- 20e7 RETURN
- Function 20e8
- Called by:
- Model($UnknownModel5).Function($UnknownFunc5)
- Addr Code
- 20ed WRITE Bank0[01cf].Bit(4) = #0000
- 20ee RETURN
- Function 20ef
- Called by:
- Model($UltimateWeaponModel).Function($OnFrameTick)
- Addr Code
- 20f6 IF ((ActiveEntity.GetDistanceToModel(#000e) <= #0064)) {
- 20f8 Op30d()
- }
- 20ff IF ((Bank0_16bit[0000] < #062c)) {
- 2108 IF ((ActiveEntity.GetDistanceToPoint(#000e) <= #0100)) {
- 210d CALL Model($UltimateWeaponModel).Function($UnknownFunc28)
- }
- 210e GOTO 2127
- }
- 2116 IF ((Bank0_16bit[0000] == #062c)) {
- 211f IF ((ActiveEntity.GetDistanceToPoint(#000e) <= #0100)) {
- 2126 EnterFieldScene(#0034, #0000)
- }
- }
- 212d IF ((Bank0_16bit[0000] == #063c)) {
- 2136 IF ((ActiveEntity.GetDistanceToPoint(#0009) <= #0100)) {
- 213d WRITE Bank0_16bit[0000] = #063e
- 2143 EnterFieldScene(#0034, #0000)
- 2149 WRITE Bank0[0385].Bit(6) = #0001
- }
- }
- 214a RETURN
- Function 214b
- Called by:
- Model($UltimateWeaponModel).Function($OnModelLoad)
- Addr Code
- 2151 IF ((GetSpecial(0005) == #0000)) {
- 2159 IF ((GetSpecial(0006) == #0033)) {
- 2160 WRITE Bank0[038d] = GetSpecial(0007)
- 2164 Op319(#000a)
- 216a WRITE Bank0_16bit[0390] = #0000
- 216e PlaySoundEffect(#017f)
- 216f Op339()
- 2175 ActiveEntity.SetMeshCoordsXZ(#0016, #000f)
- 217b ActiveEntity.SetCoordsInMeshXZ(#1fa8, #06c4)
- 217f ActiveEntity.SetDirectionAndFacing(#0097)
- 2183 SetRandomEncountersEnabled(#0000)
- 2187 SetControlsEnabled(#0000)
- 218b Op31c(#0000)
- 218f Op32f(#00e8)
- 2193 SetNumWaitFrames(#000f)
- 2194 Wait()
- 2198 ActiveEntity.SetMoveSpeed(#00a0)
- 219d Op33a((-#0014))
- 21a1 SetNumWaitFrames(#0096)
- 21a2 Wait()
- 21a6 Op33a(#0000)
- 21aa SetNumWaitFrames(#0055)
- 21ab Wait()
- 21af ActiveEntity.SetMoveSpeed(#0000)
- 21b3 CALL Model($UnknownModel10).Function($UnknownFunc28)
- }
- 21b4 GOTO 21fc
- }
- 21bc IF ((GetSpecial(0005) == #0001)) {
- 21c1 IF (Bank0[007b].Bit(0)) {
- 21c7 IF ((!Bank0[0386].Bit(4))) {
- 21cc IF (Bank0[0387].Bit(0)) {
- 21d1 SetControlsEnabled(#0000)
- 21d2 Op339()
- 21d6 Op319(#000a)
- 21dc ActiveEntity.SetMeshCoordsXZ(#000b, #0015)
- 21e2 ActiveEntity.SetCoordsInMeshXZ(#15f0, #079a)
- 21e6 ActiveEntity.SetDirectionAndFacing(#0080)
- 21ea Op31c(#0000)
- 21ee Op32f(#0000)
- 21f2 SetMusicVolume(#0000)
- 21f6 SetNumWaitFrames(#000a)
- 21f7 Wait()
- 21fb CALL Model($HighwindModel).Function($UnknownFunc28)
- }
- }
- }
- }
- 2202 IF ((Bank0_16bit[0000] >= #0522)) {
- 2207 IF (Bank0[007f].Bit(3)) {
- 220e ActiveEntity.SetMeshCoordsXZ(#000a, #000e)
- 2214 ActiveEntity.SetCoordsInMeshXZ(#0d9d, #115c)
- 2218 ActiveEntity.SetDirectionAndFacing(#00f5)
- }
- }
- 2219 RETURN
- Function 221a
- Called by:
- System.Function($UnknownFunc29)
- Model($CloudModel).Function($UnknownFunc29)
- Addr Code
- 221d SetMusicVolume(#0000)
- 2221 SetControlsEnabled(#0000)
- 2225 SetRandomEncountersEnabled(#0000)
- 2229 SetNumWaitFrames(#003c)
- 222a Wait()
- 2231 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 2235 ActiveEntity.SetMoveSpeed(#0014)
- 2239 SetNumWaitFrames(#000a)
- 223a Wait()
- 223e ActiveEntity.SetMoveSpeed(#0000)
- 223f WaitForWindowReady()
- 2249 SetWindowDimensions(#0076, #00a0, #0054, #0029)
- 224f SetWindowParams(#0000, #0000)
- 2250 WaitForWindowReady()
- 2254 SetWindowMessage(#0037)
- 2255 WaitForMessageAcknowledge()
- 2259 SetNumWaitFrames(#0014)
- 225a Wait()
- 225e SetCameraShakingEnabled(#0001)
- 2262 PlaySoundEffect(#017f)
- 2266 SetNumWaitFrames(#0014)
- 2267 Wait()
- 226b SetMusicVolume(#007f)
- 226f SendSoundCommand(#0006)
- 2275 ActiveEntity.PlayAnimation(#0007, #0001)
- 2279 SetNumWaitFrames(#0028)
- 227a Wait()
- 227b WaitForWindowReady()
- 2285 SetWindowDimensions(#0067, #00a0, #0072, #0029)
- 228b SetWindowParams(#0000, #0000)
- 228c WaitForWindowReady()
- 2290 SetWindowMessage(#0038)
- 2291 WaitForMessageAcknowledge()
- 2295 SetNumWaitFrames(#001e)
- 2296 Wait()
- 229a SetFieldEntryPointFromFieldTblId(#0033)
- 229e SetControlsEnabled(#0001)
- 22a2 SetRandomEncountersEnabled(#0001)
- 22a3 RETURN
- Function 22a4
- Called by:
- Model($ChocoboModel).Function($UnknownFunc29)
- Addr Code
- 22a7 SetMusicVolume(#0000)
- 22ab SetControlsEnabled(#0000)
- 22af SetRandomEncountersEnabled(#0000)
- 22b3 SetNumWaitFrames(#003c)
- 22b4 Wait()
- 22bb ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) + #0080))
- 22bf ActiveEntity.SetMoveSpeed(#0014)
- 22c3 SetNumWaitFrames(#000a)
- 22c4 Wait()
- 22c8 ActiveEntity.SetMoveSpeed(#0000)
- 22c9 WaitForWindowReady()
- 22d3 SetWindowDimensions(#0076, #00a0, #0054, #0029)
- 22d9 SetWindowParams(#0000, #0000)
- 22da WaitForWindowReady()
- 22de SetWindowMessage(#0037)
- 22df WaitForMessageAcknowledge()
- 22e3 SetNumWaitFrames(#0014)
- 22e4 Wait()
- 22e8 SetCameraShakingEnabled(#0001)
- 22ec PlaySoundEffect(#017f)
- 22f0 SetNumWaitFrames(#0014)
- 22f1 Wait()
- 22f5 SetMusicVolume(#007f)
- 22f9 SendSoundCommand(#0006)
- 22fd SetNumWaitFrames(#0028)
- 22fe Wait()
- 22ff WaitForWindowReady()
- 2309 SetWindowDimensions(#0067, #00a0, #0072, #0029)
- 230f SetWindowParams(#0000, #0000)
- 2310 WaitForWindowReady()
- 2314 SetWindowMessage(#0038)
- 2315 WaitForMessageAcknowledge()
- 2319 SetNumWaitFrames(#001e)
- 231a Wait()
- 231e SetFieldEntryPointFromFieldTblId(#0033)
- 2322 SetControlsEnabled(#0001)
- 2326 SetRandomEncountersEnabled(#0001)
- 2327 RETURN
- Function 2328
- Called by:
- Model($UltimateWeaponModel).Function($UnknownFunc4)
- Addr Code
- 2340 IF (((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002)) || (GetSpecial(0008) == #0013))) {
- 2348 IF ((GetSpecial(0008) == #0013)) {
- 234f WRITE Bank0[0385].Bit(7) = #0001
- }
- 2353 IF (Bank0[0352].Bit(3)) {
- 2359 IF ((!Bank0[0385].Bit(4))) {
- 235e SetControlsEnabled(#0000)
- 2364 WRITE Bank0[0385].Bit(4) = #0001
- 2368 CALL Model(GetSpecial(0008)).Function(001d)
- 2369 Op334()
- }
- }
- 236d IF (Bank0[01cf].Bit(0)) {
- 2373 IF ((!Bank0[01cf].Bit(6))) {
- 2378 IF (Bank0[01cf].Bit(5)) {
- 237d SetRandomEncountersEnabled(#0000)
- 2381 SetControlsEnabled(#0000)
- 2385 SetNumWaitFrames(#0014)
- 2386 Wait()
- 238a SetActiveEntity(GetSpecial(0008))
- 238e CALL Model($SystemModelInActiveEntityContext).Function($UnknownFunc28)
- 238f GOTO 23a0
- }
- 2391 EnterVehicle()
- 2398 IF ((GetSpecial(0008) == #0003)) {
- 239f WRITE Bank0[007f].Bit(5) = #0001
- }
- 23a0 GOTO 23b1
- }
- 23a2 EnterVehicle()
- 23a9 IF ((GetSpecial(0008) == #0003)) {
- 23b0 WRITE Bank0[007f].Bit(5) = #0001
- }
- 23b1 GOTO 23c2
- }
- 23b3 EnterVehicle()
- 23ba IF ((GetSpecial(0008) == #0003)) {
- 23c1 WRITE Bank0[007f].Bit(5) = #0001
- }
- }
- 23c2 RETURN
- Function 23c3
- Called by:
- Model($UltimateWeaponModel).Function($UnknownFunc5)
- Addr Code
- 23c8 WRITE Bank0[007f].Bit(5) = #0000
- 23ce WRITE Bank0[007f].Bit(3) = #0000
- 23d4 WRITE Bank0[0385].Bit(7) = #0000
- 23d5 RETURN
- Function 23d6
- Called by:
- Model($SubmarineModel).Function($OnModelLoad)
- Addr Code
- 23d9 IF (Bank0[0350].Bit(3)) {
- 23df IF ((!Bank0[007a].Bit(2))) {
- 23e4 SetControlsEnabled(#0000)
- 23e8 SetRandomEncountersEnabled(#0000)
- 23ec SetNumWaitFrames(#001e)
- 23ed Wait()
- 23f1 ActiveEntity.SetMoveSpeed(#0028)
- 23f5 ActiveEntity.SetDirectionAndFacing(#0040)
- 23f9 SetNumWaitFrames(#004b)
- 23fa Wait()
- 23fe ActiveEntity.SetMoveSpeed(#0000)
- 2402 SetNumWaitFrames(#000a)
- 2403 Wait()
- 2404 Op331()
- 2408 SetActiveEntity(GetSpecial(0008))
- 240c SetControlsEnabled(#0000)
- 2410 SetNumWaitFrames(#0014)
- 2411 Wait()
- 2412 WaitForWindowReady()
- 241c SetWindowDimensions(#0012, #0005, #011b, #0059)
- 2422 SetWindowParams(#0000, #0000)
- 2423 WaitForWindowReady()
- 2427 SetWindowMessage(#003d)
- 2428 WaitForMessageAcknowledge()
- 242c SetRandomEncountersEnabled(#0001)
- 2430 SetControlsEnabled(#0001)
- 2436 WRITE Bank0[007a].Bit(2) = #0001
- }
- 2437 GOTO 24b7
- }
- 243c IF (Bank0[0352].Bit(2)) {
- 2444 IF ((GetSpecial(0005) == #0000)) {
- 244c IF ((GetSpecial(0006) == #0036)) {
- 2452 IF ((!Bank0[0386].Bit(1))) {
- 2457 SetControlsEnabled(#0000)
- 245b SetRandomEncountersEnabled(#0000)
- 245f SetNumWaitFrames(#0032)
- 2460 Wait()
- 2464 ActiveEntity.SetMoveSpeed(#0028)
- 2468 ActiveEntity.SetDirectionAndFacing(#0000)
- 246c SetNumWaitFrames(#0069)
- 246d Wait()
- 2471 ActiveEntity.SetMoveSpeed(#0028)
- 2475 ActiveEntity.SetDirectionAndFacing(#0040)
- 2479 SetNumWaitFrames(#0034)
- 247a Wait()
- 247e ActiveEntity.SetMoveSpeed(#0000)
- 2482 SetNumWaitFrames(#000a)
- 2483 Wait()
- 2484 Op331()
- 2488 SetActiveEntity(GetSpecial(0008))
- 248c SetControlsEnabled(#0000)
- 2490 SetNumWaitFrames(#0014)
- 2491 Wait()
- 2492 WaitForWindowReady()
- 249c SetWindowDimensions(#0012, #0005, #011b, #0059)
- 24a2 SetWindowParams(#0000, #0000)
- 24a3 WaitForWindowReady()
- 24a7 SetWindowMessage(#003d)
- 24a8 WaitForMessageAcknowledge()
- 24ac SetRandomEncountersEnabled(#0001)
- 24b0 SetControlsEnabled(#0001)
- 24b6 WRITE Bank0[0386].Bit(1) = #0001
- }
- }
- }
- }
- 24b7 RETURN
- Function 24b8
- Called by:
- Model($SubmarineModel).Function($UnknownFunc4)
- Addr Code
- 24ca IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 24cc EnterVehicle()
- }
- 24cd RETURN
- Function 24ce
- Called by:
- Model($UnknownModel8).Function($OnModelLoad)
- Addr Code
- 24d4 IF ((GetSpecial(0005) == #0000)) {
- 24dc IF ((GetSpecial(0006) == #0024)) {
- 24e3 WRITE Bank0[038d] = GetSpecial(0007)
- 24e7 PlaySoundEffect(#017d)
- 24eb Op319(#000a)
- 24ef SetControlsEnabled(#0000)
- 24f3 Op31c(#0000)
- 24f7 Op32f(#0000)
- 24fd ActiveEntity.SetMeshCoordsXZ(#0014, #0011)
- 2503 ActiveEntity.SetCoordsInMeshXZ(#1121, #18c0)
- 2507 ActiveEntity.SetDirectionAndFacing(#00c0)
- 250b Op31c(#0001)
- 250f Op31f(#0006)
- 2513 Op329(#0002)
- 2517 Op32a(#0019)
- 251b SetNumWaitFrames(#0082)
- 251c Wait()
- 2520 Op31f(#0000)
- 2524 Op329(#0000)
- 2528 Op32a(#0000)
- 252c ActiveEntity.SetMoveSpeed(#000a)
- 2530 SetNumWaitFrames(#000a)
- 2531 Wait()
- 2535 ActiveEntity.SetMoveSpeed(#0014)
- 2539 SetNumWaitFrames(#000a)
- 253a Wait()
- 253e ActiveEntity.SetMoveSpeed(#001e)
- 2542 SetNumWaitFrames(#0014)
- 2543 Wait()
- 2547 ActiveEntity.SetMoveSpeed(#0028)
- 254b SetNumWaitFrames(#005f)
- 254c Wait()
- 2551 Op31f((-#0005))
- 2556 Op329((-#0003))
- 255a SetNumWaitFrames(#006e)
- 255b Wait()
- 255f Op31f(#0000)
- 2563 Op329(#0000)
- 2569 WRITE Bank0[0380] = #000d
- 256d IF (Bank0[0380]) {
- 2575 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) - #0003))
- 2579 SetNumWaitFrames(#000a)
- 257a Wait()
- 2583 WRITE Bank0[0380] = (Bank0[0380] - #0001)
- 2584 GOTO 256a
- }
- 2589 Op31f(#0000)
- 258d SetNumWaitFrames(#0096)
- 258e Wait()
- 2593 Op32a((-#0032))
- 2597 SetNumWaitFrames(#00a0)
- 2598 Wait()
- 259c Op32a(#0000)
- 25a2 WRITE Bank0[01cf].Bit(7) = #0000
- 25a8 EnterFieldScene(#0024, #0000)
- 25a9 GOTO 28eb
- }
- 25b1 IF ((GetSpecial(0006) == #0025)) {
- 25b6 PlaySoundEffect(#017d)
- 25ba Op319(#000a)
- 25be SetControlsEnabled(#0000)
- 25c2 Op31c(#0000)
- 25c6 Op32f(#0050)
- 25ca Op31c(#0001)
- 25cf Op329((-#0032))
- 25d5 ActiveEntity.SetMeshCoordsXZ(#0013, #0011)
- 25db ActiveEntity.SetCoordsInMeshXZ(#04df, #0ef2)
- 25df ActiveEntity.SetDirectionAndFacing(#0099)
- 25e3 ActiveEntity.SetMoveSpeed(#0028)
- 25e7 SetNumWaitFrames(#0046)
- 25e8 Wait()
- 25ed Op31f((-#0005))
- 25f1 Op329(#0005)
- 25f5 SetNumWaitFrames(#001e)
- 25f6 Wait()
- 25fa SetNumWaitFrames(#0064)
- 25fb Wait()
- 25ff SetNumWaitFrames(#0064)
- 2600 Wait()
- 2604 SetNumWaitFrames(#0064)
- 2605 Wait()
- 2609 SetNumWaitFrames(#0043)
- 260a Wait()
- 260e Op31f(#0000)
- 2612 ActiveEntity.SetMoveSpeed(#001e)
- 2616 SetNumWaitFrames(#001e)
- 2617 Wait()
- 261b ActiveEntity.SetMoveSpeed(#0014)
- 261f SetNumWaitFrames(#0041)
- 2620 Wait()
- 2624 ActiveEntity.SetMoveSpeed(#0000)
- 2628 SetNumWaitFrames(#001e)
- 2629 Wait()
- 262f WRITE Bank0[0380] = #0023
- 2633 IF (Bank0[0380]) {
- 263b ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) - #0003))
- 263f SetNumWaitFrames(#0005)
- 2640 Wait()
- 2649 WRITE Bank0[0380] = (Bank0[0380] - #0001)
- 264a GOTO 2630
- }
- 264f SetNumWaitFrames(#0014)
- 2650 Wait()
- 2654 ActiveEntity.SetDirectionAndFacing(#0030)
- 2658 SetActiveEntityDirection(#00b0)
- 265c ActiveEntity.SetMoveSpeed(#0014)
- 2660 SetNumWaitFrames(#0073)
- 2661 Wait()
- 2665 ActiveEntity.SetMoveSpeed(#0000)
- 2669 Op329(#0000)
- 266d SetNumWaitFrames(#0014)
- 266e Wait()
- 2674 WRITE Bank0[01cf].Bit(7) = #0000
- 267a EnterFieldScene(#0025, #0000)
- 267e Op319(Bank0[038d])
- 267f GOTO 28eb
- }
- 2687 IF ((GetSpecial(0006) == #0026)) {
- 268e WRITE Bank0[038d] = GetSpecial(0007)
- 2692 PlaySoundEffect(#017d)
- 2696 Op319(#000a)
- 269a SetControlsEnabled(#0000)
- 269e Op31c(#0000)
- 26a2 Op32f(#0022)
- 26a6 Op31c(#0001)
- 26ab Op329((-#0032))
- 26b1 ActiveEntity.SetMeshCoordsXZ(#0014, #0011)
- 26b7 ActiveEntity.SetCoordsInMeshXZ(#1121, #18c0)
- 26bb ActiveEntity.SetDirectionAndFacing(#00c0)
- 26bf SetNumWaitFrames(#000a)
- 26c0 Wait()
- 26c4 Op329(#0003)
- 26c9 Op31f((-#0003))
- 26cd ActiveEntity.SetMoveSpeed(#000a)
- 26d1 SetNumWaitFrames(#000a)
- 26d2 Wait()
- 26d6 ActiveEntity.SetMoveSpeed(#0014)
- 26da SetNumWaitFrames(#000a)
- 26db Wait()
- 26df ActiveEntity.SetMoveSpeed(#001e)
- 26e3 SetNumWaitFrames(#0014)
- 26e4 Wait()
- 26e8 ActiveEntity.SetMoveSpeed(#0028)
- 26ec SetNumWaitFrames(#0064)
- 26ed Wait()
- 26f1 SetNumWaitFrames(#0032)
- 26f2 Wait()
- 26f8 WRITE Bank0[0380] = #0008
- 26fc IF (Bank0[0380]) {
- 2704 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) - #0003))
- 2708 SetNumWaitFrames(#000a)
- 2709 Wait()
- 2712 WRITE Bank0[0380] = (Bank0[0380] - #0001)
- 2713 GOTO 26f9
- }
- 2718 Op31f(#0000)
- 271e WRITE Bank0[0380] = #0005
- 2722 IF (Bank0[0380]) {
- 272a ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) - #0003))
- 272e SetNumWaitFrames(#000a)
- 272f Wait()
- 2738 WRITE Bank0[0380] = (Bank0[0380] - #0001)
- 2739 GOTO 271f
- }
- 273e SetNumWaitFrames(#0064)
- 273f Wait()
- 2743 SetNumWaitFrames(#0064)
- 2744 Wait()
- 2748 SetNumWaitFrames(#0064)
- 2749 Wait()
- 274d SetNumWaitFrames(#0064)
- 274e Wait()
- 2752 SetNumWaitFrames(#0041)
- 2753 Wait()
- 2757 ActiveEntity.SetMoveSpeed(#001e)
- 275b SetNumWaitFrames(#001e)
- 275c Wait()
- 2760 ActiveEntity.SetMoveSpeed(#0014)
- 2764 SetNumWaitFrames(#0041)
- 2765 Wait()
- 2769 ActiveEntity.SetMoveSpeed(#0000)
- 276d SetNumWaitFrames(#001e)
- 276e Wait()
- 2774 WRITE Bank0[0380] = #0023
- 2778 IF (Bank0[0380]) {
- 2780 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) - #0003))
- 2784 SetNumWaitFrames(#0005)
- 2785 Wait()
- 278e WRITE Bank0[0380] = (Bank0[0380] - #0001)
- 278f GOTO 2775
- }
- 2794 SetNumWaitFrames(#0014)
- 2795 Wait()
- 2799 ActiveEntity.SetDirectionAndFacing(#0030)
- 279d SetActiveEntityDirection(#00b0)
- 27a1 ActiveEntity.SetMoveSpeed(#0014)
- 27a5 SetNumWaitFrames(#0073)
- 27a6 Wait()
- 27aa ActiveEntity.SetMoveSpeed(#0000)
- 27ae Op329(#0000)
- 27b2 SetNumWaitFrames(#0014)
- 27b3 Wait()
- 27b9 WRITE Bank0[01cf].Bit(7) = #0000
- 27bf EnterFieldScene(#0026, #0000)
- 27c3 Op319(Bank0[038d])
- 27c4 GOTO 28eb
- }
- 27cc IF ((GetSpecial(0006) == #0027)) {
- 27d3 WRITE Bank0[038d] = GetSpecial(0007)
- 27d7 PlaySoundEffect(#017d)
- 27db Op319(#000a)
- 27df SetControlsEnabled(#0000)
- 27e3 Op31c(#0000)
- 27e7 Op32f(#00de)
- 27eb Op31c(#0001)
- 27f0 Op329((-#0032))
- 27f6 ActiveEntity.SetMeshCoordsXZ(#0011, #000f)
- 27fc ActiveEntity.SetCoordsInMeshXZ(#0b9c, #0866)
- 2800 ActiveEntity.SetDirectionAndFacing(#0034)
- 2804 SetNumWaitFrames(#000a)
- 2805 Wait()
- 2809 Op329(#0003)
- 280d Op31f(#0003)
- 2811 ActiveEntity.SetMoveSpeed(#000a)
- 2815 SetNumWaitFrames(#000a)
- 2816 Wait()
- 281a ActiveEntity.SetMoveSpeed(#0014)
- 281e SetNumWaitFrames(#000a)
- 281f Wait()
- 2823 ActiveEntity.SetMoveSpeed(#001e)
- 2827 SetNumWaitFrames(#0014)
- 2828 Wait()
- 282c ActiveEntity.SetMoveSpeed(#0028)
- 2830 SetNumWaitFrames(#0064)
- 2831 Wait()
- 2835 SetNumWaitFrames(#0064)
- 2836 Wait()
- 283a SetNumWaitFrames(#0064)
- 283b Wait()
- 283f SetNumWaitFrames(#0064)
- 2840 Wait()
- 2844 SetNumWaitFrames(#0014)
- 2845 Wait()
- 284b WRITE Bank0[0380] = #000d
- 284f IF (Bank0[0380]) {
- 2857 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) - #0003))
- 285b SetNumWaitFrames(#000a)
- 285c Wait()
- 2865 WRITE Bank0[0380] = (Bank0[0380] - #0001)
- 2866 GOTO 284c
- }
- 286b SetNumWaitFrames(#0064)
- 286c Wait()
- 2870 Op31f(#0000)
- 2874 SetNumWaitFrames(#0064)
- 2875 Wait()
- 2879 SetNumWaitFrames(#004a)
- 287a Wait()
- 287e ActiveEntity.SetMoveSpeed(#001e)
- 2882 SetNumWaitFrames(#001e)
- 2883 Wait()
- 2887 ActiveEntity.SetMoveSpeed(#0014)
- 288b SetNumWaitFrames(#0041)
- 288c Wait()
- 2890 ActiveEntity.SetMoveSpeed(#0000)
- 2894 SetNumWaitFrames(#001e)
- 2895 Wait()
- 289b WRITE Bank0[0380] = #001a
- 289f IF (Bank0[0380]) {
- 28a7 ActiveEntity.SetDirectionAndFacing((GetSpecial(0004) - #0003))
- 28ab SetNumWaitFrames(#0005)
- 28ac Wait()
- 28b5 WRITE Bank0[0380] = (Bank0[0380] - #0001)
- 28b6 GOTO 289c
- }
- 28bb SetNumWaitFrames(#0014)
- 28bc Wait()
- 28c0 ActiveEntity.SetDirectionAndFacing(#00bf)
- 28c4 SetActiveEntityDirection(#003f)
- 28c8 ActiveEntity.SetMoveSpeed(#0014)
- 28cc SetNumWaitFrames(#0064)
- 28cd Wait()
- 28d1 Op329(#0000)
- 28d5 ActiveEntity.SetMoveSpeed(#0000)
- 28d9 SetNumWaitFrames(#0014)
- 28da Wait()
- 28e0 WRITE Bank0[01cf].Bit(7) = #0000
- 28e6 EnterFieldScene(#0027, #0000)
- 28ea Op319(Bank0[038d])
- }
- }
- 28eb RETURN
- Function 28ec
- Called by:
- System.Function($OnTouchMidgarZolom)
- Addr Code
- 28ef TriggerBattle(SceneId=#01d5)
- 28f5 WRITE Bank0[0384].Bit(0) = #0001
- 28fb WRITE Bank0[0384].Bit(1) = GetSpecial(000b)
- 28fc RETURN
- Function 28fd
- Called by:
- Model($UnknownModel7).Function($OnModelLoad)
- Addr Code
- 2902 ActiveEntity.SetMeshCoordsXZ(#0014, #0011)
- 2908 ActiveEntity.SetCoordsInMeshXZ(#157c, #18b0)
- 290c ActiveEntity.SetDirectionAndFacing(#00c0)
- 290d RETURN
- Function 290e
- Called by:
- Model($UnknownModel20).Function($OnModelLoad)
- Addr Code
- 2913 ActiveEntity.SetMeshCoordsXZ(#0016, #000e)
- 2919 ActiveEntity.SetCoordsInMeshXZ(#124b, #0f1d)
- 291d ActiveEntity.SetDirectionAndFacing(#00fb)
- 2922 ActiveEntity.SetYOffset((-#0064))
- 2923 RETURN
- Function 2924
- Called by:
- Model($UnknownModel12).Function($OnModelLoad)
- Addr Code
- 2929 ActiveEntity.SetMeshCoordsXZ(#0018, #0014)
- 292f ActiveEntity.SetCoordsInMeshXZ(#1a1d, #1621)
- 2933 ActiveEntity.SetDirectionAndFacing(#0000)
- 2934 RETURN
- Function 2935
- Called by:
- Model($UnknownModel14).Function($OnModelLoad)
- Addr Code
- 293a ActiveEntity.SetMeshCoordsXZ(#000e, #0012)
- 2940 ActiveEntity.SetCoordsInMeshXZ(#1738, #17d9)
- 2944 ActiveEntity.SetDirectionAndFacing(#0000)
- 2945 RETURN
- Function 2946
- Called by:
- Model($UnknownModel15).Function($OnModelLoad)
- Addr Code
- 294b ActiveEntity.SetMeshCoordsXZ(#000a, #000e)
- 2951 ActiveEntity.SetCoordsInMeshXZ(#09b2, #1523)
- 2955 ActiveEntity.SetDirectionAndFacing(#0000)
- 2956 RETURN
- Function 2957
- Called by:
- Model($UnknownModel16).Function($OnModelLoad)
- Addr Code
- 295c ActiveEntity.SetMeshCoordsXZ(#000a, #000e)
- 2962 ActiveEntity.SetCoordsInMeshXZ(#098a, #14bf)
- 2966 ActiveEntity.SetDirectionAndFacing(#0000)
- 2967 RETURN
- Function 2968
- Called by:
- Model($UnknownModel24).Function($OnModelLoad)
- Addr Code
- 296d ActiveEntity.SetMeshCoordsXZ(#0010, #0004)
- 2973 ActiveEntity.SetCoordsInMeshXZ(#0001, #1004)
- 2977 ActiveEntity.SetYOffset(#0a5a)
- 2978 RETURN
- Function 2979
- Called by:
- Model($UnknownModel25).Function($OnMovement)
- Addr Code
- 298b IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2992 EnterFieldScene(#0037, #0000)
- }
- 2993 RETURN
- Function 2994
- Called by:
- Model($UnknownModel25).Function($OnModelLoad)
- Addr Code
- 2999 ActiveEntity.SetMeshCoordsXZ(#000b, #0015)
- 299f ActiveEntity.SetCoordsInMeshXZ(#0b20, #1e13)
- 29a3 ActiveEntity.SetDirectionAndFacing(#0080)
- 29a4 RETURN
- Function 29a5
- Called by:
- Walkmesh(18, 13).FunctionType(0)
- Addr Code
- 29a8 CALL Model(GetSpecial(0008)).Function(000f)
- 29a9 RETURN
- Function 29aa
- Called by:
- Walkmesh(19, 13).FunctionType(0)
- Addr Code
- 29ad CALL Model(GetSpecial(0008)).Function(000f)
- 29ae RETURN
- Function 29af
- Called by:
- Walkmesh(17, 14).FunctionType(0)
- Addr Code
- 29b2 CALL Model(GetSpecial(0008)).Function(000f)
- 29b3 RETURN
- Function 29b4
- Called by:
- Walkmesh(18, 14).FunctionType(0)
- Addr Code
- 29b7 CALL Model(GetSpecial(0008)).Function(000f)
- 29b8 RETURN
- Function 29b9
- Called by:
- Walkmesh(19, 14).FunctionType(0)
- Addr Code
- 29bc CALL Model(GetSpecial(0008)).Function(000f)
- 29bd RETURN
- Function 29be
- Called by:
- Walkmesh(17, 15).FunctionType(0)
- Addr Code
- 29c1 CALL Model(GetSpecial(0008)).Function(000f)
- 29c2 RETURN
- Function 29c3
- Called by:
- Walkmesh(18, 15).FunctionType(0)
- Addr Code
- 29c6 CALL Model(GetSpecial(0008)).Function(000f)
- 29c7 RETURN
- Function 29c8
- Called by:
- Walkmesh(19, 15).FunctionType(0)
- Addr Code
- 29cb CALL Model(GetSpecial(0008)).Function(000f)
- 29cc RETURN
- Function 29cd
- Called by:
- Walkmesh(18, 26).FunctionType(0)
- Addr Code
- 29d2 WRITE Bank0[0384].Bit(4) = #0001
- 29d3 RETURN
- Function 29d4
- Called by:
- Walkmesh(18, 26).FunctionType(1)
- Addr Code
- 29d9 WRITE Bank0[0384].Bit(4) = #0000
- 29da RETURN
- Function 29db
- Called by:
- Walkmesh(18, 26).FunctionType(3)
- Addr Code
- 29df IF ((!Bank0[01cf].Bit(3))) {
- 29f9 IF (((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002)) || (GetSpecial(0008) == #0004))) {
- 2a00 EnterFieldScene(#0020, #0000)
- }
- }
- 2a01 RETURN
- Function 2a02
- Called by:
- Walkmesh(19, 6).FunctionType(3)
- Addr Code
- 2a08 IF ((Bank0_16bit[0000] < #0642)) {
- 2a0d IF (Bank0[01cf].Bit(0)) {
- 2a13 IF ((!Bank0[01cf].Bit(6))) {
- 2a19 IF ((!Bank0[01cf].Bit(5))) {
- 2a33 IF (((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002)) || (GetSpecial(0008) == #0004))) {
- 2a3a EnterFieldScene(#0022, #0000)
- }
- }
- }
- }
- }
- 2a3b RETURN
- Function 2a3c
- Called by:
- Walkmesh(20, 10).FunctionType(0)
- Addr Code
- 2a42 IF ((GetSpecial(0008) == #0006)) {
- 2a48 IF ((!Bank0[01cf].Bit(1))) {
- 2a4d SetControlsEnabled(#0000)
- 2a51 CALL Model($UnknownModel6).Function($UnknownFunc28)
- 2a52 GOTO 2a62
- }
- 2a58 IF ((!Bank0[01cf].Bit(2))) {
- 2a5d SetControlsEnabled(#0000)
- 2a61 CALL Model($UnknownModel6).Function($UnknownFunc28)
- }
- }
- 2a62 RETURN
- Function 2a63
- Called by:
- System.Function($UnknownFunc30)
- Model($UltimateWeaponModel).Function($UnknownFunc30)
- Addr Code
- 2a66 SetControlsEnabled(#0000)
- 2a6b Op33a((-#001e))
- 2a6f SetNumWaitFrames(#001e)
- 2a70 Wait()
- 2a74 Op33a(#0000)
- 2a7a FadeOut(#0010, #0001)
- 2a7e SetNumWaitFrames(#001e)
- 2a7f Wait()
- 2a85 EnterFieldScene(#003b, #0000)
- 2a89 SetControlsEnabled(#0001)
- 2a8a RETURN
- Function 2a8b
- Called by:
- System.Function($UnknownFunc9)
- Addr Code
- 2a91 IF ((Bank0_16bit[0000] >= #0654)) {
- 2a96 CALL Model($UltimateWeaponModel).Function($UnknownFunc28)
- }
- 2a97 RETURN
- Function 2a98
- Called by:
- System.Function($UnknownFunc31)
- Model($TifaModel).Function($UnknownFunc31)
- Addr Code
- 2a9b SetControlsEnabled(#0000)
- 2a9f Op321(#0005)
- 2aa3 ActiveEntity.SetMoveSpeed(#0014)
- 2aa7 IF (GetSpecial(000d)) {
- 2aac SetNumWaitFrames(#0001)
- 2aad Wait()
- 2aae GOTO 2aa4
- }
- 2ab3 ActiveEntity.SetMoveSpeed(#0000)
- 2ab7 SetControlsEnabled(#0001)
- 2ab8 RETURN
- Function 2ab9
- Called by:
- Model($CidModel).Function($UnknownFunc31)
- Addr Code
- 2abc SetControlsEnabled(#0000)
- 2ac0 Op321(#0005)
- 2ac4 ActiveEntity.SetMoveSpeed(#0014)
- 2ac8 IF (GetSpecial(000d)) {
- 2acd SetNumWaitFrames(#0001)
- 2ace Wait()
- 2acf GOTO 2ac5
- }
- 2ad4 ActiveEntity.SetMoveSpeed(#0000)
- 2ad8 SetControlsEnabled(#0001)
- 2ad9 RETURN
- Function 2ada
- Called by:
- Walkmesh(14, 22).FunctionType(4)
- Addr Code
- 2aec IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2af3 EnterFieldScene(#0001, #0000)
- }
- 2af4 RETURN
- Function 2af5
- Called by:
- Walkmesh(13, 24).FunctionType(4)
- Addr Code
- 2b07 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2b0e EnterFieldScene(#0002, #0000)
- }
- 2b0f RETURN
- Function 2b10
- Called by:
- Walkmesh(16, 29).FunctionType(4)
- Addr Code
- 2b22 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2b27 IF (Bank0[007d].Bit(0)) {
- 2b2e EnterFieldScene(#0003, #0001)
- 2b2f GOTO 2b37
- }
- 2b36 EnterFieldScene(#0003, #0000)
- 2b37 GOTO 2b84
- }
- 2b3f IF ((GetSpecial(0008) == #0013)) {
- 2b46 WRITE Bank0[007e].Bit(0) = #0000
- 2b4c WRITE Bank0[007e].Bit(2) = #0000
- 2b52 WRITE Bank0[007e].Bit(3) = #0000
- 2b58 WRITE Bank0[007e].Bit(4) = #0000
- 2b5e WRITE Bank0[007e].Bit(5) = #0000
- 2b64 WRITE Bank0[007e].Bit(6) = #0000
- 2b6a WRITE Bank0[007e].Bit(1) = #0000
- 2b70 WRITE Bank0[007c] = #0000
- 2b74 IF (Bank0[007d].Bit(0)) {
- 2b7b EnterFieldScene(#0003, #0001)
- 2b7c GOTO 2b84
- }
- 2b83 EnterFieldScene(#0003, #0000)
- }
- 2b84 RETURN
- Function 2b85
- Called by:
- Walkmesh(18, 26).FunctionType(4)
- Addr Code
- 2b97 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2b9e EnterFieldScene(#0004, #0000)
- }
- 2b9f RETURN
- Function 2ba0
- Called by:
- Walkmesh(19, 25).FunctionType(4)
- Addr Code
- 2bb2 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2bb9 EnterFieldScene(#0005, #0000)
- }
- 2bba RETURN
- Function 2bbb
- Called by:
- Walkmesh(20, 24).FunctionType(4)
- Addr Code
- 2bcd IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2bd4 EnterFieldScene(#0006, #0000)
- }
- 2bd5 RETURN
- Function 2bd6
- Called by:
- Walkmesh(17, 20).FunctionType(4)
- Addr Code
- 2bee IF (((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002)) || (GetSpecial(0008) == #0006))) {
- 2bf5 EnterFieldScene(#0007, #0000)
- }
- 2bf6 RETURN
- Function 2bf7
- Called by:
- Walkmesh(22, 20).FunctionType(4)
- Addr Code
- 2c09 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2c10 EnterFieldScene(#0008, #0000)
- }
- 2c11 RETURN
- Function 2c12
- Called by:
- Walkmesh(16, 24).FunctionType(4)
- Addr Code
- 2c24 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2c2b EnterFieldScene(#0009, #0000)
- }
- 2c2c RETURN
- Function 2c2d
- Called by:
- Walkmesh(21, 15).FunctionType(4)
- Addr Code
- 2c3f IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2c46 EnterFieldScene(#000a, #0000)
- }
- 2c47 RETURN
- Function 2c48
- Called by:
- Walkmesh(24, 26).FunctionType(4)
- Addr Code
- 2c5a IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2c62 IF ((Bank0_16bit[0000] >= #04ad)) {
- 2c69 EnterFieldScene(#000b, #0001)
- 2c6a GOTO 2c72
- }
- 2c71 EnterFieldScene(#000b, #0000)
- }
- 2c72 RETURN
- Function 2c73
- Called by:
- Walkmesh(17, 33).FunctionType(4)
- Addr Code
- 2c85 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2c8c EnterFieldScene(#000c, #0000)
- }
- 2c8d RETURN
- Function 2c8e
- Called by:
- Walkmesh(15, 17).FunctionType(4)
- Addr Code
- 2ca6 IF (((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002)) || (GetSpecial(0008) == #0006))) {
- 2cad EnterFieldScene(#000d, #0000)
- }
- 2cae RETURN
- Function 2caf
- Called by:
- Walkmesh(14, 13).FunctionType(4)
- Addr Code
- 2cc1 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2cc8 EnterFieldScene(#000e, #0000)
- }
- 2cc9 RETURN
- Function 2cca
- Called by:
- Walkmesh(15, 13).FunctionType(4)
- Addr Code
- 2cdc IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2ce1 IF (Bank0[0491].Bit(2)) {
- 2ce8 EnterFieldScene(#000f, #0001)
- 2ce9 GOTO 2cf1
- }
- 2cf0 EnterFieldScene(#000f, #0000)
- }
- 2cf1 RETURN
- Function 2cf2
- Called by:
- Walkmesh(18, 14).FunctionType(4)
- Addr Code
- 2cf8 IF ((GetSpecial(0008) == #0006)) {
- 2cff EnterFieldScene(#0010, #0000)
- }
- 2d00 RETURN
- Function 2d01
- Called by:
- Walkmesh(22, 13).FunctionType(4)
- Addr Code
- 2d13 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2d1a EnterFieldScene(#0011, #0000)
- }
- 2d1b RETURN
- Function 2d1c
- Called by:
- Walkmesh(20, 10).FunctionType(4)
- Addr Code
- 2d2e IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2d35 EnterFieldScene(#0012, #0000)
- }
- 2d36 RETURN
- Function 2d37
- Called by:
- Walkmesh(16, 11).FunctionType(4)
- Addr Code
- 2d49 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2d50 EnterFieldScene(#0013, #0000)
- }
- 2d51 RETURN
- Function 2d52
- Called by:
- Walkmesh(14, 10).FunctionType(4)
- Addr Code
- 2d64 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2d6c IF ((Bank0_16bit[0000] >= #051c)) {
- 2d73 EnterFieldScene(#0014, #0001)
- 2d74 GOTO 2d7c
- }
- 2d7b EnterFieldScene(#0014, #0000)
- }
- 2d7c RETURN
- Function 2d7d
- Called by:
- Walkmesh(17, 12).FunctionType(4)
- Addr Code
- 2d8f IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2d96 EnterFieldScene(#0015, #0000)
- }
- 2d97 RETURN
- Function 2d98
- Called by:
- Walkmesh(13, 14).FunctionType(4)
- Addr Code
- 2daa IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2db1 EnterFieldScene(#0016, #0000)
- }
- 2db2 RETURN
- Function 2db3
- Called by:
- Walkmesh(10, 4).FunctionType(4)
- Addr Code
- 2dc5 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2dcd IF ((Bank0_16bit[0000] < #0642)) {
- 2dd2 IF (Bank0[01cf].Bit(0)) {
- 2dd8 IF ((!Bank0[01cf].Bit(6))) {
- 2dde IF ((!Bank0[01cf].Bit(5))) {
- 2de5 EnterFieldScene(#0017, #0001)
- 2de6 GOTO 2dee
- }
- 2ded EnterFieldScene(#0017, #0000)
- 2dee GOTO 2df6
- }
- 2df5 EnterFieldScene(#0017, #0000)
- 2df6 GOTO 2dfe
- }
- 2dfd EnterFieldScene(#0017, #0000)
- 2dfe GOTO 2e06
- }
- 2e05 EnterFieldScene(#0017, #0000)
- }
- 2e06 RETURN
- Function 2e07
- Called by:
- Walkmesh(15, 6).FunctionType(4)
- Addr Code
- 2e19 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2e20 EnterFieldScene(#0018, #0000)
- }
- 2e21 RETURN
- Function 2e22
- Called by:
- Walkmesh(10, 19).FunctionType(4)
- Addr Code
- 2e34 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2e3b EnterFieldScene(#0019, #0000)
- }
- 2e3c RETURN
- Function 2e3d
- Called by:
- Walkmesh(8, 19).FunctionType(4)
- Addr Code
- 2e4f IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2e56 EnterFieldScene(#001a, #0000)
- }
- 2e57 RETURN
- Function 2e58
- Called by:
- Walkmesh(8, 15).FunctionType(4)
- Addr Code
- 2e6a IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2e71 EnterFieldScene(#001b, #0000)
- }
- 2e72 RETURN
- Function 2e73
- Called by:
- Walkmesh(8, 17).FunctionType(4)
- Addr Code
- 2e85 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2e8c EnterFieldScene(#001c, #0000)
- }
- 2e8d RETURN
- Function 2e8e
- Called by:
- Walkmesh(1, 32).FunctionType(4)
- Addr Code
- 2ea0 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2ea7 EnterFieldScene(#001d, #0000)
- }
- 2ea8 RETURN
- Function 2ea9
- Called by:
- Walkmesh(16, 11).FunctionType(3)
- Addr Code
- 2ebb IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2ec2 EnterFieldScene(#002b, #0000)
- }
- 2ec3 RETURN
- Function 2ec4
- Called by:
- Walkmesh(15, 11).FunctionType(4)
- Addr Code
- 2ed6 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2edd EnterFieldScene(#002c, #0000)
- }
- 2ede RETURN
- Function 2edf
- Called by:
- Walkmesh(16, 10).FunctionType(4)
- Addr Code
- 2ef1 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2ef8 EnterFieldScene(#002e, #0000)
- }
- 2ef9 RETURN
- Function 2efa
- Called by:
- Walkmesh(8, 15).FunctionType(3)
- Addr Code
- 2f00 IF ((GetSpecial(0008) == #0000)) {
- 2f07 EnterFieldScene(#002f, #0000)
- 2f08 GOTO 2f1c
- }
- 2f16 IF (((GetSpecial(0008) == #0001) || (GetSpecial(0008) == #0002))) {
- 2f1b CALL Model(GetSpecial(0008)).Function(001f)
- }
- 2f1c RETURN
- Function 2f1d
- Called by:
- Walkmesh(6, 16).FunctionType(4)
- Addr Code
- 2f23 IF ((GetSpecial(0008) == #0000)) {
- 2f2a EnterFieldScene(#0030, #0000)
- }
- 2f2b RETURN
- Function 2f2c
- Called by:
- Walkmesh(10, 19).FunctionType(3)
- Addr Code
- 2f3e IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2f45 EnterFieldScene(#0039, #0000)
- }
- 2f46 RETURN
- Function 2f47
- Called by:
- Walkmesh(9, 19).FunctionType(4)
- Addr Code
- 2f59 IF ((((GetSpecial(0008) == #0000) || (GetSpecial(0008) == #0001)) || (GetSpecial(0008) == #0002))) {
- 2f60 EnterFieldScene(#003a, #0000)
- }
- 2f61 RETURN
- Function 2f62
- Called by:
- Model($UnknownModel29).Function($UnknownFunc28)
- Addr Code
- 2f65 SetControlsEnabled(#0000)
- 2f69 Op31c(#0001)
- 2f6d CALL Model(GetSpecial(0008)).Function(0017)
- 2f6e Op334()
- 2f6f WaitForWindowReady()
- 2f79 SetWindowDimensions(#0080, #00a0, #0040, #0019)
- 2f7f SetWindowParams(#0000, #0000)
- 2f80 WaitForWindowReady()
- 2f84 SetWindowMessage(#0022)
- 2f85 WaitForMessageAcknowledge()
- 2f89 SetCameraShakingEnabled(#0001)
- 2f8f Op333(GetSpecial(0008), #0000)
- 2f93 PlaySoundEffect(#017f)
- 2f97 Op31f(#001e)
- 2f9e IF ((GetSpecial(0008) == #0003)) {
- 2fa3 SetNumWaitFrames(#0019)
- 2fa4 Wait()
- 2fa5 GOTO 2fb4
- }
- 2fad IF ((GetSpecial(0008) == #0013)) {
- 2fb2 SetNumWaitFrames(#000f)
- 2fb3 Wait()
- }
- 2fb7 Op31f(#0000)
- 2fbb SetNumWaitFrames(#0019)
- 2fbc Wait()
- 2fc4 Op3fd(#0001, #0006, #000a)
- 2fca ActiveEntity.PlayAnimation(#0002, #0000)
- 2fce PlaySoundEffect(#01b1)
- 2fd2 SetNumWaitFrames(#003c)
- 2fd3 Wait()
- 2fd7 Op3fe(#0001)
- 2fdb Op34a(#0006)
- 2fdf SetCameraShakingEnabled(#0000)
- 2fe5 ActiveEntity.PlayAnimation(#0000, #0001)
- 2fe9 SetNumWaitFrames(#0028)
- 2fea Wait()
- 2ff0 WRITE Bank0[0387].Bit(5) = #0001
- 2ff4 TriggerBattle(SceneId=#03d6)
- 2ff8 Op31c(#0000)
- 2ff9 RETURN
- Function 2ffa
- Called by:
- Model($UnknownModel29).Function($OnFrameTick)
- Addr Code
- 3001 IF ((ActiveEntity.GetDistanceToModel(GetSpecial(0008)) >= #07d0)) {
- 3008 WRITE Bank0[0387].Bit(5) = #0000
- 300e ActiveEntity.PlayAnimation(#0001, #0001)
- }
- 301b IF (((GetSpecial(0008) == #0003) || (GetSpecial(0008) == #0013))) {
- 3020 IF (Bank0[0387].Bit(5)) {
- 3028 IF ((GetSpecial(0008) == #0003)) {
- 3031 IF ((ActiveEntity.GetDistanceToModel(GetSpecial(0008)) <= #0064)) {
- 3036 SetControlsEnabled(#0000)
- 303c Op333(GetSpecial(0008), #0000)
- 3040 Op34a(#0006)
- 3044 CALL Model(GetSpecial(0008)).Function(0018)
- 3045 Op334()
- 3049 SetNumWaitFrames(#0014)
- 304a Wait()
- 304e TriggerBattle(SceneId=#03d6)
- }
- 304f GOTO 307e
- }
- 3057 IF ((GetSpecial(0008) == #0013)) {
- 3060 IF ((ActiveEntity.GetDistanceToModel(GetSpecial(0008)) <= #0050)) {
- 3065 SetControlsEnabled(#0000)
- 306b Op333(GetSpecial(0008), #0000)
- 306f Op34a(#0006)
- 3073 CALL Model(GetSpecial(0008)).Function(0018)
- 3074 Op334()
- 3078 SetNumWaitFrames(#0014)
- 3079 Wait()
- 307d TriggerBattle(SceneId=#03d6)
- }
- }
- 307e GOTO 308d
- }
- 3087 IF ((ActiveEntity.GetDistanceToModel(GetSpecial(0008)) <= #0082)) {
- 308c CALL Model($UnknownModel29).Function($UnknownFunc28)
- }
- }
- 308d RETURN
- Function 308e
- Called by:
- Model($UnknownModel29).Function($OnModelLoad)
- Addr Code
- 3099 WRITE Bank0[0396] = ((GetSpecial(0010) * #0003) >> #0008)
- 30a0 IF ((Bank0[0396] == #0000)) {
- 30a7 ActiveEntity.SetMeshCoordsXZ(#000e, #0013)
- 30ad ActiveEntity.SetCoordsInMeshXZ(#0cc2, #0721)
- 30ae GOTO 30da
- }
- 30b6 IF ((Bank0[0396] == #0001)) {
- 30bd ActiveEntity.SetMeshCoordsXZ(#000f, #0013)
- 30c3 ActiveEntity.SetCoordsInMeshXZ(#00c5, #012f)
- 30c4 GOTO 30da
- }
- 30cc IF ((Bank0[0396] == #0002)) {
- 30d3 ActiveEntity.SetMeshCoordsXZ(#000e, #0012)
- 30d9 ActiveEntity.SetCoordsInMeshXZ(#16c6, #057a)
- }
- 30dd IF (Bank0[0387].Bit(5)) {
- 30e4 ActiveEntity.PlayAnimation(#0000, #0001)
- 30e5 GOTO 30ed
- }
- 30ec ActiveEntity.PlayAnimation(#0001, #0001)
- 30ed RETURN
- Function 30ee
- Addr Code
- 30ee RETURN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement