====== NpcAiActionParam ====== ===== Fields ===== ^ Field ^ Type ^ Offset ^ Description ^ Notes ^ | disableParam_NT | ''u8'' | ''0x0 [0]'' | | | | disableParam_Product | ''u8'' | ''0x0 [1]'' | | | | disableParamReserve1 | ''dummy8'' | ''0x0 [2-7]'' | | | | disableParamReserve2 | ''dummy8'' | ''0x1'' | | | | moveDir | ''u8'' | ''0x4'' | Moving direction to enter | This field uses the following enum: NPC_AI_ACTION_MOVE_DIR | | key1 | ''u8'' | ''0x5'' | Key to enter | This field uses the following enum: NPC_AI_ACTION_KEY | | key2 | ''u8'' | ''0x6'' | Key to enter | This field uses the following enum: NPC_AI_ACTION_KEY | | key3 | ''u8'' | ''0x7'' | Key to enter | This field uses the following enum: NPC_AI_ACTION_KEY | | bMoveDirHold | ''u8'' | ''0x8'' | Whether to handle the input movement direction as long press | This field is a boolean. | | bKeyHold1 | ''u8'' | ''0x9'' | Whether to treat the key to be entered as a long press | This field is a boolean. | | bKeyHold2 | ''u8'' | ''0xa'' | Whether to treat the key to be entered as a long press | This field is a boolean. | | bKeyHold3 | ''u8'' | ''0xb'' | Whether to treat the key to be entered as a long press | This field is a boolean. | | gestureId | ''s32'' | ''0xc'' | Gesture ID | | | bLifeEndSuccess | ''u8'' | ''0x10'' | If this is ON, the AI goal will not be successful until the end of its life | This field is a boolean. | | pad1 | ''dummy8'' | ''0x11'' | | | ===== Enums ===== ==== NPC_AI_ACTION_MOVE_DIR ==== ^ Option ^ Description ^ Notes ^ | ''0'' | None | | | ''1'' | Top | | | ''2'' | Top-Left | | | ''3'' | Top-Right | | | ''4'' | Left | | | ''5'' | Right | | | ''6'' | Bottom | | | ''7'' | Bottom-Left | | | ''8'' | Bottom-Right | | ==== NPC_AI_ACTION_KEY ==== ^ Option ^ Description ^ Notes ^ | ''0'' | None | | | ''1'' | Circle | | | ''2'' | Cross | | | ''3'' | Square | | | ''4'' | Triangle | | | ''5'' | L1 | | | ''6'' | L2 | | | ''7'' | L3 | | | ''8'' | R1 | | | ''9'' | R2 | | | ''10'' | R3 | | | ''11'' | D-PAD Up | | | ''12'' | D-PAD Left | | | ''13'' | D-PAD Right | | | ''14'' | D-PAD Down | | | ''15'' | Dash | | | ''16'' | Backstep | | | ''17'' | Roll | | | ''18'' | Kick (with R1) | | | ''19'' | Jump Attack (with R2) | | | ''20'' | Ladder Ascend | | | ''21'' | Ladder Descend | | | ''22'' | Gesture | |