Anonymous

Changes

From Final Fantasy Inside

FF7/Battle/Battle scenes

3,677 bytes added, 03:27, 20 July 2005
no edit summary
| 0x0008
| 4 * 20 bytes
| Battle Setup 1 (4 records) ([[#Battle_Setup_1_format|format explaination]])
|-
| 0x0058
| varies
| Beginning of AI Data ([[#AI_data|format explaination]])
|}
 
==== Battle Setup 1 format ====
 
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" align="center" | Offset
! style="background:rgb(204,204,204)" align="center" | Length
! style="background:rgb(204,204,204)" align="center" | Description
|-
| 0x0000
| 2 bytes
| '''Battle location, as follows:'''
|-
|
|
| 0000h : Blank<br>0001h : Bizarro Battle - Center<br>0002h : Grassland<br>0003h : Mt Nibel<br>0004h : Forest<br>0005h : Beach<br>0006h : Desert<br>0007h : Snow<br>0008h : Swamp<br>0009h : Sector 1 Train Station<br>000Ah : Reactor 1<br>000Bh : Reactor 1 Core<br>000Ch : Reactor 1 Entrance<br>000Dh : Sector 4 Subway<br>000Eh : Nibel Caves or AForest Caves<br>000Fh : Shinra HQ<br>0010h : Midgar Raid Subway<br>0011h : Hojo's Lab<br>0012h : Shinra Elevators<br>0013h : Shinra Roof<br>0014h : Midgar Highway<br>0015h : Wutai Pagoda<br>0016h : Church<br>0017h : Coral Valley<br>0018h : Midgar Slums<br>0019h : Sector 4 Corridors or Junon Path<br>001Ah : Sector 4 Gantries or Midgar Underground<br>001Bh : Sector 7 Support Pillar Stairway<br>001Ch : Sector 7 Support Pillar Top<br>001Dh : Sector 8<br>001Eh : Sewers<br>001Fh : Mythril Mines<br>0020h : Northern Crater - Floating Platforms<br>0021h : Corel Mountain Path<br>0022h : Junon Beach<br>0023h : Junon Cargo Ship<br>0024h : Corel Prison<br>0025h : Battle Square<br>0026h : Da Chao - Rapps Battle<br>0027h : Cid's Backyard<br>0028h : Final Descent to Sephiroth<br>0029h : Reactor 5 Entrance<br>002Ah : Temple of the Ancients - Escher Room<br>002Bh : Shinra Mansion<br>002Ch : Junon Airship Dock<br>002Dh : Whirlwind Maze<br>002Eh : Junon Underwater Reactor<br>002Fh : Gongaga Reactor<br>0030h : Gelnika<br>0031h : Train Graveyard<br>0032h : Great Glacier Ice Caves & Gaea Cliffs - Inside<br>0033h : Sister Ray<br>0034h : Sister Ray Base<br>0035h : Forgotten City Altar<br>0036h : Northern Crater - Initial Descent<br>0037h : Northern Crater - Hatchery<br>0038h : Northern Crater - Water Area<br>0039h : Safer Battle<br>003Ah : Kalm Flashback - Dragon Battle<br>003Bh : Junon Underwater Pipe<br>003Ch : Blank<br>003Dh : Corel Railway - Canyon<br>003Eh : Whirlwind Maze - Crater<br>003Fh : Corel Railway - Rollercoaster<br>0040h : Wooden Bridge<br>0041h : Da Chao<br>0042h : Fort Condor<br>0043h : Dirt Wasteland<br>0044h : Bizarro Battle - Right Side<br>0045h : Bizarro Battle - Left Side<br>0046h : Jenova*SYNTHESIS Battle<br>0047h : Corel Train Battle<br>0048h : Cosmo Canyon<br>0049h : Caverns of the Gi<br>004Ah : Nibelheim Mansion Basement<br>004Bh : Temple of the Ancients - Demons Gate<br>004Ch : Temple of the Ancients - Mural Room<br>004Dh : Temple of the Ancients - Clock Passage<br>004Eh : Final Battle - Sephiroth<br>004Fh : Jungle<br>0050h : Ultimate Weapon - Battle on Highwind<br>0051h : Corel Reactor<br>0052h : Unused<br>0053h : Don Corneo's Mansion<br>0054h : Emerald Weapon Battle<br>0055h : Reactor 5<br>0056h : Shinra HQ - Escape<br>0057h : Ultimate Weapon - Gongaga Reactor<br>0058h : Corel Prison - Dyne Battle<br>0059h : Ultimate Weapon - Forest
|-
| 0x0002
| 14 bytes
| Unknown
|}
| Unknown
|}
 
====AI Data====
 
This section contains Battle Script that is executed before or/and during every fight. Every enemy has it's own script, and this script is sometimes divided to several sections. Each enemy's AI data begins with 32 bytes that describes sections of this enemy AI data. Each section has it's 2 byte ID here and FFh means no section. After that, battle script follows. It's structure and opcodes are described [[FF7/Battle/Battle_Scenes/Battle_Script|here]].
Anonymous user