Difference between revisions of "FF7/WorldMap Module/Script/Opcodes/34a"

From Final Fantasy Inside
Jump to navigation Jump to search
m (Notes)
m (Notes)
Line 24: Line 24:
 
|-
 
|-
 
| 1
 
| 1
| Unknown
+
| Unknown (unused in world script)
 
|-
 
|-
 
| 2
 
| 2
| Unknown
+
| Unknown (unused in world script)
 
|-
 
|-
 
| 3
 
| 3
| Unknown
+
| Unknown (unused in world script)
 
|-
 
|-
 
| 4, 5
 
| 4, 5

Revision as of 11:14, 17 January 2025

  • Opcode: 0x34a
  • Name: play 2d animation at active entity's position
  • Two-word opcode: No

Parameters

Location Name Description
Stack Animation ID One of several hardcoded animation ids

Notes

The animations this opcode supports are baked in into the game's code (on PC it's a function at 0x75bbb3). Below is the list of available animation IDs:

Anim ID Description
1 Unknown (unused in world script)
2 Unknown (unused in world script)
3 Unknown (unused in world script)
4, 5 Ultimate Weapon's energy ball when it hovers over Mideel
6 Impact circle, used for Ruby and Emerald when interacting with them
20 - 23 Electric sparks and smoke, used during Buggy breakdown in Cosmo Canyon