phantasmal-world/psolib/srcGeneration/asm/opcodes.yml
2021-07-25 17:24:42 +02:00

3935 lines
74 KiB
YAML

opcodes:
- code: 0x00
mnemonic: nop
doc: No operation, does nothing.
params: []
- code: 0x01
mnemonic: ret
doc: Returns control to caller.
params: []
- code: 0x02
mnemonic: sync
doc: Yields control for the rest of the current frame. Execution will continue the following frame.
params: []
- code: 0x03
mnemonic: exit
params:
- type: int
stack: pop
- code: 0x04
mnemonic: thread
doc: |-
Starts a new thread. Thread execution will start at the given label.
Often used to check a register every frame. Make sure to yield control with sync when looping.
params:
- type: ilabel
- code: 0x05
mnemonic: va_start
doc: |-
Initializes a variable argument list.
Make sure to call va_end after va_start and va_call.
params: []
- code: 0x06
mnemonic: va_end
doc: |-
Restores the registers overwritten by arg_push* instructions.
Called after va_call.
params: []
- code: 0x07
mnemonic: va_call
doc: |-
Calls the variable argument function at the given label.
Called after initializing the argument list with va_start and pushing arguments onto the stack with arg_push* instructions. Make sure to call va_end afterwards.
params:
- type: ilabel
- code: 0x08
mnemonic: let
doc: Sets a register to a given register's value.
params:
- type: reg
registers:
- type: int
write: true
- type: reg
registers:
- type: int
read: true
- code: 0x09
mnemonic: leti
doc: Sets a register to the given value.
params:
- type: reg
registers:
- type: int
write: true
- type: int
- code: 0x0a
mnemonic: letb
doc: Sets a register to the given value.
params:
- type: reg
registers:
- type: byte
write: true
- type: byte
- code: 0x0b
mnemonic: letw
doc: Sets a register to the given value.
params:
- type: reg
registers:
- type: short
write: true
- type: short
- code: 0x0c
mnemonic: leta
doc: Sets a register to the memory address of a given register. Not used by Sega.
params:
- type: reg
registers:
- type: pointer
write: true
- type: reg
registers:
- type: any
read: true
- code: 0x0d
mnemonic: leto
doc: Sets a register to the memory address of the given label. Not used by Sega.
params:
- type: reg
registers:
- type: pointer
write: true
- type: label
- code: 0x10
mnemonic: set
doc: Sets a register to 1.
params:
- type: reg
registers:
- type: int
write: true
- code: 0x11
mnemonic: clear
doc: Sets a register to 0.
params:
- type: reg
registers:
- type: int
write: true
- code: 0x12
mnemonic: rev
doc: Sets a register to 1 if its current value is 0, otherwise sets it to 0.
params:
- type: reg
registers:
- type: int
read: true
write: true
- code: 0x13
mnemonic: gset
params:
- type: short
- code: 0x14
mnemonic: gclear
params:
- type: short
- code: 0x15
mnemonic: grev
params:
- type: short
- code: 0x16
mnemonic: glet
params:
- type: short
- code: 0x17
mnemonic: gget
doc: Sets a register to value of the given flag.
params:
- type: short
- type: reg
registers:
- type: short
name: flag
write: true
- code: 0x18
mnemonic: add
params:
- type: reg
registers:
- type: int
read: true
write: true
- type: reg
registers:
- type: int
read: true
- code: 0x19
mnemonic: addi
params:
- type: reg
registers:
- type: int
write: true
- type: int
- code: 0x1a
mnemonic: sub
params:
- type: reg
registers:
- type: int
read: true
write: true
- type: reg
registers:
- type: int
read: true
- code: 0x1b
mnemonic: subi
params:
- type: reg
registers:
- type: int
write: true
- type: int
- code: 0x1c
mnemonic: mul
params:
- type: reg
registers:
- type: int
read: true
write: true
- type: reg
registers:
- type: int
read: true
- code: 0x1d
mnemonic: muli
params:
- type: reg
registers:
- type: int
write: true
- type: int
- code: 0x1e
mnemonic: div
params:
- type: reg
registers:
- type: int
read: true
write: true
- type: reg
registers:
- type: int
read: true
- code: 0x1f
mnemonic: divi
params:
- type: reg
registers:
- type: int
write: true
- type: int
- code: 0x20
mnemonic: and
params:
- type: reg
registers:
- type: int
read: true
write: true
- type: reg
registers:
- type: int
read: true
- code: 0x21
mnemonic: andi
params:
- type: reg
registers:
- type: int
write: true
- type: int
- code: 0x22
mnemonic: or
params:
- type: reg
registers:
- type: int
read: true
write: true
- type: reg
registers:
- type: int
read: true
- code: 0x23
mnemonic: ori
params:
- type: reg
registers:
- type: int
write: true
- type: int
- code: 0x24
mnemonic: xor
params:
- type: reg
registers:
- type: int
read: true
write: true
- type: reg
registers:
- type: int
read: true
- code: 0x25
mnemonic: xori
params:
- type: reg
registers:
- type: int
write: true
- type: int
- code: 0x26
mnemonic: mod
params:
- type: reg
registers:
- type: int
read: true
write: true
- type: reg
registers:
- type: int
read: true
- code: 0x27
mnemonic: modi
params:
- type: reg
registers:
- type: int
write: true
- type: int
- code: 0x28
mnemonic: jmp
params:
- type: ilabel
- code: 0x29
mnemonic: call
params:
- type: ilabel
- code: 0x2a
mnemonic: jmp_on
params:
- type: ilabel
- type: reg_var
read: true
- code: 0x2b
mnemonic: jmp_off
params:
- type: ilabel
- type: reg_var
read: true
- code: 0x2c
mnemonic: jmp_=
params:
- type: reg
registers:
- type: any
read: true
- type: reg
registers:
- type: any
read: true
- type: ilabel
- code: 0x2d
mnemonic: jmpi_=
params:
- type: reg
registers:
- type: int
read: true
- type: int
- type: ilabel
- code: 0x2e
mnemonic: jmp_!=
params:
- type: reg
registers:
- type: any
read: true
- type: reg
registers:
- type: any
read: true
- type: ilabel
- code: 0x2f
mnemonic: jmpi_!=
params:
- type: reg
registers:
- type: int
read: true
- type: int
- type: ilabel
- code: 0x30
mnemonic: ujmp_>
params:
- type: reg
registers:
- type: int
read: true
- type: reg
registers:
- type: int
read: true
- type: ilabel
- code: 0x31
mnemonic: ujmpi_>
params:
- type: reg
registers:
- type: int
read: true
- type: int
- type: ilabel
- code: 0x32
mnemonic: jmp_>
params:
- type: reg
registers:
- type: int
read: true
- type: reg
registers:
- type: int
read: true
- type: ilabel
- code: 0x33
mnemonic: jmpi_>
params:
- type: reg
registers:
- type: int
read: true
- type: int
- type: ilabel
- code: 0x34
mnemonic: ujmp_<
params:
- type: reg
registers:
- type: int
read: true
- type: reg
registers:
- type: int
read: true
- type: ilabel
- code: 0x35
mnemonic: ujmpi_<
params:
- type: reg
registers:
- type: int
read: true
- type: int
- type: ilabel
- code: 0x36
mnemonic: jmp_<
params:
- type: reg
registers:
- type: int
read: true
- type: reg
registers:
- type: int
read: true
- type: ilabel
- code: 0x37
mnemonic: jmpi_<
params:
- type: reg
registers:
- type: int
read: true
- type: int
- type: ilabel
- code: 0x38
mnemonic: ujmp_>=
params:
- type: reg
registers:
- type: int
read: true
- type: reg
registers:
- type: int
read: true
- type: ilabel
- code: 0x39
mnemonic: ujmpi_>=
params:
- type: reg
registers:
- type: int
read: true
- type: int
- type: ilabel
- code: 0x3a
mnemonic: jmp_>=
params:
- type: reg
registers:
- type: int
read: true
- type: reg
registers:
- type: int
read: true
- type: ilabel
- code: 0x3b
mnemonic: jmpi_>=
params:
- type: reg
registers:
- type: int
read: true
- type: int
- type: ilabel
- code: 0x3c
mnemonic: ujmp_<=
params:
- type: reg
registers:
- type: int
read: true
- type: reg
registers:
- type: int
read: true
- type: ilabel
- code: 0x3d
mnemonic: ujmpi_<=
params:
- type: reg
registers:
- type: int
read: true
- type: int
- type: ilabel
- code: 0x3e
mnemonic: jmp_<=
params:
- type: reg
registers:
- type: int
read: true
- type: reg
registers:
- type: int
read: true
- type: ilabel
- code: 0x3f
mnemonic: jmpi_<=
params:
- type: reg
registers:
- type: int
read: true
- type: int
- type: ilabel
- code: 0x40
mnemonic: switch_jmp
params:
- type: reg
registers:
- type: int
read: true
- type: ilabel_var
- code: 0x41
mnemonic: switch_call
params:
- type: reg
registers:
- type: int
read: true
- type: ilabel_var
- code: 0x42
mnemonic: stack_push
params:
- type: reg
registers:
- type: any
read: true
- code: 0x43
mnemonic: stack_pop
params:
- type: reg
registers:
- type: any
write: true
- code: 0x44
mnemonic: stack_pushm
doc: Pushes the values of an arbitrary amount of registers onto the stack.
params:
- type: reg
read: true
- type: int
- code: 0x45
mnemonic: stack_popm
doc: Pops an arbitrary amount of values from the stack and writes them to registers.
params:
- type: reg
write: true
- type: int
- code: 0x48
mnemonic: arg_pushr
doc: Pushes the value of the given register onto the stack.
params:
- type: reg
registers:
- type: any
read: true
stack: push
- code: 0x49
mnemonic: arg_pushl
doc: Pushes the given value onto the stack.
params:
- type: int
stack: push
- code: 0x4a
mnemonic: arg_pushb
doc: Pushes the given value onto the stack.
params:
- type: byte
stack: push
- code: 0x4b
mnemonic: arg_pushw
doc: Pushes the given value onto the stack.
params:
- type: short
stack: push
- code: 0x4c
mnemonic: arg_pusha
doc: Pushes the memory address of the given register onto the stack. Not used by Sega.
params:
- type: reg
registers:
- type: any
read: true
stack: push
- code: 0x4d
mnemonic: arg_pusho
doc: Pushes the memory address of the given label onto the stack. Not used by Sega.
params:
- type: label
stack: push
- code: 0x4e
mnemonic: arg_pushs
doc: Pushes the given value onto the stack.
params:
- type: string
stack: push
- code: 0x4f
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0x50
mnemonic: message
params:
- type: int
- type: string
stack: pop
- code: 0x51
mnemonic: list
doc: |-
Used to display a list of items and retrieve the item selected by the player.
List items should be seperated by newlines. The selected item's index will be written to the given register.
params:
- type: reg
registers:
- type: byte
write: true
- type: string
name: list
stack: pop
- code: 0x52
mnemonic: fadein
params: []
- code: 0x53
mnemonic: fadeout
params: []
- code: 0x54
mnemonic: se
params:
- type: int
stack: pop
- code: 0x55
mnemonic: bgm
params:
- type: int
stack: pop
- code: 0x58
mnemonic: enable
params:
- type: int
stack: pop
- code: 0x59
mnemonic: disable
params:
- type: int
stack: pop
- code: 0x5a
mnemonic: window_msg
params:
- type: string
stack: pop
- code: 0x5b
mnemonic: add_msg
params:
- type: string
stack: pop
- code: 0x5c
mnemonic: mesend
params: []
- code: 0x5d
mnemonic: gettime
params:
- type: reg
registers:
- type: int
write: true
- code: 0x5e
mnemonic: winend
params: []
- code: 0x60
mnemonic: npc_crt_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0x61
mnemonic: npc_stop
params:
- type: int
stack: pop
- code: 0x62
mnemonic: npc_play
params:
- type: int
stack: pop
- code: 0x63
mnemonic: npc_kill
params:
- type: int
stack: pop
- code: 0x64
mnemonic: npc_nont
params: []
- code: 0x65
mnemonic: npc_talk
params: []
- code: 0x66
mnemonic: npc_crp_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: any
read: true
- type: any
read: true
- type: ilabel
read: true
- type: any
read: true
- type: any
read: true
- code: 0x68
mnemonic: create_pipe
params:
- type: int
stack: pop
- code: 0x69
mnemonic: p_hpstat_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: int
stack: pop
- code: 0x6a
mnemonic: p_dead_v3
params:
- type: reg
registers:
- type: int
write: true
- type: int
name: slot
stack: pop
- code: 0x6b
mnemonic: p_disablewarp
params: []
- code: 0x6c
mnemonic: p_enablewarp
params: []
- code: 0x6d
mnemonic: p_move_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0x6e
mnemonic: p_look
params:
- type: int
stack: pop
- code: 0x70
mnemonic: p_action_disable
params: []
- code: 0x71
mnemonic: p_action_enable
params: []
- code: 0x72
mnemonic: disable_movement1
params:
- type: int
stack: pop
- code: 0x73
mnemonic: enable_movement1
params:
- type: int
stack: pop
- code: 0x74
mnemonic: p_noncol
params: []
- code: 0x75
mnemonic: p_col
params: []
- code: 0x76
mnemonic: p_setpos
doc: Sets a player's position.
params:
- type: int
name: slot
- type: reg
doc: Coordinates and rotation around y-axis.
registers:
- type: int
name: x
read: true
- type: int
name: y
read: true
- type: int
name: z
read: true
- type: int
name: y_rot
read: true
stack: pop
- code: 0x77
mnemonic: p_return_guild
params: []
- code: 0x78
mnemonic: p_talk_guild
params:
- type: int
stack: pop
- code: 0x79
mnemonic: npc_talk_pl_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0x7a
mnemonic: npc_talk_kill
params:
- type: int
stack: pop
- code: 0x7b
mnemonic: npc_crtpk_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0x7c
mnemonic: npc_crppk_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0x7d
mnemonic: npc_crptalk_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0x7e
mnemonic: p_look_at_v1
params:
- type: int
- type: int
stack: pop
- code: 0x7f
mnemonic: npc_crp_id_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0x80
mnemonic: cam_quake
params: []
- code: 0x81
mnemonic: cam_adj
params: []
- code: 0x82
mnemonic: cam_zmin
params: []
- code: 0x83
mnemonic: cam_zmout
params: []
- code: 0x84
mnemonic: cam_pan_v3
params:
- type: reg
registers:
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: int
read: true
- code: 0x85
mnemonic: game_lev_super
params: []
- code: 0x86
mnemonic: game_lev_reset
params: []
- code: 0x87
mnemonic: pos_pipe_v3
doc: Create a telepipe at a specific position for the given player slot that takes players back to Pioneer 2 or the Lab.
params:
- type: reg
registers:
- type: int
name: x
read: true
- type: int
name: y
read: true
- type: int
name: z
read: true
- type: int
name: slot
read: true
- code: 0x88
mnemonic: if_zone_clear
params:
- type: reg
registers:
- type: int
write: true
- type: reg
registers:
- type: int
read: true
- type: int
read: true
- code: 0x89
mnemonic: chk_ene_num
doc: Retrieves the amount of enemies killed during the quest.
params:
- type: reg
registers:
- type: int
write: true
- code: 0x8a
mnemonic: unhide_obj
params:
- type: reg
registers:
- type: int
read: true
- type: int
read: true
- type: int
read: true
- code: 0x8b
mnemonic: unhide_ene
params:
- type: reg
registers:
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: int
read: true
- code: 0x8c
mnemonic: at_coords_call
params:
- type: reg
registers:
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: ilabel
read: true
- code: 0x8d
mnemonic: at_coords_talk
params:
- type: reg
registers:
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: ilabel
read: true
- code: 0x8e
mnemonic: col_npcin
params:
- type: reg
registers:
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: ilabel
read: true
- code: 0x8f
mnemonic: col_npcinr
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0x90
mnemonic: switch_on
params:
- type: int
stack: pop
- code: 0x91
mnemonic: switch_off
params:
- type: int
stack: pop
- code: 0x92
mnemonic: playbgm_epi
params:
- type: int
stack: pop
- code: 0x93
mnemonic: set_mainwarp
params:
- type: int
stack: pop
- code: 0x94
mnemonic: set_obj_param
doc: Creates a targetable object.
params:
- type: reg
registers:
- type: int
name: x
read: true
- type: int
name: y
read: true
- type: int
name: z
read: true
- type: int
name: radius
read: true
- type: ilabel
name: func
read: true
- type: int
name: cursor_y
read: true
- type: reg
doc: Object handle.
registers:
- type: any
write: true
- code: 0x95
mnemonic: set_floor_handler
params:
- type: int
doc: Floor number.
- type: ilabel
doc: Handler function label.
stack: pop
- code: 0x96
mnemonic: clr_floor_handler
params:
- type: int
doc: Floor number.
stack: pop
- code: 0x97
mnemonic: col_plinaw
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0x98
mnemonic: hud_hide
params: []
- code: 0x99
mnemonic: hud_show
params: []
- code: 0x9a
mnemonic: cine_enable
params: []
- code: 0x9b
mnemonic: cine_disable
params: []
- code: 0xa1
mnemonic: set_qt_failure
params:
- type: ilabel
- code: 0xa2
mnemonic: set_qt_success
params:
- type: ilabel
- code: 0xa3
mnemonic: clr_qt_failure
params: []
- code: 0xa4
mnemonic: clr_qt_success
params: []
- code: 0xa5
mnemonic: set_qt_cancel
params:
- type: ilabel
- code: 0xa6
mnemonic: clr_qt_cancel
params: []
- code: 0xa8
mnemonic: pl_walk_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xb0
mnemonic: pl_add_meseta
params:
- type: int
- type: int
stack: pop
- code: 0xb1
mnemonic: thread_stg
params:
- type: ilabel
- code: 0xb2
mnemonic: del_obj_param
params:
- type: reg
doc: Object handle.
registers:
- type: any
read: true
- code: 0xb3
mnemonic: item_create
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xb4
mnemonic: item_create2
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xb5
mnemonic: item_delete
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xb6
mnemonic: item_delete2
doc: Deletes an item from the player's inventory.
params:
- type: reg
registers:
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xb7
mnemonic: item_check
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xb8
mnemonic: setevt
params:
- type: int
stack: pop
- code: 0xb9
mnemonic: get_difflvl
doc: |-
Sets the given register to the current difficulty. 0 For normal, 1 for hard and 2 for both very hard and ultimate.
Use get_difficulty_level2 if you want to differentiate between very hard and ultimate.
params:
- type: reg
registers:
- type: int
write: true
- code: 0xba
mnemonic: set_qt_exit
params:
- type: ilabel
- code: 0xbb
mnemonic: clr_qt_exit
params: []
- code: 0xc0
mnemonic: particle_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xc1
mnemonic: npc_text
params:
- type: int
- type: string
stack: pop
- code: 0xc2
mnemonic: npc_chkwarp
params: []
- code: 0xc3
mnemonic: pl_pkoff
params: []
- code: 0xc4
mnemonic: map_designate
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xc5
mnemonic: masterkey_on
params: []
- code: 0xc6
mnemonic: masterkey_off
params: []
- code: 0xc7
mnemonic: window_time
params: []
- code: 0xc8
mnemonic: winend_time
params: []
- code: 0xc9
mnemonic: winset_time
params:
- type: reg
registers:
- type: int
write: true
- code: 0xca
mnemonic: getmtime
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xcb
mnemonic: set_quest_board_handler
params:
- type: int
- type: ilabel
- type: string
stack: pop
- code: 0xcc
mnemonic: clear_quest_board_handler
params:
- type: int
stack: pop
- code: 0xcd
mnemonic: particle_id_v3
params:
- type: reg
registers:
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: int
read: true
- code: 0xce
mnemonic: npc_crptalk_id_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xcf
mnemonic: npc_lang_clean
params: []
- code: 0xd0
mnemonic: pl_pkon
params: []
- code: 0xd1
mnemonic: pl_chk_item2
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xd2
mnemonic: enable_mainmenu
params: []
- code: 0xd3
mnemonic: disable_mainmenu
params: []
- code: 0xd4
mnemonic: start_battlebgm
params: []
- code: 0xd5
mnemonic: end_battlebgm
params: []
- code: 0xd6
mnemonic: disp_msg_qb
params:
- type: string
stack: pop
- code: 0xd7
mnemonic: close_msg_qb
params: []
- code: 0xd8
mnemonic: set_eventflag_v3
params:
- type: int
- type: int
stack: pop
- code: 0xd9
mnemonic: sync_leti
params:
- type: reg
registers:
- type: int
write: true
- type: int
- code: 0xda
mnemonic: set_returnhunter
params: []
- code: 0xdb
mnemonic: set_returncity
params: []
- code: 0xdc
mnemonic: load_pvr
params: []
- code: 0xdd
mnemonic: load_midi
params: []
- code: 0xde
mnemonic: unknown_de
params:
- type: reg
registers:
- type: any
read: true
- type: reg
registers:
- type: any
write: true
- code: 0xdf
mnemonic: npc_param_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: int
stack: pop
- code: 0xe0
mnemonic: pad_dragon
params: []
- code: 0xe1
mnemonic: clear_mainwarp
params:
- type: int
stack: pop
- code: 0xe2
mnemonic: pcam_param_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xe3
mnemonic: start_setevt_v3
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: int
stack: pop
- code: 0xe4
mnemonic: warp_on
params: []
- code: 0xe5
mnemonic: warp_off
params: []
- code: 0xe6
mnemonic: get_slotnumber
params:
- type: reg
registers:
- type: int
write: true
- code: 0xe7
mnemonic: get_servernumber
doc: Returns the index of the player who is the leader of the party.
params:
- type: reg
registers:
- type: int
write: true # TODO: determine registers
- code: 0xe8
mnemonic: set_eventflag2
params:
- type: int
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
stack: pop
- code: 0xe9
mnemonic: res
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xea
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: int
- code: 0xeb
mnemonic: enable_bgmctrl
params:
- type: int
stack: pop
- code: 0xec
mnemonic: sw_send
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xed
mnemonic: create_bgmctrl
params: []
- code: 0xee
mnemonic: pl_add_meseta2
params:
- type: int
stack: pop
- code: 0xef
mnemonic: sync_register
params:
- type: reg
registers:
- type: int
write: true
- type: int
stack: pop
- code: 0xf0
mnemonic: send_regwork
params: []
- code: 0xf1
mnemonic: leti_fixed_camera_v3
params:
- type: reg
registers:
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: int
read: true
- code: 0xf2
mnemonic: default_camera_pos1
params: []
- code: 0xfa
mnemonic: get_gc_number
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xfb
params:
- type: short
- code: 0xf801
mnemonic: set_chat_callback
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: string
stack: pop
- code: 0xf808
mnemonic: get_difficulty_level2
doc: Sets the given register to the current difficulty. 0 For normal, 1 for hard, 2 for very hard and 3 for ultimate.
params:
- type: reg
registers:
- type: int
write: true
- code: 0xf809
mnemonic: get_number_of_player1
doc: Set the given register to the current number of players. Either 1, 2, 3 or 4.
params:
- type: reg
registers:
- type: int
write: true
- code: 0xf80a
mnemonic: get_coord_of_player
doc: Retrieves a player's position.
params:
- type: reg
registers:
- type: int
name: x
read: true
- type: int
name: y
read: true
- type: int
name: z
read: true
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf80b
mnemonic: enable_map
params: []
- code: 0xf80c
mnemonic: disable_map
params: []
- code: 0xf80d
mnemonic: map_designate_ex
params:
- type: reg
registers:
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: int
read: true
- code: 0xf80e
params:
- type: int
stack: pop
- code: 0xf80f
params:
- type: int
stack: pop
- code: 0xf810
mnemonic: ba_initial_floor
params:
- type: int
stack: pop
- code: 0xf811
mnemonic: set_ba_rules
params: []
- code: 0xf812
params:
- type: int
stack: pop
- code: 0xf813
params:
- type: int
stack: pop
- code: 0xf814
params:
- type: int
stack: pop
- code: 0xf815
params:
- type: int
stack: pop
- code: 0xf816
params:
- type: int
stack: pop
- code: 0xf817
params:
- type: int
stack: pop
- code: 0xf818
params:
- type: int
stack: pop
- code: 0xf819
params:
- type: int
stack: pop
- code: 0xf81a
params:
- type: int
stack: pop
- code: 0xf81b
params:
- type: int
stack: pop
- code: 0xf81c
mnemonic: ba_disp_msg
params:
- type: string
stack: pop
- code: 0xf81d
mnemonic: death_lvl_up
params:
- type: int
stack: pop
- code: 0xf81e
mnemonic: death_tech_lvl_up
params:
- type: int
stack: pop
- code: 0xf820
mnemonic: cmode_stage
params:
- type: int
stack: pop
- code: 0xf823
params:
- type: int
stack: pop
- code: 0xf824
params:
- type: int
stack: pop
- code: 0xf825
mnemonic: exp_multiplication
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf826
mnemonic: exp_division
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf827
mnemonic: get_user_is_dead
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf828
mnemonic: go_floor
doc: Sends a player to the given floor.
params:
- type: reg
registers:
- type: int
name: slot
read: true
- type: reg
registers:
- type: int
name: floor_id
read: true
- code: 0xf829
mnemonic: get_num_kills
doc: Returns the number of enemies a player has killed during the quest.
params:
- type: reg
registers:
- type: int
name: slot
read: true
- type: reg
registers:
- type: int
name: num_kills
write: true
- code: 0xf82b
mnemonic: unlock_door2
params: [ { type: int }, { type: int } ]
stack: pop
- code: 0xf82c
mnemonic: lock_door2
params: [ { type: int }, { type: int } ]
stack: pop
- code: 0xf82d
mnemonic: if_switch_not_pressed
params:
- type: reg
registers: # TODO: determine type and access
- type: int
read: true
- type: int
write: true
- code: 0xf82e
mnemonic: if_switch_pressed
doc: Returns 1 if the switch is pressed, 0 otherwise.
params:
- type: reg
registers:
- type: int
name: floor_id
read: true
- type: int
name: switch_id
read: true
- type: int
name: is_set
write: true
- code: 0xf82f
params: [{ type: int }, { type: int }]
stack: pop
- code: 0xf830
mnemonic: control_dragon
params:
- type: reg
registers: # TODO: determine type and access
- type: int
read: true
- code: 0xf831
mnemonic: release_dragon
params: []
- code: 0xf838
mnemonic: shrink
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf839
mnemonic: unshrink
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf83c
mnemonic: display_clock2
params:
- type: reg
registers: # TODO: determine type and access
- type: int
read: true
- code: 0xf83d
params:
- type: int
stack: pop
- code: 0xf83e
mnemonic: delete_area_title
params:
- type: int
stack: pop
- code: 0xf840
mnemonic: load_npc_data
params: []
- code: 0xf841
mnemonic: get_npc_data
params:
- type: dlabel
- code: 0xf848
mnemonic: give_damage_score
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf849
mnemonic: take_damage_score
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf84a
mnemonic: unk_score_f84a
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf84b
mnemonic: unk_score_f84b
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf84c
mnemonic: kill_score
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf84d
mnemonic: death_score
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf84e
mnemonic: unk_score_f84e
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf84f
mnemonic: enemy_death_score
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf850
mnemonic: meseta_score
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf851
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf852
params:
- type: int
stack: pop
- code: 0xf853
mnemonic: reverse_warps
params: []
- code: 0xf854
mnemonic: unreverse_warps
params: []
- code: 0xf855
mnemonic: set_ult_map
params: []
- code: 0xf856
mnemonic: unset_ult_map
params: []
- code: 0xf857
mnemonic: set_area_title
params:
- type: string
stack: pop
- code: 0xf85a
mnemonic: equip_item
params:
- type: reg
registers: # TODO: determine type and access
- type: int
read: true
- code: 0xf85b
mnemonic: unequip_item
params:
- type: int
- type: int
stack: pop
- code: 0xf85e
params:
- type: int
stack: pop
- code: 0xf85f
params:
- type: int
stack: pop
- code: 0xf860
params: []
- code: 0xf861
params:
- type: int
stack: pop
- code: 0xf864
mnemonic: cmode_rank
params:
- type: int
- type: string
stack: pop
- code: 0xf865
mnemonic: award_item_name
params: []
- code: 0xf866
mnemonic: award_item_select
params: []
- code: 0xf867
mnemonic: award_item_give_to
params:
- type: reg
registers: # TODO: determine type and access
- type: int
read: true
- code: 0xf868
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf869
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf86a
mnemonic: item_create_cmode
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf86b
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf86c
mnemonic: award_item_ok
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf86f
mnemonic: ba_set_lives
params:
- type: int
stack: pop
- code: 0xf870
mnemonic: ba_set_tech_lvl
params:
- type: int
stack: pop
- code: 0xf871
mnemonic: ba_set_lvl
params:
- type: int
stack: pop
- code: 0xf872
mnemonic: ba_set_time_limit
params:
- type: int
stack: pop
- code: 0xf873
mnemonic: boss_is_dead
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf877
mnemonic: enable_techs
doc: Enables technique use for the given player.
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf878
mnemonic: disable_techs
doc: Disables technique use for the given player.
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf879
mnemonic: get_gender
doc: Retrieves the player's gender. 0 If male, 1 if female.
params:
- type: reg
registers:
- type: int
name: slot
read: true
- type: reg
registers:
- type: int
name: gender
write: true
- code: 0xf87a
mnemonic: get_chara_class
doc: Retrieves the player's race and character class. race will be 0 if human, 1 if newman and 2 if cast. class will be 0 if hunter, 1 if ranger and 2 if force.
params:
- type: reg
registers:
- type: int
name: slot
read: true
- type: reg
registers:
- type: int
name: race
write: true
- type: int
name: class
write: true
- code: 0xf87b
mnemonic: take_slot_meseta
doc: Takes an amount of meseta from a player's inventory. Returns 1 if the meseta was taken, 0 otherwise.
params:
- type: reg
registers:
- type: int
name: slot
read: true
- type: int
name: amount
read: true
- type: reg
registers:
- type: int
name: taken
write: true
- code: 0xf87f
mnemonic: read_guildcard_flag
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf880
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf881
mnemonic: get_pl_name
doc: Sets the value of <pl_name> to the given player's name.
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf882
mnemonic: get_pl_job
doc: Sets the value of <pl_job> to the given player's job (Hunter/Ranger/Force).
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf883
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf88a
mnemonic: get_player_status
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf88b
mnemonic: send_mail
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: string
stack: pop
- code: 0xf88c
mnemonic: online_check
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf88d
mnemonic: chl_set_timerecord
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf88e
mnemonic: chl_get_timerecord
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf88f
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf891
mnemonic: load_enemy_data
params:
- type: int
stack: pop
- code: 0xf892
mnemonic: get_physical_data
params:
- type: short
- code: 0xf893
mnemonic: get_attack_data
params:
- type: short
- code: 0xf894
mnemonic: get_resist_data
params:
- type: short
- code: 0xf895
mnemonic: get_movement_data
params:
- type: short
- code: 0xf898
mnemonic: shift_left
params:
- type: reg
registers:
- type: int
write: true
- type: reg
registers:
- type: int
read: true
- code: 0xf899
mnemonic: shift_right
params:
- type: reg
registers:
- type: int
write: true
- type: reg
registers:
- type: int
read: true
- code: 0xf89a
mnemonic: get_random
params:
- type: reg
registers:
- type: int
read: true
- type: int
read: true
- type: reg
registers:
- type: int
write: true
# TODO: Do you have to change areas after calling this opcode?
- code: 0xf89b
mnemonic: reset_map
doc: Sets all registers to 0 and resets the quest.
params: []
- code: 0xf89c
mnemonic: disp_chl_retry_menu
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf89d
mnemonic: chl_reverser
params: []
- code: 0xf89e
params:
- type: int
stack: pop
- code: 0xf89f
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf8a8
params:
- type: int
stack: pop
- code: 0xf8a9
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf8ad
mnemonic: get_number_of_player2
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf8b0
mnemonic: read1
doc: Reads a 1-byte value from an arbitrary location.
params:
- type: reg
doc: Register to store the result to.
registers:
- type: byte
write: true
- type: int
doc: Address to read from.
stack: pop
- code: 0xf8b1
mnemonic: read2
doc: Reads a 2-byte value from an arbitrary location.
params:
- type: reg
doc: Register to store the result to.
registers:
- type: short
write: true
- type: int
doc: Address to read from.
stack: pop
- code: 0xf8b2
mnemonic: read4
doc: Reads a 4-byte value from an arbitrary location.
params:
- type: reg
doc: Register to store the result to.
registers:
- type: int
write: true
- type: int
doc: Address to read from.
stack: pop
- code: 0xf8b3
mnemonic: write1
doc: Writes a 1-byte value to an arbitrary location.
params:
- type: int
doc: Address to write to.
- type: byte
doc: Value to be written.
stack: pop
- code: 0xf8b4
mnemonic: write2
doc: Writes a 2-byte value to an arbitrary location.
params:
- type: int
doc: Address to write to.
- type: short
doc: Value to be written.
stack: pop
- code: 0xf8b5
mnemonic: write4
doc: Writes a 4-byte value to an arbitrary location.
params:
- type: int
doc: Address to write to.
- type: int
doc: Value to be written.
stack: pop
- code: 0xf8b9
mnemonic: chl_recovery
params: []
- code: 0xf8bc
mnemonic: set_episode
params:
- type: int
- code: 0xf8c0
mnemonic: file_dl_req
params:
- type: int
- type: string
stack: pop
- code: 0xf8c1
mnemonic: get_dl_status
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf8c2
mnemonic: gba_unknown4
params: []
- code: 0xf8c3
mnemonic: get_gba_state
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf8c4
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf8c5
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf8c6
mnemonic: qexit
params: []
- code: 0xf8c7
mnemonic: use_animation
params:
- type: reg
registers:
- type: int
name: slot
read: true
- type: reg
doc: Animation ID and duration in number of frames.
registers:
- type: int
name: animation
read: true
- type: int
name: duration
read: true
- code: 0xf8c8
mnemonic: stop_animation
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf8c9
mnemonic: run_to_coord
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf8ca
mnemonic: set_slot_invincible
params:
- type: reg
registers:
- type: int
name: slot
read: true
- type: reg
registers:
- type: int
read: true
- code: 0xf8cb
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf8cc
mnemonic: set_slot_poison
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf8cd
mnemonic: set_slot_paralyze
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf8ce
mnemonic: set_slot_shock
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf8cf
mnemonic: set_slot_freeze
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf8d0
mnemonic: set_slot_slow
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf8d1
mnemonic: set_slot_confuse
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf8d2
mnemonic: set_slot_shifta
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf8d3
mnemonic: set_slot_deband
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf8d4
mnemonic: set_slot_jellen
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf8d5
mnemonic: set_slot_zalure
params:
- type: reg
registers:
- type: int
name: slot
read: true
- code: 0xf8d6
mnemonic: fleti_fixed_camera
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
stack: pop
- code: 0xf8d7
mnemonic: fleti_locked_camera
params:
- type: int
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
stack: pop
- code: 0xf8d8
mnemonic: default_camera_pos2
params: []
- code: 0xf8d9
mnemonic: set_motion_blur
params: []
- code: 0xf8da
mnemonic: set_screen_bw
params: []
- code: 0xf8db
params:
- type: int
- type: int
- type: int
- type: int
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: short
stack: pop
- code: 0xf8dc
mnemonic: npc_action_string
params:
- type: reg
registers:
- type: int
read: true
- type: reg
registers:
- type: int
read: true
- type: slabel
- code: 0xf8dd
mnemonic: get_pad_cond
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf8de
mnemonic: get_button_cond
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf8df
mnemonic: freeze_enemies
params: []
- code: 0xf8e0
mnemonic: unfreeze_enemies
params: []
- code: 0xf8e1
mnemonic: freeze_everything
params: []
- code: 0xf8e2
mnemonic: unfreeze_everything
params: []
- code: 0xf8e3
mnemonic: restore_hp
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf8e4
mnemonic: restore_tp
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf8e5
mnemonic: close_chat_bubble
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf8e6
mnemonic: move_coords_object
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf8e7
mnemonic: at_coords_call_ex
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf8e8
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf8e9
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf8ea
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf8eb
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf8ec
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf8ed
mnemonic: animation_check
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf8ee
mnemonic: call_image_data
params:
- type: int
- type: short
stack: pop
- code: 0xf8f0
mnemonic: turn_off_bgm_p2
params: []
- code: 0xf8f1
mnemonic: turn_on_bgm_p2
params: []
- code: 0xf8f2
mnemonic: load_unk_data
params:
- type: int
- type: int
- type: int
- type: int
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: dlabel
stack: pop
- code: 0xf8f3
mnemonic: particle2
params:
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- type: int
- type: float
stack: pop
- code: 0xf901
mnemonic: dec2float
params:
- type: reg
registers:
- type: float
write: true
- type: reg
registers:
- type: int
read: true
- code: 0xf902
mnemonic: float2dec
params:
- type: reg
registers:
- type: int
write: true
- type: reg
registers:
- type: float
read: true
- code: 0xf903
mnemonic: flet
params:
- type: reg
registers:
- type: float
write: true
- type: reg
registers:
- type: float
read: true
- code: 0xf904
mnemonic: fleti
params:
- type: reg
registers:
- type: float
write: true
- type: float
- code: 0xf908
mnemonic: fadd
params:
- type: reg
registers:
- type: float
write: true
- type: reg
registers:
- type: float
read: true
- code: 0xf909
mnemonic: faddi
params:
- type: reg
registers:
- type: float
write: true
- type: float
- code: 0xf90a
mnemonic: fsub
params:
- type: reg
registers:
- type: float
write: true
- type: reg
registers:
- type: float
read: true
- code: 0xf90b
mnemonic: fsubi
params:
- type: reg
registers:
- type: float
write: true
- type: float
- code: 0xf90c
mnemonic: fmul
params:
- type: reg
registers:
- type: float
write: true
- type: reg
registers:
- type: float
read: true
- code: 0xf90d
mnemonic: fmuli
params:
- type: reg
registers:
- type: float
write: true
- type: float
- code: 0xf90e
mnemonic: fdiv
params:
- type: reg
registers:
- type: float
write: true
- type: reg
registers:
- type: float
read: true
- code: 0xf90f
mnemonic: fdivi
params:
- type: reg
registers:
- type: float
write: true
- type: float
- code: 0xf910
mnemonic: get_unknown_count
params:
- type: int
- type: reg
registers:
- type: int
write: true
stack: pop
- code: 0xf911
mnemonic: get_stackable_item_count
params:
- type: reg
registers:
- type: int
name: slot
read: true
- type: int
read: true
- type: int
read: true
- type: int
read: true
- type: reg
registers:
- type: int
write: true
- code: 0xf912
mnemonic: freeze_and_hide_equip
params: []
- code: 0xf913
mnemonic: thaw_and_show_equip
params: []
- code: 0xf914
mnemonic: set_palettex_callback
params:
- type: int
name: slot
- type: ilabel
stack: pop
- code: 0xf915
mnemonic: activate_palettex
params:
- type: int
name: slot
stack: pop
- code: 0xf916
mnemonic: enable_palettex
params:
- type: int
name: slot
stack: pop
- code: 0xf917
mnemonic: restore_palettex
params:
- type: int
name: slot
stack: pop
- code: 0xf918
mnemonic: disable_palettex
params:
- type: int
name: slot
stack: pop
- code: 0xf919
mnemonic: get_palettex_activated
params:
- type: int
name: slot
- type: reg
registers:
- type: int
write: true
stack: pop
- code: 0xf91a
mnemonic: get_unknown_palettex_status
params:
- type: int
- type: reg
registers:
- type: int
write: true
stack: pop
- code: 0xf91b
mnemonic: disable_movement2
params:
- type: int
name: slot
stack: pop
- code: 0xf91c
mnemonic: enable_movement2
params:
- type: int
name: slot
stack: pop
- code: 0xf91d
mnemonic: get_time_played
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf91e
mnemonic: get_guildcard_total
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf91f
mnemonic: get_slot_meseta
params:
- type: reg
registers:
- type: int
write: true
- code: 0xf920
mnemonic: get_player_level
params:
- type: int
name: slot
- type: reg
registers:
- type: int
write: true
stack: pop
- code: 0xf921
mnemonic: get_section_id
params:
- type: int
name: slot
- type: reg
registers:
- type: int
write: true
stack: pop
- code: 0xf922
mnemonic: get_player_hp
params:
- type: int
name: slot
- type: reg
registers:
- type: int
name: max_hp
write: true
- type: int
name: hp
write: true
- type: int
name: max_tp
write: true
- type: int
name: tp
write: true
stack: pop
- code: 0xf923
mnemonic: get_floor_number
params:
- type: int
name: slot
- type: reg
registers:
- type: int
write: true
stack: pop
- code: 0xf924
mnemonic: get_coord_player_detect
params:
- type: reg
registers: # TODO: determine type and access
- type: any
name: slot
read: true
- type: reg
registers: # TODO: determine type and access
- type: any
read: true
- code: 0xf925
mnemonic: read_global_flag
params:
- type: int
- type: reg
registers:
- type: int
write: true
stack: pop
- code: 0xf926
mnemonic: write_global_flag
params:
- type: int
- type: int
stack: pop
- code: 0xf927
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf928
mnemonic: floor_player_detect
params:
- type: reg
registers:
- type: int
write: true
- type: int
write: true
- type: int
write: true
- type: int
write: true
- code: 0xf929
mnemonic: read_disk_file
params:
- type: string
stack: pop
- code: 0xf92a
mnemonic: open_pack_select
params: []
- code: 0xf92b
mnemonic: item_select
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf92c
mnemonic: get_item_id
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf92d
mnemonic: color_change
params:
- type: int
- type: int
- type: int
- type: int
- type: int
stack: pop
- code: 0xf92e
mnemonic: send_statistic
params:
- type: int
- type: int
- type: int
- type: int
- type: int
- type: int
- type: int
- type: int
stack: pop
- code: 0xf92f
params:
- type: int
- type: int
stack: pop
- code: 0xf930
mnemonic: chat_box
params:
- type: int
- type: int
- type: int
- type: int
- type: int
- type: string
stack: pop
- code: 0xf931
mnemonic: chat_bubble
params:
- type: int
- type: string
stack: pop
- code: 0xf933
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
- code: 0xf934
mnemonic: scroll_text
params:
- type: int
- type: int
- type: int
- type: int
- type: int
- type: float
- type: reg
registers:
- type: int
write: true
- type: string
stack: pop
- code: 0xf935
mnemonic: gba_unknown1
params: []
- code: 0xf936
mnemonic: gba_unknown2
params: []
- code: 0xf937
mnemonic: gba_unknown3
params: []
- code: 0xf938
mnemonic: add_damage_to
params:
- type: int
- type: int
stack: pop
- code: 0xf939
mnemonic: item_delete3
params:
- type: int
stack: pop
- code: 0xf93a
mnemonic: get_item_info
params:
- type: int
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
stack: pop
- code: 0xf93b
mnemonic: item_packing1
params:
- type: int
stack: pop
- code: 0xf93c
mnemonic: item_packing2
params:
- type: int
- type: int
stack: pop
- code: 0xf93d
mnemonic: get_lang_setting
params:
- type: reg
registers: # TODO: determine type and access
- type: any
write: true
stack: pop
- code: 0xf93e
mnemonic: prepare_statistic
params:
- type: int
- type: ilabel
- type: ilabel
stack: pop
- code: 0xf93f
mnemonic: keyword_detect
params: []
- code: 0xf940
mnemonic: keyword
params:
- type: reg
registers:
- type: int
write: true
- type: int
name: slot
- type: string
stack: pop
- code: 0xf941
mnemonic: get_guildcard_num
params:
- type: int
name: slot
- type: reg
registers:
- type: int
write: true
stack: pop
- code: 0xf944
mnemonic: get_wrap_status
params:
- type: int
name: slot
- type: reg
registers:
- type: int
write: true
stack: pop
- code: 0xf945
mnemonic: initial_floor
params:
- type: int
stack: pop
- code: 0xf946
mnemonic: sin
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- type: int
stack: pop
- code: 0xf947
mnemonic: cos
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- type: int
stack: pop
- code: 0xf94a
mnemonic: boss_is_dead2
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf94b
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf94c
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf94d
mnemonic: is_there_cardbattle
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- code: 0xf950
mnemonic: bb_p2_menu
params:
- type: int
stack: pop
- code: 0xf951
mnemonic: bb_map_designate
params:
- type: byte
- type: short
- type: byte
- type: byte
- code: 0xf952
mnemonic: bb_get_number_in_pack
params:
- type: reg
registers:
- type: int
write: true
- code: 0xf953
mnemonic: bb_swap_item
params:
- type: int
- type: int
- type: int
- type: int
- type: int
- type: int
- type: ilabel
- type: ilabel
stack: pop
- code: 0xf954
mnemonic: bb_check_wrap
params:
- type: int
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
stack: pop
- code: 0xf955
mnemonic: bb_exchange_pd_item
params: # TODO: determine types
- type: int
- type: int
- type: int
- type: ilabel
- type: ilabel
stack: pop
- code: 0xf956
mnemonic: bb_exchange_pd_srank
params: # TODO: determine types
- type: int
- type: int
- type: int
- type: int
- type: int
- type: ilabel
- type: ilabel
stack: pop
- code: 0xf957
mnemonic: bb_exchange_pd_special
params: # TODO: determine types
- type: int
- type: int
- type: int
- type: int
- type: int
- type: int
- type: ilabel
- type: ilabel
stack: pop
- code: 0xf958
mnemonic: bb_exchange_pd_percent
params: # TODO: determine types
- type: int
- type: int
- type: int
- type: int
- type: int
- type: int
- type: ilabel
- type: ilabel
stack: pop
- code: 0xf959
params:
- type: int
stack: pop
- code: 0xf95c
mnemonic: bb_exchange_slt
params:
- type: int
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- type: ilabel
- type: ilabel
stack: pop
- code: 0xf95d
mnemonic: bb_exchange_pc
params: []
- code: 0xf95e
mnemonic: bb_box_create_bp
params:
- type: int
- type: float
- type: float
stack: pop
- code: 0xf95f
mnemonic: bb_exchange_pt
params:
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- type: reg
registers: # TODO: determine type and access
- type: int
write: true
- type: int
- type: ilabel
- type: ilabel
stack: pop
- code: 0xf960
params:
- type: int
stack: pop
- code: 0xf961
params:
- type: reg
registers:
- type: int
write: true