SSBM Decomp
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1#ifndef MELEE_FT_CHARA_FTNESS_TYPES_H
2#define MELEE_FT_CHARA_FTNESS_TYPES_H
3
4#include <platform.h>
5
6#include "ftNess/forward.h" // IWYU pragma: export
7
8#include "lb/types.h"
9
10#include <baselib/forward.h>
11
12#include <common_structs.h>
13#include <dolphin/mtx.h>
14
16 /* 0x222C */ HSD_GObj* yoyo_gobj;
17 /* 0x2230 */ Vec3 yoyo_hitbox_pos;
18 /* 0x223C */ float x223C;
19 /* 0x2240 */ HSD_GObj* pkflash_gobj;
20 /* 0x2244 */ HSD_GObj* pkthunder_gobj;
21 /* 0x2248 */ HSD_GObj* bat_gobj;
23 /* 0x224C */ u32 pkthunder_gfx;
24};
25
39
106
108
109typedef struct ftNessAttributes {
110 // Neutral Special - PK Flash
118 float x1C_PKFLASH_LANDING_LAG; // If set to 0, Ness does not enter freefall
119 // after aerial PK Flash, but loses his
120 // double jump.
121 // Side Special - PK Fire
129 // Up Special - PK Thunder
136 // Up Special - PK Thunder 2 (Self-Hit)
140 float x60_PK_THUNDER_2_KNOCKDOWN_ANGLE; // Angle to determine whether to
141 // enter PK Thunder 2 or DownBound
142 // state (Ground Only)
143 float x64_PK_THUNDER_2_WALLHUG_ANGLE; // Surface angle to determine whether
144 // PK Thunder 2 wallhugs or bounces
146 float
147 x6C_PK_THUNDER_2_FREEFALL_ANIM_BLEND; // Amount of animation blend
148 // frames Ness goes through when
149 // entering FallSpecial through
150 // his SpecialHi Motion States
151 float x70_PK_THUNDER_2_LANDING_LAG; // If set to 0, Ness does not enter
152 // freefall after aerial PK Thunder,
153 // but loses his double jump.
154 // Down Special - PSI Magnet
155 float x74_PSI_MAGNET_RELEASE_LAG; // Auto lag frames after initializing PSI
156 // Magnet if B is not being held. PSI
157 // Magnet is immediately released with no
158 // lag once these frames have passed.
159 float x78_PSI_MAGNET_UNK1; // Note: Reminiscent of Fox and Falco's
160 // Reflector turn duration attribute? Unused.
161 float x7C_PSI_MAGNET_UNK2; // Note: Reminiscent of Fox and Falco's
162 // Reflector Unk1 attribute? Unused.
163 float x80_PSI_MAGNET_UNK3; // Unused.
167 float x90_PSI_MAGNET_UNK4; // Unused.
168 float x94_PSI_MAGNET_HEAL_MUL; // Multiplies projectile damage by this
169 // value and heals result
171 // Up/Down Smash - Yo-Yo
172 float xAC_YOYO_CHARGE_DURATION; // Amount of frames Yo-Yo can be charged
173 float
174 xB0_YOYO_DAMAGE_MUL; // Charged Yo-Yo damage multiplier; 350 by
175 // default, identical to the Smash Charge standard
176 float xB4_YOYO_REHIT_RATE; // Amount of frames needed for the Yo-Yo to hit
177 // again after colliding with a hurtbox
178 // Forward Smash - Baseball Bat
180
182
183#endif
signed long s32
Definition hsd_3B2B.h:1
Definition types.h:128
was using this to try and fix some matches, unsuccessfully
Definition gobj.h:26
Definition types.h:115
Special Attributes.
Definition types.h:109
AbsorbDesc x98_PSI_MAGNET_ABSORPTION
Definition types.h:170
ReflectDesc xB8_BASEBALL_BAT
Definition types.h:179
float x68_PK_THUNDER_2_UNK2
Definition types.h:145
float x3C_PK_THUNDER_UNK1
Definition types.h:130
float x34_PKFIRE_SPAWN_Y
Definition types.h:127
float x10_PKFLASH_UNK1
Definition types.h:115
float x50_PK_THUNDER_FALL_ACCEL
Definition types.h:135
s32 x8_PKFLASH_GRAVITY_DELAY
Definition types.h:113
s32 x4_PKFLASH_TIMER2_LOOPFRAMES
Definition types.h:112
float x4C_PK_THUNDER_UNK2
Definition types.h:134
float x80_PSI_MAGNET_UNK3
Definition types.h:163
u32 x44_PK_THUNDER_LOOP2
Definition types.h:132
float x2C_PKFIRE_GROUNDED_VELOCITY
Definition types.h:125
float x1C_PKFLASH_LANDING_LAG
Definition types.h:118
s32 x0_PKFLASH_TIMER1_LOOPFRAMES
Definition types.h:111
s32 x84_PSI_MAGNET_FRAMES_BEFORE_GRAVITY
Definition types.h:164
float x70_PK_THUNDER_2_LANDING_LAG
Definition types.h:151
float xB4_YOYO_REHIT_RATE
Definition types.h:176
float x30_PKFIRE_SPAWN_X
Definition types.h:126
float xB0_YOYO_DAMAGE_MUL
Definition types.h:174
float x38_PKFIRE_LANDING_LAG
Definition types.h:128
float x60_PK_THUNDER_2_KNOCKDOWN_ANGLE
Definition types.h:140
float x90_PSI_MAGNET_UNK4
Definition types.h:167
float x7C_PSI_MAGNET_UNK2
Definition types.h:161
float x58_PK_THUNDER_2_UNK1
Definition types.h:138
s32 xC_PKFLASH_MINCHARGEFRAMES
Definition types.h:114
float x64_PK_THUNDER_2_WALLHUG_ANGLE
Definition types.h:143
u32 x40_PK_THUNDER_LOOP1
Definition types.h:131
u32 x48_PK_THUNDER_GRAVITY_DELAY
Definition types.h:133
float x8C_PSI_MAGNET_FALL_ACCEL
Definition types.h:166
float x74_PSI_MAGNET_RELEASE_LAG
Definition types.h:155
float x14_PKFLASH_FALL_ACCEL
Definition types.h:116
float x20_PKFIRE_AERIAL_LAUNCH_TRAJECTORY
Definition types.h:122
float x88_PSI_MAGNET_MOMENTUM_PRESERVATION
Definition types.h:165
float x54_PK_THUNDER_2_MOMENTUM
Definition types.h:137
float x28_PKFIRE_GROUNDED_LAUNCH_TRAJECTORY
Definition types.h:124
float xAC_YOYO_CHARGE_DURATION
Definition types.h:172
float x94_PSI_MAGNET_HEAL_MUL
Definition types.h:168
float x18_PKFLASH_UNK2
Definition types.h:117
float x5C_PK_THUNDER_2_DECELERATION_RATE
Definition types.h:139
float x6C_PK_THUNDER_2_FREEFALL_ANIM_BLEND
Definition types.h:147
float x24_PKFIRE_AERIAL_VELOCITY
Definition types.h:123
float x78_PSI_MAGNET_UNK1
Definition types.h:159
Definition types.h:15
HSD_GObj * pkflash_gobj
Definition types.h:19
HSD_GObj * yoyo_gobj
Definition types.h:16
HSD_GObj * bat_gobj
Definition types.h:21
Vec3 yoyo_hitbox_pos
Definition types.h:17
HSD_GObj * pkthunder_gobj
Definition types.h:20
u32 pkthunder_gfx
bool for PK Thunder GFX?
Definition types.h:23
float x223C
Definition types.h:18
s32 thunderTimerLoop1
0x2344 - Number of frames Ness remains in the "control loop" animation after PK Thunder despawns
Definition types.h:64
s32 thunderColl
0x2340 - PK Thunder collision type? Used to check if PK Thunder is colliding with Ness
Definition types.h:61
float unkVar3
0x2388 - Set various times but never actually used?
Definition types.h:87
s32 gravityDelay
0x234C - Number of frames to pass before gravity takes effect
Definition types.h:69
float facingDir
0x2370 - Facing direction change frorm PK Thunder collision
Definition types.h:79
s32 thunderTimerLoop2
0x2348 - Number of extra frames Ness remains in the "control loop" animation after PK Thunder despawn...
Definition types.h:67
Vec3 collPos1
0x2350 - ???
Definition types.h:71
float aerialVel
0x2368 - Aerial velocity of PK Thunder 2 (Self-Hit)
Definition types.h:75
float fallAccel
0x2384 - Fall acceleration of PK Thunder 2 (Self-Hit)
Definition types.h:85
Vec3 collPos2
0x235C - ???
Definition types.h:73
float unkVar4
0x238C - Set various times but never actually used?
Definition types.h:89
float unkVar
0x236C - Set various times but never actually used?
Definition types.h:77
s32 jibakuGFX
0x2380 - bool used in a weird way to switch to PK Thunder 2 GFX
Definition types.h:83
Vec3 unkVector1
0x2374 through 0x237C - Unused vector
Definition types.h:81
s32 releaseLag
0x2340 - Auto lag frames after initializing PSI Magnet if B is not being held; PSI Magnet is immediat...
Definition types.h:96
s32 turnFrames
0x2344 - Unused turnaround timer
Definition types.h:98
bool isRelease
0x2348 - Check if Ness is no longer holding B
Definition types.h:100
s32 gravityDelay
0x234C - Number of frames to pass before gravity takes effect
Definition types.h:102
int charge_release_delay
0x234C - Minimum number of frames required to pass for PK Flash to auto-release if B is not being hel...
Definition types.h:55
int frames_to_loop_charge_ground
0x2340 - Number of frames Ness remains in the "charge loop" animation after releasing PK Flash
Definition types.h:47
int frames_to_loop_charge_air
0x2344 - Number of extra frames Ness remains in the "charge loop" animation after releasing PK Flash?
Definition types.h:50
int falling_acceleration_delay
0x2348 - Number of frames to pass before gravity takes effect
Definition types.h:52
Definition types.h:26
bool isPosUpdateMod
0x234C - bool to indicate whether Yo-Yo hitbox position should update based on raw Vec3 input (false)...
Definition types.h:37
s32 yoyoRehitTimer
0x2344 - Frames until Up/Down Smash hitbox automatically refreshes; part of why the Yo-Yo Glitch occu...
Definition types.h:31
s32 yoyoCurrentFrame
0x2340 - Current frame of Up/Down Smash animation as an integer
Definition types.h:28
bool isChargeDisable
0x2348 - bool to indicate whether Ness can charge the Yo-Yo
Definition types.h:33
Definition types.h:40
struct ftNess_YoyoVars attacklw4
Definition types.h:42
struct ftNess_MotionVars::ftNess_SpecialLwVars speciallw
struct ftNess_MotionVars::ftNess_SpecialHiVars specialhi
struct ftNess_MotionVars::ftNess_SpecialNVars specialn
struct ftNess_YoyoVars attackhi4
Definition types.h:41