Go to the source code of this file.
|
enum | CPUCommand {
CpuCmd_PressA = 1
,
CpuCmd_ReleaseA
,
CpuCmd_PressB
,
CpuCmd_ReleaseB
,
CpuCmd_PressX
,
CpuCmd_ReleaseX
,
CpuCmd_PressY
,
CpuCmd_ReleaseY
,
CpuCmd_PressR
,
CpuCmd_ReleaseR
,
CpuCmd_PressL
,
CpuCmd_ReleaseL
,
CpuCmd_PressZ
,
CpuCmd_ReleaseZ
,
CpuCmd_PressUp
,
CpuCmd_ReleaseUp
,
CpuCmd_PressDown
,
CpuCmd_ReleaseDown
,
CpuCmd_PressRight
,
CpuCmd_ReleaseRight
,
CpuCmd_PressLeft
,
CpuCmd_ReleaseLeft
,
CpuCmd_PressStart
,
CpuCmd_ReleaseStart
,
CpuCmd_ReleaseAll
,
CpuCmd_Done = 0x7F
,
CpuCmd_ZeroArgEnd = 0x7F
,
CpuCmd_SetLstickX
,
CpuCmd_SetLstickY
,
CpuCmd_SetCstickX
,
CpuCmd_SetCstickY
,
CpuCmd_SetRtrigger
,
CpuCmd_SetLtrigger
,
CpuCmd_PressAFor
,
CpuCmd_ReleaseAFor
,
CpuCmd_PressBFor
,
CpuCmd_ReleaseBFor
,
CpuCmd_PressXFor
,
CpuCmd_ReleaseXFor
,
CpuCmd_PressYFor
,
CpuCmd_ReleaseYFor
,
CpuCmd_WaitFor
,
CpuCmd_LstickTowardDestination
,
CpuCmd_LstickXTowardDestination
,
CpuCmd_LstickXForward
,
CpuCmd_WaitIfMotionId
,
CpuCmd_Unk0x93
,
CpuCmd_LstickTowardFighter
,
CpuCmd_LstickXTowardFighter
,
CpuCmd_OneArgEnd = 0xBF
,
CpuCmd_LstickTowardDestinationClamped
,
CpuCmd_LstickXTowardDestinationClamped
,
CpuCmd_LstickForwardClamped
,
CpuCmd_Count
} |
|
◆ cmd_t
◆ arg_t
◆ CPUCommand
Enumerator |
---|
CpuCmd_PressA | |
CpuCmd_ReleaseA | |
CpuCmd_PressB | |
CpuCmd_ReleaseB | |
CpuCmd_PressX | |
CpuCmd_ReleaseX | |
CpuCmd_PressY | |
CpuCmd_ReleaseY | |
CpuCmd_PressR | |
CpuCmd_ReleaseR | |
CpuCmd_PressL | |
CpuCmd_ReleaseL | |
CpuCmd_PressZ | |
CpuCmd_ReleaseZ | |
CpuCmd_PressUp | |
CpuCmd_ReleaseUp | |
CpuCmd_PressDown | |
CpuCmd_ReleaseDown | |
CpuCmd_PressRight | |
CpuCmd_ReleaseRight | |
CpuCmd_PressLeft | |
CpuCmd_ReleaseLeft | |
CpuCmd_PressStart | |
CpuCmd_ReleaseStart | |
CpuCmd_ReleaseAll | |
CpuCmd_Done | |
CpuCmd_ZeroArgEnd | Previous commands take zero arguments.
|
CpuCmd_SetLstickX | |
CpuCmd_SetLstickY | |
CpuCmd_SetCstickX | |
CpuCmd_SetCstickY | |
CpuCmd_SetRtrigger | |
CpuCmd_SetLtrigger | |
CpuCmd_PressAFor | |
CpuCmd_ReleaseAFor | |
CpuCmd_PressBFor | |
CpuCmd_ReleaseBFor | |
CpuCmd_PressXFor | |
CpuCmd_ReleaseXFor | |
CpuCmd_PressYFor | |
CpuCmd_ReleaseYFor | |
CpuCmd_WaitFor | |
CpuCmd_LstickTowardDestination | |
CpuCmd_LstickXTowardDestination | |
CpuCmd_LstickXForward | |
CpuCmd_WaitIfMotionId | |
CpuCmd_Unk0x93 | Set scenario ID?
|
CpuCmd_LstickTowardFighter | |
CpuCmd_LstickXTowardFighter | |
CpuCmd_OneArgEnd | Previous commands take one argument.
|
CpuCmd_LstickTowardDestinationClamped | |
CpuCmd_LstickXTowardDestinationClamped | |
CpuCmd_LstickForwardClamped | |
CpuCmd_Count | |
◆ STATIC_ASSERT()
CPU commands must fit in a u8!
◆ ftCo_800B3E04()
Run any pending CPU commands.
◆ ftCo_800B463C()
Writes a command to the current location in the script buffer area.
◆ ftCo_800B46B8()
◆ ftCo_800B462C()
Resets the write position to the start of the script buffer area.
◆ ftCo_800B4778()
◆ ftCo_800B4880()
void ftCo_800B4880 |
( |
Fighter * |
fp, |
|
|
int |
script_idx |
|
) |
| |
Runs an existing command script from a table loaded from .dat.
◆ ftCo_800B49F4()
◆ ftCo_800B4A78()