Danganronpa V3: Killing Harmony/Op Codes

From Spiral Framework
Jump to navigation Jump to search

0x00 - Set Flag

Internally called FLG; accepts 2 parameters

0x01 - If Flag

Internally called IFF; accepts variable length parameters

0x02 - Set Game Parameter

Internally called WAK (Work); accepts 3 parameters

0x03 - If Game Parameter

Internally called IFW; accepts 3 parameters.

0x04 - Switch

Internally called SWI; accepts 1 parameter.

0x05 - Case

Internally called CAS; accepts 1 raw short.

0x06 - MPF

Internally called MPF (Map Flag?); accepts 3 parameters.

0x07 - SPW

Internally called SPW; accepts variable length arguments (unknown type).

0x08 - Set Game Mode

Internally called MOD; accepts 4 parameters.

0x09 - HUM

Internally called HUM; accepts 1 parameter.

0x0A - Check For Variable

Internally called CHK; accepts 1 parameter. Functionality seems dependent on the mode.

0x0B - Truth Bullet

Internally called KTB; accepts 2 parameters.

0x0C - CLR

Internally called CLR; accepts variable length arguments (unknown type).

0x0D - RET

Internally called RET; accepts variable length arguments (unknown type).

0x0E - Camera Look

Internally called KNM; accepts 5 parameters.

0x0F - CAP

Internally called CAP; accepts variable length arguments (unknown type).

0x10 - Load Script

Internally called FIL; accepts 2 parameters.

0x11 - Stop Script

Internally called END; accepts no arguments.

0x12 - Run Subroutine Script

Internally called SUB; accepts 2 parameters.

0x13 - Return

Internally called RTN; accepts no arguments.

0x14 - Label

Internally called LAB; accepts 1 label.

0x15 - Jump To Label

Internally called JMP; accepts 1 parameter.

0x16 - Movie

Internally called MOV; accepts 2 parameters.

0x17 - Animation

Internally called FLS; accepts 4 parameters.

0x18 - Animation Effect

Internally called FLM; accepts 6 parameters.

0x19 - Voice

Internally called VOI; accepts 2 parameters.

0x1A - Music

Internally called BGM; accepts 3 parameters.

0x1B - Sound Effect

Internally called SE_; accepts 2 parameters.

0x1C - Jingle

Internally called JIN; accepts 2 parameters.

0x1D - Speaker

Internally called CHN; accepts 1 parameter.

0x1E - Camera Vibration

Internally called VIB; accepts 3 parameters.

0x1F - Fade Screen

Internally called FDS; accepts 3 parameters.

0x20 - FLA

Internally called FLA; accepts variable length arguments (unknown type).

0x21 - Set Lighting Parameter

Internally called LIG; accepts a parameter, followed by a raw number, followed by another parameter.

0x22 - Set Character Parameter

Internally called CHR; accepts 3 parameters.

0x23 - Set Background Parameter

Internally called BGD; accepts 4 parameters.

0x24 - Cutin

Internally called CUT; accepts 2 parameters.

0x25 - Character Vibration

Internally called ADF; accepts 5 parameters.

0x26 - PAL

Internally called PAL; accepts variable length arguments (unknown type). May accept zero arguments?

0x27 - Load Map

Internally called MAP; accepts 3 parameters (Map Name, Start Position, Should Play Loading Animation).

0x28 - Load Object

Internally called OBJ; accepts 3 parameters.

0x29 - BUL

Internally called BUL; accepts 8 parameters.

0x2A - Cross Fade

Internally called CRF; accepts 7 parameters.

0x2B - Camera Command

Internally called CAM; accepts 5 parameters.

0x2C - Split Screen Mode

Internally called KWM; accepts 1 parameter.

0x2D - ARE

Internally called ARE (Area Parameters?); accepts 2 parameters.

0x2E - Set Key Item

Internally called KEY; accepts 2 parameters.

0x2F - Set Text Window Parameter

Internally called WIN; accepts 4 parameters.

0x30 - MSC

Internally called MSC; accepts variable length arguments (unknown type).

0x31 - CSM

Internally called CSM; accepts variable length arguments (unknown type).

0x32 - Post-Processing

Internally called PST; accepts 5 parameters.

0x33 - KNS

Internally called KNS; accepts a parameter, followed by 4 raw numbers.

0x34 - Set Font

Internally called FON; accepts 2 raw numbers.

0x35 - Load Background Object

Internally called BGO; accepts 5 parameters.

0x36 - Log

Internally called LOG; accepts no parameters. Seems to only be used in minigames, to add the following line of text to the log.

0x37 - SPT

Internally called SPT; accepts 1 parameter. Only seems to be called with 'non'.

0x38 - CDV

Internally called CDV; accepts 10 parameters.

0x39 - Stand Position

Internally called SZM; accepts 3 parameters (Depth, Height, Duration).

0x3A - PVI

Internally called PVI; accepts 1 parameter.

0x3B - Give EXP

Internally called EXP; accepts 1 parameter.

0x3C - MTA

Internally called MTA; accepts 1 parameter.

0x3D - Move Object to Position

Internally called MVP; accepts 3 parameters.


0x3E - Create Position

Internally called POS; accepts 5 parameters.

0x3F - Program World Character Icon

Internally called ICO; accepts 4 parameters.

0x40 - Set Exisal AI Parameters

Internally called EAI; accepts 10 parameters.

0x41 - Set Object Collision

Internally called COL; accepts 3 parameters.

0x42 - Camera Follow Path

Internally called CFP; accepts 9 parameters.

0x43 - Set Text Color

Internally called CLT=; accepts 1 parameter.

0x44 - R=

Internally called R=; accepts no arguments.

0x45 - Display Gamepad Symbol

Internally called PAD=; accepts 1 parameter.

0x46 - Text

Internally called LOC; accepts 1 string.

0x47 - Wait For Input

Internally called BTN; accepts no arguments.

0x48 - ENT

Internally called ENT; accepts no arguments.

0x49 - End If

Internally called CED; accepts no arguments.

0x4A - Sublabel

Internally called LBN; accepts 1 raw number.

0x4B - Jump To Sublabel

Internally called JMN; accepts 1 raw number.