Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
lakilester.c File Reference

Go to the source code of this file.

Data Structures

struct  HurricaneState
 

Macros

#define HURRICANE_PARTNER_MOVE_TIME   165
 
#define HURRICANE_UNUSED_TIME   177
 

Enumerations

enum  { STATE_INHALE = -1 , STATE_DISABLED = 0 , STATE_EXHALE = 1 }
 

Variables

HudScript HES_AimBlinkA
 
HudScript HES_AimReticle
 
HudScript HES_AimTarget
 
HudScript HES_StickTapRight
 
ActorBlueprint battle_partner_lakilester
 

Data Structure Documentation

◆ HurricaneState

struct HurricaneState
Data Fields
char unk_00[0x44]
s16 breathSizeIncrease
s16 unk_46
char unk_48[0xC]
s16 unk_54
char unk_56[0x4]
s16 startingTotalPower
s8 state
s8 unk_5D
char unk_5E[0x12]
s16 intensity
s16 totalPower
char unk_74[0x10]

Macro Definition Documentation

◆ HURRICANE_PARTNER_MOVE_TIME

#define HURRICANE_PARTNER_MOVE_TIME   165

Definition at line 1366 of file lakilester.c.

◆ HURRICANE_UNUSED_TIME

#define HURRICANE_UNUSED_TIME   177

Definition at line 1367 of file lakilester.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
STATE_INHALE 
STATE_DISABLED 
STATE_EXHALE 

Definition at line 1356 of file lakilester.c.

1356 {
1357 STATE_INHALE = -1,
1358 STATE_DISABLED = 0,
1359 STATE_EXHALE = 1,
1360};
@ STATE_EXHALE
@ STATE_DISABLED
@ STATE_INHALE

Variable Documentation

◆ HES_AimBlinkA

HudScript HES_AimBlinkA
extern

Definition at line 848 of file battle_ui_gfx.c.

848 {
851 hs_Loop
853 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
855 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
856 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
858 hs_End
859};
#define hs_SetTileSize(size)
#define hs_SetVisible
#define hs_End
@ HUD_ELEMENT_FLAG_200000
Definition hud_element.h:94
#define hs_Restart
#define hs_Loop
#define hs_SetCI(time, name)
#define hs_ClearFlags(arg0)
@ HUD_ELEMENT_SIZE_16x16
Definition hud_element.h:46
#define hs_SetFlags(arg0)

◆ HES_AimReticle

HudScript HES_AimReticle
extern

Definition at line 828 of file battle_ui_gfx.c.

828 {
831 hs_Loop
832 hs_SetCI(8, ui_battle_cmd_aim_reticle_0)
833 hs_SetCI(5, ui_battle_cmd_aim_reticle_1)
835 hs_End
836};
@ HUD_ELEMENT_SIZE_32x32
Definition hud_element.h:48

◆ HES_AimTarget

HudScript HES_AimTarget
extern

Definition at line 838 of file battle_ui_gfx.c.

838 {
841 hs_Loop
842 hs_SetCI(2, ui_battle_cmd_aim_target_0)
843 hs_SetCI(2, ui_battle_cmd_aim_target_1)
845 hs_End
846};
@ HUD_ELEMENT_SIZE_24x24
Definition hud_element.h:47

◆ HES_StickTapRight

HudScript HES_StickTapRight
extern

Definition at line 2559 of file global_hud_scripts.c.

2559 {
2561 hs_Loop
2562 hs_SetCustomSize(32, 32)
2563 hs_SetTexelOffset(0, 0)
2564 hs_SetCI(6, ui_input_analog_stick)
2565 hs_SetCustomSize(40, 32)
2566 hs_SetTexelOffset(5, 0)
2567 hs_SetCI(2, ui_input_analog_stick_right)
2569 hs_End
2570};
#define hs_SetCustomSize(arg0, arg1)
#define hs_SetTexelOffset(x, y)

◆ battle_partner_lakilester

ActorBlueprint battle_partner_lakilester
Initial value:
= {
.type = ACTOR_TYPE_LAKILESTER,
.level = ACTOR_LEVEL_LAKILESTER,
.maxHP = 99,
.partCount = ARRAY_COUNT(N(ActorParts)),
.partsData = N(ActorParts),
.initScript = &N(EVS_Init),
.statusTable = N(StatusTable),
.escapeChance = 0,
.airLiftChance = 0,
.hurricaneChance = 0,
.spookChance = 0,
.upAndAwayChance = 0,
.spinSmashReq = 4,
.powerBounceChance = 80,
.coinReward = 0,
.size = { 44, 40 },
.healthBarOffset = { 0, 0 },
.statusIconOffset = { -10, 30 },
.statusTextOffset = { 13, 31 },
}
@ ACTOR_FLAG_FLYING
Quake Hammer can't hit.
Definition enums.h:3329
#define ARRAY_COUNT(arr)
Definition macros.h:40

Definition at line 157 of file lakilester.c.

157 {
158 .flags = ACTOR_FLAG_FLYING,
159 .type = ACTOR_TYPE_LAKILESTER,
160 .level = ACTOR_LEVEL_LAKILESTER,
161 .maxHP = 99,
162 .partCount = ARRAY_COUNT(N(ActorParts)),
163 .partsData = N(ActorParts),
164 .initScript = &N(EVS_Init),
165 .statusTable = N(StatusTable),
166 .escapeChance = 0,
167 .airLiftChance = 0,
168 .hurricaneChance = 0,
169 .spookChance = 0,
170 .upAndAwayChance = 0,
171 .spinSmashReq = 4,
172 .powerBounceChance = 80,
173 .coinReward = 0,
174 .size = { 44, 40 },
175 .healthBarOffset = { 0, 0 },
176 .statusIconOffset = { -10, 30 },
177 .statusTextOffset = { 13, 31 },
178};