Skip to content

Latest commit

 

History

History
104 lines (73 loc) · 2.21 KB

File metadata and controls

104 lines (73 loc) · 2.21 KB

Opcode Group 47

4700 Spawn Projectile

Example 47000026 XXXXXXXX YYYYYYYY ZZZZZZZZ WWWWWWWW VVVVVVVV

  • 26: Call SEQ_RegCMD using 26, which is the current player chr_p
  • X: Something ID/Index. Looks up the size of something from a short[][1]
  • Y: Projectile ID.
  • Z: Offset in the SEQ file where the projectile data is located.
  • W: Flag that has the possible values 0, 1, 2, 3, and 4. Tenten 2A and one of her combo moves uses flag 4. Kakashi action ID 0x197 and 0x19E use flag 3. Everything else uses flag 0.
  • V: gx_link variable for gobjgxlink. Contains an index to the GObj (graphics object).

[1]

[0]               3,     3,     3,     3,
[4]               3,     3,     2,     9,
[8]               3,     3,     3,     3,
[12]              3,     0,     0,     3,
[16]              3,     3,     3,     0,
[20]              5,     3,     4,     3,
[24]              B,     3,     3,     0,
[28]              3,     3,     3,     3,
[32]              3,     3,     3,     3,
[36]              3,     3,     3,     3,
[40]              3,     7,     5,     3,
[44]              6,     3,     A,     3,
[48]              3,     3,     3,     6,
[52]              3,     3,     3,     3,
[56]              3,     3,     3,     3,
[60]              3,     3,     3,     3,
[64]              3,     3,     7,     7,
[68]              7,     7,     7,     3,
[72]              3,     3,     3,     3,
[76]              7,     0

4703

4704 projectile_pow_dmg_grd

  • Three operands Example 47040000 XXXXXXXX YYYYYYYY ZZZZZZZZ

4705 projectile_num_hits

  • One operand Example 47050000 XXXXXXXX

4706 projectile_axisrotation

  • Call SEQ_RegCMD2 Example 47063F00 00000000 3F000000 00000480

4707 projectile_dir_ang

  • Call SEQ_RegCMD2
  • Example where XXXX is DIR and YYYY is ANG:
  • 47073F00 0000XXXX 3F000000 0000YYYY

4708

4709

470A projectile_velocity

  • Call SEQ_RegCMD Example 470A003F 40400000

470C

470D

470E projectile_launching_height

  • One operand Example 470E0000 00000051

4710

4711

4712

4713

4714

4716

4717

4718

4719

471A

471B

471C

471D projectile_random_launching_height

471E projectile_random_4710

471F

4720