mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
Fix a few warnings (#601)
* . * Externs * Fix a few warnings * __osGetCause * Comment * Ethan
This commit is contained in:
parent
13a2f40f2a
commit
55228bd3a7
@ -1482,7 +1482,7 @@ typedef struct DecorationTable {
|
|||||||
/* 0x89C */ u8 rotZ[16];
|
/* 0x89C */ u8 rotZ[16];
|
||||||
/* 0x8AC */ s8 effectType; /* 0 = blur, 14 = none? */
|
/* 0x8AC */ s8 effectType; /* 0 = blur, 14 = none? */
|
||||||
/* 0x8AD */ char unk_8AD[3];
|
/* 0x8AD */ char unk_8AD[3];
|
||||||
/* 0x8B0 */ struct Temp8025D160* unk_8B0[2];
|
/* 0x8B0 */ struct EffectInstance* unk_8B0[2];
|
||||||
/* 0x8B8 */ s8 decorationType[2];
|
/* 0x8B8 */ s8 decorationType[2];
|
||||||
/* 0x8BA */ u8 unk_8BA[2];
|
/* 0x8BA */ u8 unk_8BA[2];
|
||||||
/* 0x8BC */ u8 unk_8BC[2];
|
/* 0x8BC */ u8 unk_8BC[2];
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
#include "ultra64.h"
|
|
||||||
|
|
||||||
#ifndef _DEAD_H_
|
#ifndef _DEAD_H_
|
||||||
#define _DEAD_H_
|
#define _DEAD_H_
|
||||||
|
|
||||||
@ -92,8 +90,8 @@
|
|||||||
#define guTranslateF dead_guTranslateF
|
#define guTranslateF dead_guTranslateF
|
||||||
#define get_model_from_list_index dead_get_model_from_list_index
|
#define get_model_from_list_index dead_get_model_from_list_index
|
||||||
#define get_model_list_index_from_tree_index dead_get_model_list_index_from_tree_index
|
#define get_model_list_index_from_tree_index dead_get_model_list_index_from_tree_index
|
||||||
#define guMtxCatF osSiRawReadIo
|
#define guMtxCatF dead_guMtxCatF
|
||||||
#define guMtxIdentF osGetCause
|
#define guMtxIdentF dead_guMtxIdentF
|
||||||
//#define sqrtf dead_sqrtf // <- This somehow breaks things
|
//#define sqrtf dead_sqrtf // <- This somehow breaks things
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#define _EFFECTS_H_
|
#define _EFFECTS_H_
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
#include "common_structs.h"
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char unk_00[0x38];
|
char unk_00[0x38];
|
||||||
|
@ -113,7 +113,7 @@ enum {
|
|||||||
#define EVT_SAVE_FLAG(v) ((v - 130000000))
|
#define EVT_SAVE_FLAG(v) ((v - 130000000))
|
||||||
#define EVT_AREA_VAR(v) ((v - 150000000))
|
#define EVT_AREA_VAR(v) ((v - 150000000))
|
||||||
#define EVT_SAVE_VAR(v) ((v - 170000000))
|
#define EVT_SAVE_VAR(v) ((v - 170000000))
|
||||||
#define EVT_ARRAY(v) ((v - 190000000))
|
#define EVT_ARRAY(v) (Bytecode) ((v - 190000000))
|
||||||
#define EVT_ARRAY_FLAG(v) ((v - 210000000))
|
#define EVT_ARRAY_FLAG(v) ((v - 210000000))
|
||||||
#define EVT_FIXED(v) (((v * 1024.0f) + -230000000)) // See evt_float_to_fixed_var
|
#define EVT_FIXED(v) (((v * 1024.0f) + -230000000)) // See evt_float_to_fixed_var
|
||||||
#define EVT_PTR(sym) (Bytecode) &sym
|
#define EVT_PTR(sym) (Bytecode) &sym
|
||||||
|
@ -519,9 +519,6 @@ void set_curtain_fade(f32 fade);
|
|||||||
void crash_screen_init(void);
|
void crash_screen_init(void);
|
||||||
void crash_screen_set_draw_info(u16* frameBufPtr, s16 width, s16 height);
|
void crash_screen_set_draw_info(u16* frameBufPtr, s16 width, s16 height);
|
||||||
|
|
||||||
// Dead functions:
|
|
||||||
void dead_guTranslateF(float mf[4][4], float x, float y, float z); // Has to be externed for codegen to work!
|
|
||||||
|
|
||||||
void func_800495A0(Evt* script, NpcAISettings* npcAISettings, EnemyTerritoryThing* territory);
|
void func_800495A0(Evt* script, NpcAISettings* npcAISettings, EnemyTerritoryThing* territory);
|
||||||
void func_800496B8(Evt* script, NpcAISettings* npcAISettings, EnemyTerritoryThing* territory);
|
void func_800496B8(Evt* script, NpcAISettings* npcAISettings, EnemyTerritoryThing* territory);
|
||||||
void func_80049C04(Evt* script, NpcAISettings* npcAISettings, EnemyTerritoryThing* territory);
|
void func_80049C04(Evt* script, NpcAISettings* npcAISettings, EnemyTerritoryThing* territory);
|
||||||
@ -532,9 +529,20 @@ void func_8004A124(Evt* script, NpcAISettings* npcAISettings, EnemyTerritoryThin
|
|||||||
void func_8004A3E8(Evt* script, NpcAISettings* npcAISettings, EnemyTerritoryThing* territory);
|
void func_8004A3E8(Evt* script, NpcAISettings* npcAISettings, EnemyTerritoryThing* territory);
|
||||||
void func_8004A73C(Evt* script);
|
void func_8004A73C(Evt* script);
|
||||||
|
|
||||||
s32 create_generic_entity_world(void (*updateFunc)(void), void (*drawFunc)(void));
|
// This legally allows all functions to be pointers without warnings.
|
||||||
|
// Perhaps the void arg functions can be changed later to remove this need.
|
||||||
|
typedef union {
|
||||||
|
void (*func1)(Evt*, s32);
|
||||||
|
void (*func2)(void);
|
||||||
|
} WorldArgs __attribute__ ((__transparent_union__));
|
||||||
|
|
||||||
|
s32 create_generic_entity_world(WorldArgs, WorldArgs);
|
||||||
|
|
||||||
EntityModel* get_entity_model(s32 idx);
|
EntityModel* get_entity_model(s32 idx);
|
||||||
f32 phys_get_spin_history(s32 lag, s32* x, s32* y, s32* z);
|
f32 phys_get_spin_history(s32 lag, s32* x, s32* y, s32* z);
|
||||||
|
void fold_update(u32, s32, s32, s32, s32, s32, s32);
|
||||||
|
s32 func_8013A704(s32);
|
||||||
|
void free_generic_entity(s32);
|
||||||
|
|
||||||
void sfx_get_spatialized_sound_params(f32 arg0, f32 arg1, f32 arg2, s16* arg3, s16* arg4, s32 arg5);
|
void sfx_get_spatialized_sound_params(f32 arg0, f32 arg1, f32 arg2, s16* arg3, s16* arg4, s32 arg5);
|
||||||
void sfx_play_sound_with_params(s32 arg0, u8 arg1, u8 arg2, s16 arg3);
|
void sfx_play_sound_with_params(s32 arg0, u8 arg1, u8 arg2, s16 arg3);
|
||||||
@ -644,6 +652,23 @@ void func_8024EFE0(f32 x, f32 y, f32 z, s32, s32, s32);
|
|||||||
void func_802664DC(f32 x, f32 y, f32 z, s32 attack, s32 a);
|
void func_802664DC(f32 x, f32 y, f32 z, s32 attack, s32 a);
|
||||||
s32 dispatch_damage_event_partner(s32 damageAmount, s32 event, s32 stopMotion);
|
s32 dispatch_damage_event_partner(s32 damageAmount, s32 event, s32 stopMotion);
|
||||||
s32 calc_partner_test_enemy(void);
|
s32 calc_partner_test_enemy(void);
|
||||||
|
void reset_actor_blur(Actor*);
|
||||||
|
s32 func_8025C8A0(s32, ActorPart*);
|
||||||
|
void func_8025CD28(s32, ActorPart*);
|
||||||
|
void func_8025D158(ActorPart*, s32);
|
||||||
|
void func_8025D290(ActorPart*, s32);
|
||||||
|
void func_8025D3C4(ActorPart*, s32);
|
||||||
|
void func_8025D4A0(ActorPart*, s32);
|
||||||
|
void func_8025D620(ActorPart*, s32);
|
||||||
|
void func_8025D6FC(ActorPart*, s32);
|
||||||
|
void func_8025D810(ActorPart*, s32);
|
||||||
|
void func_8025D8EC(ActorPart*, s32);
|
||||||
|
void func_8025DA60(ActorPart*, s32);
|
||||||
|
void func_8025DBC8(ActorPart*, s32);
|
||||||
|
void func_8025DD40(ActorPart*, s32);
|
||||||
|
void func_8025DE88(ActorPart*, s32);
|
||||||
|
void func_800E9894(void);
|
||||||
|
void func_8013A854(u32);
|
||||||
|
|
||||||
void init_encounters_ui(void);
|
void init_encounters_ui(void);
|
||||||
void initialize_collision(void);
|
void initialize_collision(void);
|
||||||
|
@ -28,7 +28,7 @@ typedef struct MapConfig {
|
|||||||
/* 0x38 */ BackgroundHeader* background;
|
/* 0x38 */ BackgroundHeader* background;
|
||||||
/* 0x3C */ union {
|
/* 0x3C */ union {
|
||||||
s32 msgID;
|
s32 msgID;
|
||||||
UNK_FUN_PTR(get);
|
s32 (*get)(void);
|
||||||
} tattle;
|
} tattle;
|
||||||
} MapConfig; // size = 0x40
|
} MapConfig; // size = 0x40
|
||||||
|
|
||||||
|
18
src/182B30.c
18
src/182B30.c
@ -1,5 +1,6 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "sprite.h"
|
#include "sprite.h"
|
||||||
|
#include "effects.h"
|
||||||
#include "battle/battle.h"
|
#include "battle/battle.h"
|
||||||
|
|
||||||
s32 func_80254250(void) {
|
s32 func_80254250(void) {
|
||||||
@ -703,7 +704,7 @@ void update_player_actor_shadow(void) {
|
|||||||
func_802549F4(player);
|
func_802549F4(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
shadow = get_shadow_by_index(player->shadow);
|
shadow = get_shadow_by_index((s32) player->shadow);
|
||||||
shadow->flags &= ~SHADOW_FLAGS_1;
|
shadow->flags &= ~SHADOW_FLAGS_1;
|
||||||
|
|
||||||
if (!battleStatus->outtaSightActive) {
|
if (!battleStatus->outtaSightActive) {
|
||||||
@ -899,7 +900,7 @@ void func_8025D158(ActorPart* part, s32 decorationIndex) {
|
|||||||
INCLUDE_ASM(s32, "182B30", func_8025D160);
|
INCLUDE_ASM(s32, "182B30", func_8025D160);
|
||||||
|
|
||||||
void func_8025D290(ActorPart* part, s32 decorationIndex) {
|
void func_8025D290(ActorPart* part, s32 decorationIndex) {
|
||||||
part->decorationTable->unk_8B0[decorationIndex]->unk_0C->unk_2C = 5;
|
part->decorationTable->unk_8B0[decorationIndex]->data->unk_2C = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "182B30", func_8025D2B0);
|
INCLUDE_ASM(s32, "182B30", func_8025D2B0);
|
||||||
@ -916,25 +917,25 @@ void func_8025D4A0(ActorPart* part, s32 decorationIndex) {
|
|||||||
INCLUDE_ASM(s32, "182B30", func_8025D4C8);
|
INCLUDE_ASM(s32, "182B30", func_8025D4C8);
|
||||||
|
|
||||||
void func_8025D620(ActorPart* part, s32 decorationIndex) {
|
void func_8025D620(ActorPart* part, s32 decorationIndex) {
|
||||||
part->decorationTable->unk_8B0[decorationIndex]->unk_0C->unk_2C = 5;
|
part->decorationTable->unk_8B0[decorationIndex]->data->unk_2C = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "182B30", func_8025D640);
|
INCLUDE_ASM(s32, "182B30", func_8025D640);
|
||||||
|
|
||||||
void func_8025D6FC(ActorPart* part, s32 decorationIndex) {
|
void func_8025D6FC(ActorPart* part, s32 decorationIndex) {
|
||||||
part->decorationTable->unk_8B0[decorationIndex]->unk_00 |= 0x10;
|
part->decorationTable->unk_8B0[decorationIndex]->flags |= 0x10;
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "182B30", func_8025D71C);
|
INCLUDE_ASM(s32, "182B30", func_8025D71C);
|
||||||
|
|
||||||
void func_8025D810(ActorPart* part, s32 decorationIndex) {
|
void func_8025D810(ActorPart* part, s32 decorationIndex) {
|
||||||
part->decorationTable->unk_8B0[decorationIndex]->unk_00 |= 0x10;
|
part->decorationTable->unk_8B0[decorationIndex]->flags |= 0x10;
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "182B30", func_8025D830);
|
INCLUDE_ASM(s32, "182B30", func_8025D830);
|
||||||
|
|
||||||
void func_8025D8EC(ActorPart* part, s32 decorationIndex) {
|
void func_8025D8EC(ActorPart* part, s32 decorationIndex) {
|
||||||
part->decorationTable->unk_8B0[decorationIndex]->unk_00 |= 0x10;
|
part->decorationTable->unk_8B0[decorationIndex]->flags |= 0x10;
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "182B30", func_8025D90C);
|
INCLUDE_ASM(s32, "182B30", func_8025D90C);
|
||||||
@ -950,12 +951,11 @@ void func_8025DBC8(ActorPart* part, s32 decorationIndex) {
|
|||||||
INCLUDE_ASM(s32, "182B30", func_8025DBD0);
|
INCLUDE_ASM(s32, "182B30", func_8025DBD0);
|
||||||
|
|
||||||
void func_8025DD40(ActorPart* actorPart, s32 decorationIndex) {
|
void func_8025DD40(ActorPart* actorPart, s32 decorationIndex) {
|
||||||
actorPart->decorationTable->unk_8B0[decorationIndex]->unk_0C->unk_2C = 5;
|
actorPart->decorationTable->unk_8B0[decorationIndex]->data->unk_2C = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "182B30", func_8025DD60);
|
INCLUDE_ASM(s32, "182B30", func_8025DD60);
|
||||||
|
|
||||||
void func_8025DE88(ActorPart* actorPart, s32 decorationIndex) {
|
void func_8025DE88(ActorPart* actorPart, s32 decorationIndex) {
|
||||||
actorPart->decorationTable->unk_8B0[decorationIndex]->unk_00 |= 0x10;
|
actorPart->decorationTable->unk_8B0[decorationIndex]->flags |= 0x10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,9 +6,6 @@
|
|||||||
|
|
||||||
extern s32 D_802946E0[];
|
extern s32 D_802946E0[];
|
||||||
|
|
||||||
void dispatch_event_actor(Actor* actor, s32 event);
|
|
||||||
void func_8024EFE0(f32 x, f32 y, f32 z, s32, s32, s32);
|
|
||||||
void func_802664DC(f32 x, f32 y, f32 z, s32 attack, s32 a);
|
|
||||||
s32 dispatch_damage_event_actor_1(Actor* actor, s32 damageAmount, s32 event);
|
s32 dispatch_damage_event_actor_1(Actor* actor, s32 damageAmount, s32 event);
|
||||||
s32 func_80263230(Actor*, Actor*);
|
s32 func_80263230(Actor*, Actor*);
|
||||||
void func_80267018(Actor* actor, s32 arg1);
|
void func_80267018(Actor* actor, s32 arg1);
|
||||||
|
@ -61,7 +61,6 @@ extern PopupMenu* gPopupMenu;
|
|||||||
extern MessagePrintState* D_8010D6A0;
|
extern MessagePrintState* D_8010D6A0;
|
||||||
extern s32 D_8010D6A4;
|
extern s32 D_8010D6A4;
|
||||||
|
|
||||||
void func_800E9894(void);
|
|
||||||
s8 func_800E98D4(void);
|
s8 func_800E98D4(void);
|
||||||
|
|
||||||
enum PopupTypes {
|
enum PopupTypes {
|
||||||
|
@ -34,7 +34,6 @@ extern void (*D_8010C93C)(void);
|
|||||||
extern struct802B7C78* D_802B7C78_E23228;
|
extern struct802B7C78* D_802B7C78_E23228;
|
||||||
extern struct8015A578 D_8015A578;
|
extern struct8015A578 D_8015A578;
|
||||||
|
|
||||||
void fold_update(s32, s32, s32, s32, s32, s32, s32);
|
|
||||||
void fold_appendGfx_component(s32, UnknownCommand*, s32, Matrix4f*);
|
void fold_appendGfx_component(s32, UnknownCommand*, s32, Matrix4f*);
|
||||||
void func_802B735C_E2290C(void);
|
void func_802B735C_E2290C(void);
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ ApiStatus func_802406A8_EB1508(Evt* script, s32 isInitialCall) {
|
|||||||
|
|
||||||
ApiStatus func_802406E0_EB1540(Evt* script, s32 isInitialCall) {
|
ApiStatus func_802406E0_EB1540(Evt* script, s32 isInitialCall) {
|
||||||
Bytecode* args = script->ptrReadPos;
|
Bytecode* args = script->ptrReadPos;
|
||||||
s32* ptr = evt_get_variable(script, *args++);
|
s32* ptr = (s32*) evt_get_variable(script, *args++);
|
||||||
s32 i;
|
s32 i;
|
||||||
|
|
||||||
if (ptr != NULL) {
|
if (ptr != NULL) {
|
||||||
|
@ -199,7 +199,7 @@ ApiStatus func_8024299C_EF4FAC(Evt* script, s32 isInitialCall) {
|
|||||||
Bytecode* args = script->ptrReadPos;
|
Bytecode* args = script->ptrReadPos;
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings = (NpcAISettings*) evt_get_variable(script, *args);
|
||||||
s32 var;
|
s32 var;
|
||||||
u32 x, y, z;
|
u32 x, y, z;
|
||||||
f32 x2, y2, z2, w2;
|
f32 x2, y2, z2, w2;
|
||||||
|
@ -28,7 +28,7 @@ typedef struct temp {
|
|||||||
} temp;
|
} temp;
|
||||||
|
|
||||||
ApiStatus func_80240340_EF7DC0(Evt* script, s32 isInitialCall) {
|
ApiStatus func_80240340_EF7DC0(Evt* script, s32 isInitialCall) {
|
||||||
temp* ptr = script->varTable[15];
|
temp* ptr = (temp*) script->varTable[15];
|
||||||
|
|
||||||
ptr->unk_0C->unk_30 = 69;
|
ptr->unk_0C->unk_30 = 69;
|
||||||
ptr->unk_0C->unk_34 = 255;
|
ptr->unk_0C->unk_34 = 255;
|
||||||
|
@ -12,7 +12,6 @@ extern s32 D_802943C0;
|
|||||||
extern HudElementAnim D_80108B80;
|
extern HudElementAnim D_80108B80;
|
||||||
extern HudElementAnim D_80292374;
|
extern HudElementAnim D_80292374;
|
||||||
|
|
||||||
void btl_set_popup_duration(s32);
|
|
||||||
void sfx_adjust_env_sound_params(s32, s32, s32, s32);
|
void sfx_adjust_env_sound_params(s32, s32, s32, s32);
|
||||||
|
|
||||||
typedef struct structD_802A9930_42E340 {
|
typedef struct structD_802A9930_42E340 {
|
||||||
|
@ -302,7 +302,7 @@ EvtSource N(takeTurn_8021A300) = {
|
|||||||
EVT_WAIT_FRAMES(5)
|
EVT_WAIT_FRAMES(5)
|
||||||
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
||||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_headbonk)
|
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_headbonk)
|
||||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, EVT_VAR(0), ((0)), 0, 1, 16)
|
EVT_CALL(EnemyTestTarget, ACTOR_SELF, EVT_VAR(0), 0, 0, 1, 16)
|
||||||
EVT_SWITCH(EVT_VAR(0))
|
EVT_SWITCH(EVT_VAR(0))
|
||||||
EVT_CASE_OR_EQ(6)
|
EVT_CASE_OR_EQ(6)
|
||||||
EVT_CASE_OR_EQ(5)
|
EVT_CASE_OR_EQ(5)
|
||||||
@ -414,7 +414,7 @@ EvtSource N(takeTurn_8021A300) = {
|
|||||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FIXED(1.3), EVT_FIXED(0.5), EVT_FIXED(1.0))
|
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FIXED(1.3), EVT_FIXED(0.5), EVT_FIXED(1.0))
|
||||||
EVT_WAIT_FRAMES(1)
|
EVT_WAIT_FRAMES(1)
|
||||||
EVT_END_SWITCH
|
EVT_END_SWITCH
|
||||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, EVT_VAR(0), ((0)), 0, 0, 1, 32)
|
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, EVT_VAR(0), 0, 0, 0, 1, 32)
|
||||||
EVT_SWITCH(EVT_VAR(0))
|
EVT_SWITCH(EVT_VAR(0))
|
||||||
EVT_CASE_OR_EQ(0)
|
EVT_CASE_OR_EQ(0)
|
||||||
EVT_CASE_OR_EQ(2)
|
EVT_CASE_OR_EQ(2)
|
||||||
|
@ -381,7 +381,7 @@ EvtSource N(takeTurn_8021D74C) = {
|
|||||||
EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0)
|
EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0)
|
||||||
EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FIXED(6.0))
|
EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FIXED(6.0))
|
||||||
EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -4, 0)
|
EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -4, 0)
|
||||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, EVT_VAR(0), ((0)), 0, 1, 16)
|
EVT_CALL(EnemyTestTarget, ACTOR_SELF, EVT_VAR(0), 0, 0, 1, 16)
|
||||||
EVT_SWITCH(EVT_VAR(0))
|
EVT_SWITCH(EVT_VAR(0))
|
||||||
EVT_CASE_OR_EQ(6)
|
EVT_CASE_OR_EQ(6)
|
||||||
EVT_CASE_OR_EQ(5)
|
EVT_CASE_OR_EQ(5)
|
||||||
@ -457,7 +457,7 @@ EvtSource N(takeTurn_8021D74C) = {
|
|||||||
EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 0)
|
EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 0)
|
||||||
EVT_END_SWITCH
|
EVT_END_SWITCH
|
||||||
EVT_WAIT_FRAMES(2)
|
EVT_WAIT_FRAMES(2)
|
||||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, EVT_VAR(0), ((0)), 0, 0, 1, 32)
|
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, EVT_VAR(0), 0, 0, 0, 1, 32)
|
||||||
EVT_SWITCH(EVT_VAR(0))
|
EVT_SWITCH(EVT_VAR(0))
|
||||||
EVT_CASE_OR_EQ(0)
|
EVT_CASE_OR_EQ(0)
|
||||||
EVT_CASE_OR_EQ(2)
|
EVT_CASE_OR_EQ(2)
|
||||||
@ -780,7 +780,7 @@ EvtSource N(takeTurn_8021F0D8) = {
|
|||||||
EVT_WAIT_FRAMES(5)
|
EVT_WAIT_FRAMES(5)
|
||||||
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
||||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_headbonk)
|
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_headbonk)
|
||||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, EVT_VAR(0), ((0)), 0, 1, 16)
|
EVT_CALL(EnemyTestTarget, ACTOR_SELF, EVT_VAR(0), 0, 0, 1, 16)
|
||||||
EVT_SWITCH(EVT_VAR(0))
|
EVT_SWITCH(EVT_VAR(0))
|
||||||
EVT_CASE_OR_EQ(6)
|
EVT_CASE_OR_EQ(6)
|
||||||
EVT_CASE_OR_EQ(5)
|
EVT_CASE_OR_EQ(5)
|
||||||
@ -892,7 +892,7 @@ EvtSource N(takeTurn_8021F0D8) = {
|
|||||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FIXED(1.3), EVT_FIXED(0.5), EVT_FIXED(1.0))
|
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FIXED(1.3), EVT_FIXED(0.5), EVT_FIXED(1.0))
|
||||||
EVT_WAIT_FRAMES(1)
|
EVT_WAIT_FRAMES(1)
|
||||||
EVT_END_SWITCH
|
EVT_END_SWITCH
|
||||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, EVT_VAR(0), ((0)), 0, 0, 1, 32)
|
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, EVT_VAR(0), 0, 0, 0, 1, 32)
|
||||||
EVT_SWITCH(EVT_VAR(0))
|
EVT_SWITCH(EVT_VAR(0))
|
||||||
EVT_CASE_OR_EQ(0)
|
EVT_CASE_OR_EQ(0)
|
||||||
EVT_CASE_OR_EQ(2)
|
EVT_CASE_OR_EQ(2)
|
||||||
|
@ -317,7 +317,7 @@ EvtSource N(takeTurn_8021BDDC) = {
|
|||||||
EVT_WAIT_FRAMES(5)
|
EVT_WAIT_FRAMES(5)
|
||||||
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
||||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_goomba_default_headbonk)
|
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_goomba_default_headbonk)
|
||||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, EVT_VAR(0), ((0)), 0, 1, 16)
|
EVT_CALL(EnemyTestTarget, ACTOR_SELF, EVT_VAR(0), 0, 0, 1, 16)
|
||||||
EVT_SWITCH(EVT_VAR(0))
|
EVT_SWITCH(EVT_VAR(0))
|
||||||
EVT_CASE_OR_EQ(6)
|
EVT_CASE_OR_EQ(6)
|
||||||
EVT_CASE_OR_EQ(5)
|
EVT_CASE_OR_EQ(5)
|
||||||
@ -429,7 +429,7 @@ EvtSource N(takeTurn_8021BDDC) = {
|
|||||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FIXED(1.3), EVT_FIXED(0.5), EVT_FIXED(1.0))
|
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FIXED(1.3), EVT_FIXED(0.5), EVT_FIXED(1.0))
|
||||||
EVT_WAIT_FRAMES(1)
|
EVT_WAIT_FRAMES(1)
|
||||||
EVT_END_SWITCH
|
EVT_END_SWITCH
|
||||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, EVT_VAR(0), ((0)), 0, 0, 2, 32)
|
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, EVT_VAR(0), 0, 0, 0, 2, 32)
|
||||||
EVT_SWITCH(EVT_VAR(0))
|
EVT_SWITCH(EVT_VAR(0))
|
||||||
EVT_CASE_OR_EQ(0)
|
EVT_CASE_OR_EQ(0)
|
||||||
EVT_CASE_OR_EQ(2)
|
EVT_CASE_OR_EQ(2)
|
||||||
|
@ -303,7 +303,7 @@ EvtSource N(takeTurn_8021A5A0) = {
|
|||||||
EVT_WAIT_FRAMES(5)
|
EVT_WAIT_FRAMES(5)
|
||||||
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
||||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_8)
|
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_8)
|
||||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), ((0)), 0, 1, 16)
|
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, 16)
|
||||||
EVT_SWITCH(LW(0))
|
EVT_SWITCH(LW(0))
|
||||||
EVT_CASE_OR_EQ(6)
|
EVT_CASE_OR_EQ(6)
|
||||||
EVT_CASE_OR_EQ(5)
|
EVT_CASE_OR_EQ(5)
|
||||||
@ -415,7 +415,7 @@ EvtSource N(takeTurn_8021A5A0) = {
|
|||||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0))
|
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0))
|
||||||
EVT_WAIT_FRAMES(1)
|
EVT_WAIT_FRAMES(1)
|
||||||
EVT_END_SWITCH
|
EVT_END_SWITCH
|
||||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), ((0)), 0, 0, 1, 32)
|
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 1, 32)
|
||||||
EVT_SWITCH(LW(0))
|
EVT_SWITCH(LW(0))
|
||||||
EVT_CASE_OR_EQ(0)
|
EVT_CASE_OR_EQ(0)
|
||||||
EVT_CASE_OR_EQ(2)
|
EVT_CASE_OR_EQ(2)
|
||||||
|
@ -301,7 +301,7 @@ EvtSource N(takeTurn_8021E0F0) = {
|
|||||||
EVT_WAIT_FRAMES(5)
|
EVT_WAIT_FRAMES(5)
|
||||||
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
||||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_8)
|
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_8)
|
||||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), ((0)), 0, 1, 16)
|
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, 16)
|
||||||
EVT_SWITCH(LW(0))
|
EVT_SWITCH(LW(0))
|
||||||
EVT_CASE_OR_EQ(6)
|
EVT_CASE_OR_EQ(6)
|
||||||
EVT_CASE_OR_EQ(5)
|
EVT_CASE_OR_EQ(5)
|
||||||
@ -413,7 +413,7 @@ EvtSource N(takeTurn_8021E0F0) = {
|
|||||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0))
|
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0))
|
||||||
EVT_WAIT_FRAMES(1)
|
EVT_WAIT_FRAMES(1)
|
||||||
EVT_END_SWITCH
|
EVT_END_SWITCH
|
||||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), ((0)), 0, 0, 1, 32)
|
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 1, 32)
|
||||||
EVT_SWITCH(LW(0))
|
EVT_SWITCH(LW(0))
|
||||||
EVT_CASE_OR_EQ(0)
|
EVT_CASE_OR_EQ(0)
|
||||||
EVT_CASE_OR_EQ(2)
|
EVT_CASE_OR_EQ(2)
|
||||||
|
@ -405,7 +405,7 @@ EvtSource N(80221680) = {
|
|||||||
EVT_WAIT_FRAMES(1)
|
EVT_WAIT_FRAMES(1)
|
||||||
EVT_END_LOOP
|
EVT_END_LOOP
|
||||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 0)
|
EVT_CALL(SetActorYaw, ACTOR_SELF, 0)
|
||||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(10), ((0)), 0, 2, 16)
|
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(10), 0, 0, 2, 16)
|
||||||
EVT_SWITCH(LW(10))
|
EVT_SWITCH(LW(10))
|
||||||
EVT_CASE_OR_EQ(6)
|
EVT_CASE_OR_EQ(6)
|
||||||
EVT_CASE_OR_EQ(5)
|
EVT_CASE_OR_EQ(5)
|
||||||
@ -437,7 +437,7 @@ EvtSource N(80221680) = {
|
|||||||
EVT_CALL(MoveBattleCamOver, 20)
|
EVT_CALL(MoveBattleCamOver, 20)
|
||||||
EVT_WAIT_FRAMES(2)
|
EVT_WAIT_FRAMES(2)
|
||||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(10), ((0)), 0, 0, 1, 32)
|
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(10), 0, 0, 0, 1, 32)
|
||||||
EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0)
|
EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0)
|
||||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 0)
|
EVT_CALL(SetActorYaw, ACTOR_SELF, 0)
|
||||||
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
||||||
@ -484,7 +484,7 @@ EvtSource N(80221CD4) = {
|
|||||||
EVT_CALL(PlayEffect, 0x14, 0, -15, 135, 0, 85, 0, 0, 0, 0, 0, 0, 0, 0)
|
EVT_CALL(PlayEffect, 0x14, 0, -15, 135, 0, 85, 0, 0, 0, 0, 0, 0, 0, 0)
|
||||||
EVT_CALL(PlayEffect, 0x14, 0, 100, 103, 0, 70, 0, 0, 0, 0, 0, 0, 0, 0)
|
EVT_CALL(PlayEffect, 0x14, 0, 100, 103, 0, 70, 0, 0, 0, 0, 0, 0, 0, 0)
|
||||||
EVT_END_THREAD
|
EVT_END_THREAD
|
||||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(10), ((0)), 0, 2, 16)
|
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(10), 0, 0, 2, 16)
|
||||||
EVT_SWITCH(LW(10))
|
EVT_SWITCH(LW(10))
|
||||||
EVT_CASE_OR_EQ(6)
|
EVT_CASE_OR_EQ(6)
|
||||||
EVT_CASE_OR_EQ(5)
|
EVT_CASE_OR_EQ(5)
|
||||||
@ -620,7 +620,7 @@ EvtSource N(80221CD4) = {
|
|||||||
EVT_WAIT_FRAMES(24)
|
EVT_WAIT_FRAMES(24)
|
||||||
EVT_WAIT_FRAMES(2)
|
EVT_WAIT_FRAMES(2)
|
||||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), ((0)), 65535, 0, 2, 32)
|
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 65535, 0, 2, 32)
|
||||||
EVT_SWITCH(LW(0))
|
EVT_SWITCH(LW(0))
|
||||||
EVT_CASE_EQ(10)
|
EVT_CASE_EQ(10)
|
||||||
EVT_RETURN
|
EVT_RETURN
|
||||||
|
@ -303,7 +303,7 @@ EvtSource N(takeTurn_8021C3B0) = {
|
|||||||
EVT_WAIT_FRAMES(5)
|
EVT_WAIT_FRAMES(5)
|
||||||
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
||||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_8)
|
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_8)
|
||||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), ((0)), 0, 1, 16)
|
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, 16)
|
||||||
EVT_SWITCH(LW(0))
|
EVT_SWITCH(LW(0))
|
||||||
EVT_CASE_OR_EQ(6)
|
EVT_CASE_OR_EQ(6)
|
||||||
EVT_CASE_OR_EQ(5)
|
EVT_CASE_OR_EQ(5)
|
||||||
@ -415,7 +415,7 @@ EvtSource N(takeTurn_8021C3B0) = {
|
|||||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0))
|
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0))
|
||||||
EVT_WAIT_FRAMES(1)
|
EVT_WAIT_FRAMES(1)
|
||||||
EVT_END_SWITCH
|
EVT_END_SWITCH
|
||||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), ((0)), 0, 0, 1, 32)
|
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 1, 32)
|
||||||
EVT_SWITCH(LW(0))
|
EVT_SWITCH(LW(0))
|
||||||
EVT_CASE_OR_EQ(0)
|
EVT_CASE_OR_EQ(0)
|
||||||
EVT_CASE_OR_EQ(2)
|
EVT_CASE_OR_EQ(2)
|
||||||
|
@ -301,7 +301,7 @@ EvtSource N(takeTurn_8021FAF0) = {
|
|||||||
EVT_WAIT_FRAMES(5)
|
EVT_WAIT_FRAMES(5)
|
||||||
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0)
|
||||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_8)
|
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_8)
|
||||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), ((0)), 0, 1, 16)
|
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, 16)
|
||||||
EVT_SWITCH(LW(0))
|
EVT_SWITCH(LW(0))
|
||||||
EVT_CASE_OR_EQ(6)
|
EVT_CASE_OR_EQ(6)
|
||||||
EVT_CASE_OR_EQ(5)
|
EVT_CASE_OR_EQ(5)
|
||||||
@ -413,7 +413,7 @@ EvtSource N(takeTurn_8021FAF0) = {
|
|||||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0))
|
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.30078125), EVT_FLOAT(0.5), EVT_FLOAT(1.0))
|
||||||
EVT_WAIT_FRAMES(1)
|
EVT_WAIT_FRAMES(1)
|
||||||
EVT_END_SWITCH
|
EVT_END_SWITCH
|
||||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), ((0)), 0, 0, 1, 32)
|
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 1, 32)
|
||||||
EVT_SWITCH(LW(0))
|
EVT_SWITCH(LW(0))
|
||||||
EVT_CASE_OR_EQ(0)
|
EVT_CASE_OR_EQ(0)
|
||||||
EVT_CASE_OR_EQ(2)
|
EVT_CASE_OR_EQ(2)
|
||||||
|
@ -13,10 +13,10 @@ static s32 _pad = 0;
|
|||||||
|
|
||||||
/// 32x32 square.
|
/// 32x32 square.
|
||||||
Vtx N(model)[] = {
|
Vtx N(model)[] = {
|
||||||
{ .v = { -16, -16, 0, FALSE, 0, 0, 0, 0, 0, 255 } },
|
{ .v = {{ -16, -16, 0 }, FALSE, { 0, 0 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { 15, -16, 0, FALSE, 1024, 0, 0, 0, 0, 255 } },
|
{ .v = {{ 15, -16, 0 }, FALSE, { 1024, 0 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { 15, 15, 0, FALSE, 1024, 1024, 0, 0, 0, 255 } },
|
{ .v = {{ 15, 15, 0 }, FALSE, { 1024, 1024 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { -16, 15, 0, FALSE, 0, 1024, 0, 0, 0, 255 } },
|
{ .v = {{ -16, 15, 0 }, FALSE, { 0, 1024 }, { 0, 0, 0, 255 }}},
|
||||||
};
|
};
|
||||||
|
|
||||||
Gfx N(displayList)[] = {
|
Gfx N(displayList)[] = {
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
#undef NAMESPACE
|
#undef NAMESPACE
|
||||||
#define NAMESPACE battle_item_coconut
|
#define NAMESPACE battle_item_coconut
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
ApiStatus func_802A1000_72F720(Evt* script, s32 isInitialCall);
|
ApiStatus func_802A1000_72F720(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus func_802A11D4_72F8F4(Evt* script, s32 isInitialCall);
|
ApiStatus func_802A11D4_72F8F4(Evt* script, s32 isInitialCall);
|
||||||
|
@ -7,11 +7,10 @@
|
|||||||
#undef NAMESPACE
|
#undef NAMESPACE
|
||||||
#define NAMESPACE battle_item_dizzy_dial
|
#define NAMESPACE battle_item_dizzy_dial
|
||||||
|
|
||||||
ApiStatus func_8024ECF8(Evt* script, s32 isInitialCall);
|
|
||||||
ApiStatus func_80252B3C(Evt* script, s32 isInitialCall);
|
ApiStatus func_80252B3C(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A1270_727B80)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A1270_727B80)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
ApiStatus N(func_802A123C_71CF1C)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A123C_71CF1C)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A12FC_71CFDC)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A12FC_71CFDC)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
EvtSource N(EatItem);
|
extern EvtSource N(EatItem);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -12,10 +12,10 @@ static s32 _pad = 0; // XXX
|
|||||||
#include "battle/item/dusty_hammer.pal.inc.c"
|
#include "battle/item/dusty_hammer.pal.inc.c"
|
||||||
|
|
||||||
Vtx N(model)[] = {
|
Vtx N(model)[] = {
|
||||||
{ .v = { -16, -16, 0, FALSE, 0, 0, 0, 0, 0, 255 } },
|
{ .v = {{ -16, -16, 0 }, FALSE, { 0, 0 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { 15, -16, 0, FALSE, 1024, 0, 0, 0, 0, 255 } },
|
{ .v = {{ 15, -16, 0 }, FALSE, { 1024, 0 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { 15, 15, 0, FALSE, 1024, 1024, 0, 0, 0, 255 } },
|
{ .v = {{ 15, 15, 0 }, FALSE, { 1024, 1024 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { -16, 15, 0, FALSE, 0, 1024, 0, 0, 0, 255 } },
|
{ .v = {{ -16, 15, 0 }, FALSE, { 0, 1024 }, { 0, 0, 0, 255 }}},
|
||||||
};
|
};
|
||||||
|
|
||||||
Gfx N(displayList)[] = {
|
Gfx N(displayList)[] = {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#undef NAMESPACE
|
#undef NAMESPACE
|
||||||
#define NAMESPACE battle_item_dusty_hammer
|
#define NAMESPACE battle_item_dusty_hammer
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -34,10 +34,10 @@ static s32 _pad = 0;
|
|||||||
#include "battle/item/egg_missile4.pal.inc.c"
|
#include "battle/item/egg_missile4.pal.inc.c"
|
||||||
|
|
||||||
Vtx N(model)[] = {
|
Vtx N(model)[] = {
|
||||||
{ .v = { -16, -16, 0, FALSE, 0, 0, 0, 0, 0, 255 } },
|
{ .v = {{ -16, -16, 0 }, FALSE, { 0, 0 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { 15, -16, 0, FALSE, 1024, 0, 0, 0, 0, 255 } },
|
{ .v = {{ 15, -16, 0 }, FALSE, { 1024, 0 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { 15, 15, 0, FALSE, 1024, 1024, 0, 0, 0, 255 } },
|
{ .v = {{ 15, 15, 0 }, FALSE, { 1024, 1024 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { -16, 15, 0, FALSE, 0, 1024, 0, 0, 0, 255 } },
|
{ .v = {{ -16, 15, 0 }, FALSE, { 0, 1024 }, { 0, 0, 0, 255 }}},
|
||||||
};
|
};
|
||||||
|
|
||||||
Gfx N(frame1_displayList)[] = {
|
Gfx N(frame1_displayList)[] = {
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
#undef NAMESPACE
|
#undef NAMESPACE
|
||||||
#define NAMESPACE battle_item_egg_missile
|
#define NAMESPACE battle_item_egg_missile
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
ApiStatus N(func_802A123C_71CF1C)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A123C_71CF1C)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@ ApiStatus N(func_802A14F0_730A90)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(func_802A133C_7308DC)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A133C_7308DC)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(AddFP)(Evt* script, s32 isInitialCall);
|
ApiStatus N(AddFP)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
EvtSource N(EatItem);
|
extern EvtSource N(EatItem);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -11,7 +11,7 @@ ApiStatus N(FadeBackgroundToBlack)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(func_802A123C_716E9C)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A123C_716E9C)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A1378_716FD8)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A1378_716FD8)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -15,10 +15,10 @@ ApiStatus N(func_802A1438_733508)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(AddHP)(Evt* script, s32 isInitialCall);
|
ApiStatus N(AddHP)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(AddFP)(Evt* script, s32 isInitialCall);
|
ApiStatus N(AddFP)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
EvtSource N(UseItem);
|
extern EvtSource N(UseItem);
|
||||||
EvtSource N(EatItem);
|
extern EvtSource N(EatItem);
|
||||||
EvtSource N(DrinkItem);
|
extern EvtSource N(DrinkItem);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -11,7 +11,7 @@ ApiStatus func_80269EAC(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(FadeBackgroundToBlack)(Evt* script, s32 isInitialCall);
|
ApiStatus N(FadeBackgroundToBlack)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A12D4_72BBE4)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A12D4_72BBE4)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
#undef NAMESPACE
|
#undef NAMESPACE
|
||||||
#define NAMESPACE battle_item_insecticide_herb
|
#define NAMESPACE battle_item_insecticide_herb
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
ApiStatus N(func_802A12E0_72AA30)(Evt *script, s32 isInitialCall);
|
ApiStatus N(func_802A12E0_72AA30)(Evt *script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A123C_72A98C)(Evt *script, s32 isInitialCall);
|
ApiStatus N(func_802A123C_72A98C)(Evt *script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A1280_72A9D0)(Evt *script, s32 isInitialCall);
|
ApiStatus N(func_802A1280_72A9D0)(Evt *script, s32 isInitialCall);
|
||||||
|
@ -13,9 +13,9 @@ ApiStatus N(func_802A1484_72E9B4)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(func_802A1438_72E968)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A1438_72E968)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A1378_72E8A8)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A1378_72E8A8)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
EvtSource N(UseItem);
|
extern EvtSource N(UseItem);
|
||||||
EvtSource N(EatItem);
|
extern EvtSource N(EatItem);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -15,9 +15,9 @@ ApiStatus N(func_802A1438_715C88)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(AddHP)(Evt* script, s32 isInitialCall);
|
ApiStatus N(AddHP)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(AddFP)(Evt* script, s32 isInitialCall);
|
ApiStatus N(AddFP)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
EvtSource N(UseItem);
|
extern EvtSource N(UseItem);
|
||||||
EvtSource N(EatItem);
|
extern EvtSource N(EatItem);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -231,10 +231,10 @@ static s32 _pad = 0;
|
|||||||
#include "battle/item/mystery.pal.inc.c"
|
#include "battle/item/mystery.pal.inc.c"
|
||||||
|
|
||||||
Vtx N(model)[] = {
|
Vtx N(model)[] = {
|
||||||
{ .v = { -16, -16, 0, FALSE, 0, 0, 0, 0, 0, 255 } },
|
{ .v = {{ -16, -16, 0 }, FALSE, { 0, 0 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { 15, -16, 0, FALSE, 1024, 0, 0, 0, 0, 255 } },
|
{ .v = {{ 15, -16, 0 }, FALSE, { 1024, 0 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { 15, 15, 0, FALSE, 1024, 1024, 0, 0, 0, 255 } },
|
{ .v = {{ 15, 15, 0 }, FALSE, { 1024, 1024 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { -16, 15, 0, FALSE, 0, 1024, 0, 0, 0, 255 } },
|
{ .v = {{ -16, 15, 0 }, FALSE, { 0, 1024 }, { 0, 0, 0, 255 }}},
|
||||||
};
|
};
|
||||||
|
|
||||||
Gfx N(displayList)[] = {
|
Gfx N(displayList)[] = {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#undef NAMESPACE
|
#undef NAMESPACE
|
||||||
#define NAMESPACE battle_item_pebble
|
#define NAMESPACE battle_item_pebble
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
#undef NAMESPACE
|
#undef NAMESPACE
|
||||||
#define NAMESPACE battle_item_please_come_back
|
#define NAMESPACE battle_item_please_come_back
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -13,7 +13,7 @@ ApiStatus N(func_802A1318_718B68)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(func_802A123C_718A8C)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A123C_718A8C)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A12E4_718B34)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A12E4_718B34)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
ApiStatus N(func_802A123C_72DDAC)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A123C_72DDAC)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -12,7 +12,7 @@ ApiStatus N(func_802A123C_71D9AC)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(func_802A1388_71DAF8)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A1388_71DAF8)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A14D4_71DC44)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A14D4_71DC44)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -240,10 +240,10 @@ static s32 _pad = 0;
|
|||||||
#include "battle/item/sleepy_sheep3.pal.inc.c"
|
#include "battle/item/sleepy_sheep3.pal.inc.c"
|
||||||
|
|
||||||
Vtx N(model)[] = {
|
Vtx N(model)[] = {
|
||||||
{ .v = { -28, 0, 0, FALSE, 0, 1536, 0, 0, 0, 255 } },
|
{ .v = {{ -28, 0, 0 }, FALSE, { 0, 1536 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { 27, 0, 0, FALSE, 1792, 1536, 0, 0, 0, 255 } },
|
{ .v = {{ 27, 0, 0 }, FALSE, { 1792, 1536 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { 27, 47, 0, FALSE, 1792, 0, 0, 0, 0, 255 } },
|
{ .v = {{ 27, 47, 0 }, FALSE, { 1792, 0 }, { 0, 0, 0, 255 }}},
|
||||||
{ .v = { -28, 47, 0, FALSE, 0, 0, 0, 0, 0, 255 } },
|
{ .v = {{ -28, 47, 0 }, FALSE, { 0, 0 }, { 0, 0, 0, 255 }}},
|
||||||
};
|
};
|
||||||
|
|
||||||
Gfx N(frame1_displayList)[] = {
|
Gfx N(frame1_displayList)[] = {
|
||||||
|
@ -15,8 +15,8 @@ ApiStatus N(func_802A123C_71E88C)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(func_802A1740_71ED90)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A1740_71ED90)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A1848_71EE98)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A1848_71EE98)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -11,8 +11,8 @@ ApiStatus N(FadeBackgroundToBlack)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(func_802A123C_71C06C)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A123C_71C06C)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A13B8_71C1E8)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A13B8_71C1E8)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
ApiStatus N(func_802A123C_7217DC)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A123C_7217DC)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@ ApiStatus func_80252B3C(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(FadeBackgroundToBlack)(Evt* script, s32 isInitialCall);
|
ApiStatus N(FadeBackgroundToBlack)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A12D4_7270A4)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A12D4_7270A4)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -15,12 +15,12 @@ ApiStatus N(func_802A1AD8_731DD8)(Evt *script, s32 isInitialCall);
|
|||||||
ApiStatus N(func_802A1B14_731E14)(Evt *script, s32 isInitialCall);
|
ApiStatus N(func_802A1B14_731E14)(Evt *script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A1B68_731E68)(Evt *script, s32 isInitialCall);
|
ApiStatus N(func_802A1B68_731E68)(Evt *script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
EvtSource N(EatItem);
|
extern EvtSource N(EatItem);
|
||||||
EvtSource N(script7);
|
extern EvtSource N(script7);
|
||||||
EvtSource N(script8);
|
extern EvtSource N(script8);
|
||||||
EvtSource N(script9);
|
extern EvtSource N(script9);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -13,8 +13,8 @@ ApiStatus N(func_802A1418_7250F8)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(AddFP)(Evt* script, s32 isInitialCall);
|
ApiStatus N(AddFP)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A1378_725058)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A1378_725058)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
EvtSource N(UseItem);
|
extern EvtSource N(UseItem);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
ApiStatus N(func_802A123C_72223C)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A123C_72223C)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
EvtSource N(DrinkItem);
|
extern EvtSource N(DrinkItem);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -11,7 +11,7 @@ ApiStatus N(FadeBackgroundToBlack)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(func_802A123C_722D7C)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A123C_722D7C)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A1420_722F60)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A1420_722F60)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -11,7 +11,7 @@ ApiStatus N(FadeBackgroundToBlack)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(func_802A1354_71B4F4)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A1354_71B4F4)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A12D4_71B474)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A12D4_71B474)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
ApiStatus N(func_802A123C_7239BC)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A123C_7239BC)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A12FC_723A7C)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A12FC_723A7C)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
EvtSource N(EatItem);
|
extern EvtSource N(EatItem);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
ApiStatus N(func_802A123C_72447C)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A123C_72447C)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802A12FC_72453C)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A12FC_72453C)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
EvtSource N(EatItem);
|
extern EvtSource N(EatItem);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
ApiStatus N(func_802A123C_71AA2C)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802A123C_71AA2C)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(UseItemWithEffect);
|
extern EvtSource N(UseItemWithEffect);
|
||||||
EvtSource N(PlayerGoHome);
|
extern EvtSource N(PlayerGoHome);
|
||||||
EvtSource N(EatItem);
|
extern EvtSource N(EatItem);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -8,7 +8,6 @@ extern EntityModelList gWorldEntityModelList;
|
|||||||
extern EntityModelList gBattleEntityModelList;
|
extern EntityModelList gBattleEntityModelList;
|
||||||
extern EntityModelList* gCurrentEntityModelList;
|
extern EntityModelList* gCurrentEntityModelList;
|
||||||
extern s32 gEntityModelCount;
|
extern s32 gEntityModelCount;
|
||||||
extern s32 D_8014C260[];
|
|
||||||
extern s32 entity_fog_enabled;
|
extern s32 entity_fog_enabled;
|
||||||
extern s32 entity_fog_red;
|
extern s32 entity_fog_red;
|
||||||
extern s32 entity_fog_green;
|
extern s32 entity_fog_green;
|
||||||
@ -374,7 +373,7 @@ void init_generic_entity_list(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
s32 create_generic_entity_world(void (*updateFunc)(void), void (*drawFunc)(void)) {
|
s32 create_generic_entity_world(void (*updateFunc)(Evt*, s32), void (*drawFunc)(Evt*, s32)) {
|
||||||
s32 i;
|
s32 i;
|
||||||
DynamicEntity* newDynEntity;
|
DynamicEntity* newDynEntity;
|
||||||
|
|
||||||
|
@ -1039,7 +1039,7 @@ ApiStatus N(func_80241648_BE03D8)(Evt* script, s32 isInitialCall) {
|
|||||||
|
|
||||||
ApiStatus N(func_80241680_BE0410)(Evt* script, s32 isInitialCall) {
|
ApiStatus N(func_80241680_BE0410)(Evt* script, s32 isInitialCall) {
|
||||||
Bytecode* args = script->ptrReadPos;
|
Bytecode* args = script->ptrReadPos;
|
||||||
s32* ptr = evt_get_variable(script, *args);
|
s32* ptr = (s32*) evt_get_variable(script, *args);
|
||||||
s32 i;
|
s32 i;
|
||||||
|
|
||||||
if (ptr != NULL) {
|
if (ptr != NULL) {
|
||||||
|
@ -346,7 +346,7 @@ ApiStatus N(func_8024219C_BE594C)(Evt* script, s32 isInitialCall) {
|
|||||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings =(NpcAISettings*) evt_get_variable(script, *args);
|
||||||
|
|
||||||
territory.unk_00 = 0;
|
territory.unk_00 = 0;
|
||||||
territory.shape = enemy->territory->wander.detectShape;
|
territory.shape = enemy->territory->wander.detectShape;
|
||||||
|
@ -1237,7 +1237,7 @@ ApiStatus N(func_80241C5C_BEEA4C)(Evt* script, s32 isInitialCall) {
|
|||||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings =(NpcAISettings*) evt_get_variable(script, *args);
|
||||||
|
|
||||||
territory.unk_00 = 0;
|
territory.unk_00 = 0;
|
||||||
territory.shape = enemy->territory->wander.detectShape;
|
territory.shape = enemy->territory->wander.detectShape;
|
||||||
|
@ -536,7 +536,7 @@ ApiStatus N(func_8024142C_BFECAC)(Evt* script, s32 isInitialCall) {
|
|||||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings =(NpcAISettings*) evt_get_variable(script, *args);
|
||||||
|
|
||||||
territory.unk_00 = 0;
|
territory.unk_00 = 0;
|
||||||
territory.shape = enemy->territory->wander.detectShape;
|
territory.shape = enemy->territory->wander.detectShape;
|
||||||
@ -834,7 +834,7 @@ ApiStatus N(func_802422B0_BFFB30)(Evt* script, s32 isInitialCall) {
|
|||||||
Bytecode* args = script->ptrReadPos;
|
Bytecode* args = script->ptrReadPos;
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings =(NpcAISettings*) evt_get_variable(script, *args);
|
||||||
|
|
||||||
territory.unk_00 = 0;
|
territory.unk_00 = 0;
|
||||||
territory.shape = enemy->territory->wander.detectShape;
|
territory.shape = enemy->territory->wander.detectShape;
|
||||||
@ -904,7 +904,7 @@ ApiStatus N(func_802422B0_BFFB30)(Evt* script, s32 isInitialCall) {
|
|||||||
return (script->functionTemp[0] == 100) * ApiStatus_DONE2;
|
return (script->functionTemp[0] == 100) * ApiStatus_DONE2;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char N(dgb_00_name_hack)[];
|
extern const char N(dgb_00_name_hack)[];
|
||||||
|
|
||||||
EvtSource N(npcAI_80244D54) = {
|
EvtSource N(npcAI_80244D54) = {
|
||||||
EVT_CALL(SetSelfVar, 0, 0)
|
EVT_CALL(SetSelfVar, 0, 0)
|
||||||
@ -1228,7 +1228,7 @@ ApiStatus N(func_802430C0_C00940)(Evt* script, s32 isInitialCall) {
|
|||||||
|
|
||||||
#include "world/common/UnkFunc1.inc.c"
|
#include "world/common/UnkFunc1.inc.c"
|
||||||
|
|
||||||
const char N(dgb_08_name_hack)[];
|
extern const char N(dgb_08_name_hack)[];
|
||||||
|
|
||||||
EvtSource N(defeat_802457D8) = {
|
EvtSource N(defeat_802457D8) = {
|
||||||
EVT_CALL(N(UnkFunc1))
|
EVT_CALL(N(UnkFunc1))
|
||||||
|
@ -10,5 +10,5 @@ ApiStatus N(func_8024061C_C2F1BC)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(func_802410D4_C2FC74)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802410D4_C2FC74)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(UnkFunc7)(Evt *script, s32 isInitialCall);
|
ApiStatus N(UnkFunc7)(Evt *script, s32 isInitialCall);
|
||||||
|
|
||||||
NpcGroupList N(npcGroupList_802425C8);
|
extern NpcGroupList N(npcGroupList_802425C8);
|
||||||
EvtSource N(main);
|
extern EvtSource N(main);
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#include "dgb_04.h"
|
#include "dgb_04.h"
|
||||||
|
#include "sprite.h"
|
||||||
|
#include "world/partners.h"
|
||||||
#include "sprite/npc/sentinel.h"
|
#include "sprite/npc/sentinel.h"
|
||||||
#include "message_ids.h"
|
#include "message_ids.h"
|
||||||
|
|
||||||
@ -737,7 +739,7 @@ ApiStatus N(func_80242154_C38684)(Evt* script, s32 isInitialCall) {
|
|||||||
Bytecode* args = script->ptrReadPos;
|
Bytecode* args = script->ptrReadPos;
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings =(NpcAISettings*) evt_get_variable(script, *args);
|
||||||
|
|
||||||
territory.unk_00 = 0;
|
territory.unk_00 = 0;
|
||||||
territory.shape = enemy->territory->wander.detectShape;
|
territory.shape = enemy->territory->wander.detectShape;
|
||||||
|
@ -11,7 +11,7 @@ ApiStatus N(func_80240030_C3AA40)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(UnkFunc7)(Evt* script, s32 isInitialCall);
|
ApiStatus N(UnkFunc7)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_80240E80_C3B890)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_80240E80_C3B890)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
NpcGroupList N(npcGroupList_8024230C);
|
extern NpcGroupList N(npcGroupList_8024230C);
|
||||||
EvtSource N(802417F0);
|
extern EvtSource N(802417F0);
|
||||||
EvtSource N(main);
|
extern EvtSource N(main);
|
||||||
EvtSource N(makeEntities);
|
extern EvtSource N(makeEntities);
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
|
|
||||||
#define NAMESPACE dgb_06
|
#define NAMESPACE dgb_06
|
||||||
|
|
||||||
NpcGroupList N(npcGroupList_80240B44);
|
extern NpcGroupList N(npcGroupList_80240B44);
|
||||||
EvtSource N(main);
|
extern EvtSource N(main);
|
||||||
EvtSource N(makeEntities);
|
extern EvtSource N(makeEntities);
|
||||||
|
@ -10,5 +10,5 @@ ApiStatus N(func_80240E20_C3EA10)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(UnkFunc7)(Evt *script, s32 isInitialCall);
|
ApiStatus N(UnkFunc7)(Evt *script, s32 isInitialCall);
|
||||||
|
|
||||||
NpcGroupList N(npcGroupList_80241E5C);
|
NpcGroupList N(npcGroupList_80241E5C);
|
||||||
EvtSource N(main);
|
extern EvtSource N(main);
|
||||||
EvtSource N(makeEntities);
|
extern EvtSource N(makeEntities);
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#include "dgb_08.h"
|
#include "dgb_08.h"
|
||||||
#include "message_ids.h"
|
#include "message_ids.h"
|
||||||
|
#include "sprite.h"
|
||||||
|
#include "world/partners.h"
|
||||||
#include "sprite/npc/sentinel.h"
|
#include "sprite/npc/sentinel.h"
|
||||||
#include "sprite/npc/world_clubba.h"
|
#include "sprite/npc/world_clubba.h"
|
||||||
#include "sprite/npc/world_tubba.h"
|
#include "sprite/npc/world_tubba.h"
|
||||||
@ -284,7 +286,7 @@ NpcAISettings N(npcAISettings_802444B4) = {
|
|||||||
.unk_2C = 1,
|
.unk_2C = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
const char N(dgb_00_name_hack)[];
|
extern const char N(dgb_00_name_hack)[];
|
||||||
|
|
||||||
EvtSource N(npcAI_802444E4) = {
|
EvtSource N(npcAI_802444E4) = {
|
||||||
EVT_CALL(SetSelfVar, 0, 0)
|
EVT_CALL(SetSelfVar, 0, 0)
|
||||||
@ -463,7 +465,7 @@ EvtSource N(npcAI_80244D7C) = {
|
|||||||
EVT_END
|
EVT_END
|
||||||
};
|
};
|
||||||
|
|
||||||
const char N(dgb_01_name_hack)[];
|
extern const char N(dgb_01_name_hack)[];
|
||||||
|
|
||||||
EvtSource N(defeat_80244E58) = {
|
EvtSource N(defeat_80244E58) = {
|
||||||
EVT_CALL(N(UnkFunc1))
|
EVT_CALL(N(UnkFunc1))
|
||||||
@ -1224,7 +1226,7 @@ ApiStatus N(func_80242A6C_C4281C)(Evt* script, s32 isInitialCall) {
|
|||||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings = (NpcAISettings*) evt_get_variable(script, *args);
|
||||||
|
|
||||||
territory.unk_00 = 0;
|
territory.unk_00 = 0;
|
||||||
territory.shape = enemy->territory->wander.detectShape;
|
territory.shape = enemy->territory->wander.detectShape;
|
||||||
@ -1523,7 +1525,7 @@ ApiStatus N(func_802438F0_C436A0)(Evt* script, s32 isInitialCall) {
|
|||||||
Bytecode* args = script->ptrReadPos;
|
Bytecode* args = script->ptrReadPos;
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* npcAISettings = evt_get_variable(script, *args);
|
NpcAISettings* npcAISettings = (NpcAISettings*) evt_get_variable(script, *args);
|
||||||
|
|
||||||
territory.unk_00 = 0;
|
territory.unk_00 = 0;
|
||||||
territory.shape = enemy->territory->wander.detectShape;
|
territory.shape = enemy->territory->wander.detectShape;
|
||||||
|
@ -15,10 +15,10 @@ ApiStatus N(func_80243B98_C43948)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(func_80243C10_C439C0)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_80243C10_C439C0)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_80243C50_C43A00)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_80243C50_C43A00)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
NpcGroupList N(npcGroupList_80246958);
|
extern NpcGroupList N(npcGroupList_80246958);
|
||||||
NpcGroupList N(npcGroupList_802469AC);
|
extern NpcGroupList N(npcGroupList_802469AC);
|
||||||
NpcGroupList N(npcGroupList_802469C4);
|
extern NpcGroupList N(npcGroupList_802469C4);
|
||||||
EvtSource N(802469E0);
|
extern EvtSource N(802469E0);
|
||||||
EvtSource N(main);
|
extern EvtSource N(main);
|
||||||
EvtSource N(npcAI_80244D7C);
|
extern EvtSource N(npcAI_80244D7C);
|
||||||
EvtSource N(unk_80244100);
|
extern EvtSource N(unk_80244100);
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#include "dgb_09.h"
|
#include "dgb_09.h"
|
||||||
#include "message_ids.h"
|
#include "message_ids.h"
|
||||||
|
#include "sprite.h"
|
||||||
|
#include "world/partners.h"
|
||||||
#include "sprite/npc/sentinel.h"
|
#include "sprite/npc/sentinel.h"
|
||||||
#include "sprite/npc/world_clubba.h"
|
#include "sprite/npc/world_clubba.h"
|
||||||
|
|
||||||
extern Npc* wPartnerNpc;
|
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
NPC_WORLD_CLUBBA0,
|
NPC_WORLD_CLUBBA0,
|
||||||
NPC_WORLD_CLUBBA1,
|
NPC_WORLD_CLUBBA1,
|
||||||
@ -338,7 +338,7 @@ NpcAISettings N(npcAISettings_802443AC) = {
|
|||||||
.unk_2C = 1,
|
.unk_2C = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
const char N(dgb_00_name_hack)[];
|
extern const char N(dgb_00_name_hack)[];
|
||||||
|
|
||||||
EvtSource N(npcAI_802443DC) = {
|
EvtSource N(npcAI_802443DC) = {
|
||||||
EVT_CALL(SetSelfVar, 0, 0)
|
EVT_CALL(SetSelfVar, 0, 0)
|
||||||
@ -1035,7 +1035,7 @@ ApiStatus N(func_80242730_C49310)(Evt* script, s32 isInitialCall) {
|
|||||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings =(NpcAISettings*) evt_get_variable(script, *args);
|
||||||
|
|
||||||
territory.unk_00 = 0;
|
territory.unk_00 = 0;
|
||||||
territory.shape = enemy->territory->wander.detectShape;
|
territory.shape = enemy->territory->wander.detectShape;
|
||||||
@ -1326,7 +1326,7 @@ ApiStatus N(func_80243578_C4A158)(Evt* script, s32 isInitialCall) {
|
|||||||
Bytecode* args = script->ptrReadPos;
|
Bytecode* args = script->ptrReadPos;
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings =(NpcAISettings*) evt_get_variable(script, *args);
|
||||||
|
|
||||||
territory.unk_00 = 0;
|
territory.unk_00 = 0;
|
||||||
territory.shape = enemy->territory->wander.detectShape;
|
territory.shape = enemy->territory->wander.detectShape;
|
||||||
|
@ -11,6 +11,6 @@ ApiStatus N(func_802410D4_C47CB4)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(func_80243578_C4A158)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_80243578_C4A158)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(UnkFunc7)(Evt *script, s32 isInitialCall);
|
ApiStatus N(UnkFunc7)(Evt *script, s32 isInitialCall);
|
||||||
|
|
||||||
NpcGroupList N(npcGroupList_8024533C);
|
extern NpcGroupList N(npcGroupList_8024533C);
|
||||||
EvtSource N(80243F6C);
|
extern EvtSource N(80243F6C);
|
||||||
EvtSource N(main);
|
extern EvtSource N(main);
|
||||||
|
@ -11,9 +11,9 @@ ApiStatus N(func_802400A0_C4C430)(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus N(func_8024013C_C4C4CC)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_8024013C_C4C4CC)(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus N(func_802401C0_C4C550)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_802401C0_C4C550)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(80240770);
|
extern EvtSource N(80240770);
|
||||||
EvtSource N(80240AF4);
|
extern EvtSource N(80240AF4);
|
||||||
EvtSource N(80240CB8);
|
extern EvtSource N(80240CB8);
|
||||||
EvtSource N(80240E68);
|
extern EvtSource N(80240E68);
|
||||||
EvtSource N(main);
|
extern EvtSource N(main);
|
||||||
EvtSource N(makeEntities);
|
extern EvtSource N(makeEntities);
|
||||||
|
@ -8,5 +8,5 @@
|
|||||||
|
|
||||||
ApiStatus N(func_80240000_C4D3E0)(Evt* script, s32 isInitialCall);
|
ApiStatus N(func_80240000_C4D3E0)(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource N(main);
|
extern EvtSource N(main);
|
||||||
EvtSource N(makeEntities);
|
extern EvtSource N(makeEntities);
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
|
|
||||||
#define NAMESPACE dgb_12
|
#define NAMESPACE dgb_12
|
||||||
|
|
||||||
EvtSource N(802405E0);
|
extern EvtSource N(802405E0);
|
||||||
EvtSource N(main);
|
extern EvtSource N(main);
|
||||||
EvtSource N(makeEntities);
|
extern EvtSource N(makeEntities);
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
|
|
||||||
#define NAMESPACE dgb_13
|
#define NAMESPACE dgb_13
|
||||||
|
|
||||||
EvtSource N(80240270);
|
extern EvtSource N(80240270);
|
||||||
EvtSource N(80240680);
|
extern EvtSource N(80240680);
|
||||||
EvtSource N(main);
|
extern EvtSource N(main);
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
|
|
||||||
#define NAMESPACE dgb_14
|
#define NAMESPACE dgb_14
|
||||||
|
|
||||||
EvtSource N(main);
|
extern EvtSource N(main);
|
||||||
EvtSource N(makeEntities);
|
extern EvtSource N(makeEntities);
|
||||||
|
@ -426,7 +426,7 @@ EvtSource N(npcAI_80242834) = {
|
|||||||
EVT_END
|
EVT_END
|
||||||
};
|
};
|
||||||
|
|
||||||
const char N(dgb_01_name_hack)[];
|
extern const char N(dgb_01_name_hack)[];
|
||||||
|
|
||||||
EvtSource N(defeat_802428E8) = {
|
EvtSource N(defeat_802428E8) = {
|
||||||
EVT_CALL(N(UnkFunc1))
|
EVT_CALL(N(UnkFunc1))
|
||||||
|
@ -59,8 +59,6 @@ typedef struct {
|
|||||||
|
|
||||||
void N(func_802430C8_95E2C8)(Unk_Struct_1* ptr, s32 arg1);
|
void N(func_802430C8_95E2C8)(Unk_Struct_1* ptr, s32 arg1);
|
||||||
|
|
||||||
EvtSource N(80248504);
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
/* 0x00 */ s32 flags;
|
/* 0x00 */ s32 flags;
|
||||||
/* 0x04 */ s32 effectIndex;
|
/* 0x04 */ s32 effectIndex;
|
||||||
@ -1564,7 +1562,7 @@ EvtSource N(80248504) = {
|
|||||||
EVT_END
|
EVT_END
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_8024884C_963A4C)[] = {
|
Unk_Struct_2 N(D_8024884C_963A4C) = {
|
||||||
0x0000007D, 0x00000000, 0xFFFFFFD6, 0x0000004B, 0x0000004B, N(func_802430C8_95E2C8),
|
0x0000007D, 0x00000000, 0xFFFFFFD6, 0x0000004B, 0x0000004B, N(func_802430C8_95E2C8),
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -2454,7 +2452,7 @@ s32 N(shopItemPositions_8024BA68)[] = {
|
|||||||
0x004C0021, 0x004B0022, 0x00490023, 0x004A0024, 0x00480025, 0x00470026,
|
0x004C0021, 0x004B0022, 0x00490023, 0x004A0024, 0x00480025, 0x00470026,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(shopOwnerNPC_8024BA80)[] = {
|
ShopOwner N(shopOwnerNPC_8024BA80) = {
|
||||||
0x00000006, 0x00940101, 0x00940105, N(8024B894), 0x00000000, 0x00000000, N(intTable_8024B4A0),
|
0x00000006, 0x00940101, 0x00940105, N(8024B894), 0x00000000, 0x00000000, N(intTable_8024B4A0),
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -2919,7 +2917,7 @@ EvtSource N(8024CF7C) = {
|
|||||||
EVT_END
|
EVT_END
|
||||||
};
|
};
|
||||||
|
|
||||||
const char N(dro_01_name_hack)[];
|
extern const char N(dro_01_name_hack)[];
|
||||||
|
|
||||||
EvtSource N(8024D2B0) = {
|
EvtSource N(8024D2B0) = {
|
||||||
EVT_SET(EVT_SAVE_FLAG(761), 0)
|
EVT_SET(EVT_SAVE_FLAG(761), 0)
|
||||||
@ -2974,11 +2972,11 @@ ApiStatus N(func_80241470_95C670)(Evt* script, s32 isInitialCall) {
|
|||||||
if (N(D_802451B8_9603B8) == NULL) {
|
if (N(D_802451B8_9603B8) == NULL) {
|
||||||
N(D_802451B8_9603B8) = heap_malloc(16 * sizeof(s32));
|
N(D_802451B8_9603B8) = heap_malloc(16 * sizeof(s32));
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
N(D_802451B8_9603B8)[i] = script->varTable[i];
|
N(D_802451B8_9603B8)[i] = (s32*) script->varTable[i];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
script->varTable[i] = N(D_802451B8_9603B8)[i];
|
script->varTable[i] = (s32) N(D_802451B8_9603B8)[i];
|
||||||
}
|
}
|
||||||
heap_free(N(D_802451B8_9603B8));
|
heap_free(N(D_802451B8_9603B8));
|
||||||
N(D_802451B8_9603B8) = NULL;
|
N(D_802451B8_9603B8) = NULL;
|
||||||
@ -3173,7 +3171,7 @@ ApiStatus N(func_80242784_95D984)(Evt* script, s32 isInitialCall) {
|
|||||||
|
|
||||||
ApiStatus N(func_802427BC_95D9BC)(Evt* script, s32 isInitialCall) {
|
ApiStatus N(func_802427BC_95D9BC)(Evt* script, s32 isInitialCall) {
|
||||||
Bytecode* args = script->ptrReadPos;
|
Bytecode* args = script->ptrReadPos;
|
||||||
s32* ptr = evt_get_variable(script, *args);
|
s32* ptr = (s32*) evt_get_variable(script, *args);
|
||||||
s32 i;
|
s32 i;
|
||||||
|
|
||||||
if (ptr != NULL) {
|
if (ptr != NULL) {
|
||||||
@ -3192,15 +3190,15 @@ ApiStatus N(func_802427BC_95D9BC)(Evt* script, s32 isInitialCall) {
|
|||||||
|
|
||||||
ApiStatus N(func_80242858_95DA58)(Evt* script, s32 isInitialCall) {
|
ApiStatus N(func_80242858_95DA58)(Evt* script, s32 isInitialCall) {
|
||||||
PlayerStatus* playerStatus = &gPlayerStatus;
|
PlayerStatus* playerStatus = &gPlayerStatus;
|
||||||
Unk_Struct_2* temp_s1 = evt_get_variable(script, *script->ptrReadPos);
|
Unk_Struct_2* temp_s1 = (Unk_Struct_2*) evt_get_variable(script, *script->ptrReadPos);
|
||||||
Unk_Struct_1* ptr;
|
Unk_Struct_1* ptr;
|
||||||
s32 atan_res1, atan_res2;
|
s32 atan_res1, atan_res2;
|
||||||
s32 clamp;
|
s32 clamp;
|
||||||
s32 res;
|
s32 res;
|
||||||
|
|
||||||
if (isInitialCall) {
|
if (isInitialCall) {
|
||||||
script->functionTemp[1] = (Unk_Struct_1*)heap_malloc(0x3C);
|
script->functionTemp[1] = (s32) heap_malloc(0x3C);
|
||||||
ptr = script->functionTemp[1];
|
ptr = (Unk_Struct_1*) script->functionTemp[1];
|
||||||
ptr->unk_00 = temp_s1->unk_00;
|
ptr->unk_00 = temp_s1->unk_00;
|
||||||
ptr->unk_04 = temp_s1->unk_04;
|
ptr->unk_04 = temp_s1->unk_04;
|
||||||
ptr->unk_08 = temp_s1->unk_08;
|
ptr->unk_08 = temp_s1->unk_08;
|
||||||
@ -3218,7 +3216,7 @@ ApiStatus N(func_80242858_95DA58)(Evt* script, s32 isInitialCall) {
|
|||||||
ptr->unk_38 = 0;
|
ptr->unk_38 = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ptr = script->functionTemp[1];
|
ptr = (Unk_Struct_1*) script->functionTemp[1];
|
||||||
switch (ptr->unk_20) {
|
switch (ptr->unk_20) {
|
||||||
case 0:
|
case 0:
|
||||||
res = get_xz_dist_to_player(ptr->unk_00, ptr->unk_08);
|
res = get_xz_dist_to_player(ptr->unk_00, ptr->unk_08);
|
||||||
@ -3345,7 +3343,7 @@ void N(func_802430C8_95E2C8)(Unk_Struct_1* ptr, s32 arg1) {
|
|||||||
if (ptr->unk_1C >= 6) {
|
if (ptr->unk_1C >= 6) {
|
||||||
if (fabsf(get_clamped_angle_diff(atan2(125.0f, -42.0f, 152.0f, -61.0f), atan2(125.0f, -42.0f, playerStatus->position.x,
|
if (fabsf(get_clamped_angle_diff(atan2(125.0f, -42.0f, 152.0f, -61.0f), atan2(125.0f, -42.0f, playerStatus->position.x,
|
||||||
playerStatus->position.z))) < 30.0f) {
|
playerStatus->position.z))) < 30.0f) {
|
||||||
start_script(N(80248504), 1, 0);
|
start_script(&N(80248504), 1, 0);
|
||||||
ptr->unk_20 = 4;
|
ptr->unk_20 = 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,11 +6,11 @@ ApiStatus N(func_80243460_95E660)(Evt* script, s32 isInitialCall) {
|
|||||||
if (N(D_8024B5B0_9667B0) == NULL) {
|
if (N(D_8024B5B0_9667B0) == NULL) {
|
||||||
N(D_8024B5B0_9667B0) = heap_malloc(16 * sizeof(s32));
|
N(D_8024B5B0_9667B0) = heap_malloc(16 * sizeof(s32));
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
N(D_8024B5B0_9667B0)[i] = script->varTable[i];
|
N(D_8024B5B0_9667B0)[i] = (s32*) script->varTable[i];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
script->varTable[i] = N(D_8024B5B0_9667B0)[i];
|
script->varTable[i] = (s32) N(D_8024B5B0_9667B0)[i];
|
||||||
}
|
}
|
||||||
heap_free(N(D_8024B5B0_9667B0));
|
heap_free(N(D_8024B5B0_9667B0));
|
||||||
N(D_8024B5B0_9667B0) = NULL;
|
N(D_8024B5B0_9667B0) = NULL;
|
||||||
|
@ -89,6 +89,6 @@ extern EvtSource N(8024DD78);
|
|||||||
extern EvtSource N(main);
|
extern EvtSource N(main);
|
||||||
extern EvtSource N(makeEntities);
|
extern EvtSource N(makeEntities);
|
||||||
extern EvtSource N(shopItemPositions_8024BA68);
|
extern EvtSource N(shopItemPositions_8024BA68);
|
||||||
extern EvtSource N(shopOwnerNPC_8024BA80);
|
extern ShopOwner N(shopOwnerNPC_8024BA80);
|
||||||
extern EvtSource N(unk_80248088);
|
extern EvtSource N(unk_80248088);
|
||||||
extern EvtSource N(unk_8024884C);
|
extern EvtSource N(unk_8024884C);
|
||||||
|
@ -61,9 +61,9 @@ static N(temp)* N(D_8024EF90)[4]; // possibly bigger?
|
|||||||
static s8 N(pad_D_8024EF94)[0x18];
|
static s8 N(pad_D_8024EF94)[0x18];
|
||||||
static s32 N(D_8024EFB8);
|
static s32 N(D_8024EFB8);
|
||||||
static s8 N(pad_D_8024EFBC)[0x4];
|
static s8 N(pad_D_8024EFBC)[0x4];
|
||||||
static EffectGraphics* N(D_8024EFC0);
|
static EffectInstance* N(D_8024EFC0);
|
||||||
static EffectGraphics* N(D_8024EFC4);
|
static EffectInstance* N(D_8024EFC4);
|
||||||
static EffectGraphics* N(D_8024EFC8);
|
static EffectInstance* N(D_8024EFC8);
|
||||||
static Evt* N(D_8024EFCC);
|
static Evt* N(D_8024EFCC);
|
||||||
static s32 N(D_8024EFD0)[16];
|
static s32 N(D_8024EFD0)[16];
|
||||||
static D_8024F010_Struct N(D_8024F010)[3];
|
static D_8024F010_Struct N(D_8024F010)[3];
|
||||||
@ -91,36 +91,19 @@ MapConfig N(config) = {
|
|||||||
.tattle = { MSG_dro_02_tattle },
|
.tattle = { MSG_dro_02_tattle },
|
||||||
};
|
};
|
||||||
|
|
||||||
// Extraneous END_CASE_MULTI
|
|
||||||
#ifdef NON_EQUIVALENT
|
|
||||||
EvtSource N(80243AF0) = {
|
EvtSource N(80243AF0) = {
|
||||||
EVT_CALL(GetEntryID, EVT_VAR(0))
|
EVT_CMD(EVT_OP_CALL, EVT_PTR(GetEntryID), EVT_VAR(0)),
|
||||||
EVT_SWITCH(EVT_VAR(0))
|
|
||||||
EVT_CASE_OR_EQ(2)
|
|
||||||
EVT_CASE_OR_EQ(3)
|
|
||||||
EVT_END_CASE_GROUP
|
|
||||||
EVT_CASE_DEFAULT
|
|
||||||
EVT_CALL(SetMusicTrack, 0, SONG_DRY_DRY_OUTPOST, 0, 8)
|
|
||||||
EVT_END_CASE_GROUP
|
|
||||||
EVT_END_SWITCH
|
|
||||||
EVT_RETURN
|
|
||||||
EVT_END
|
|
||||||
};
|
|
||||||
#else
|
|
||||||
EvtSource N(80243AF0) = {
|
|
||||||
EVT_CMD(EVT_OP_CALL, GetEntryID, EVT_VAR(0)),
|
|
||||||
EVT_CMD(EVT_OP_SWITCH, EVT_VAR(0)),
|
EVT_CMD(EVT_OP_SWITCH, EVT_VAR(0)),
|
||||||
EVT_CMD(EVT_OP_CASE_OR_EQ, 2),
|
EVT_CMD(EVT_OP_CASE_OR_EQ, 2),
|
||||||
EVT_CMD(EVT_OP_CASE_OR_EQ, 3),
|
EVT_CMD(EVT_OP_CASE_OR_EQ, 3),
|
||||||
EVT_CMD(EVT_OP_END_CASE_GROUP),
|
EVT_CMD(EVT_OP_END_CASE_GROUP),
|
||||||
EVT_CMD(EVT_OP_CASE_DEFAULT),
|
EVT_CMD(EVT_OP_CASE_DEFAULT),
|
||||||
EVT_CMD(EVT_OP_CALL, SetMusicTrack, 0, 21, 0, 8),
|
EVT_CMD(EVT_OP_CALL, EVT_PTR(SetMusicTrack), 0, 21, 0, 8),
|
||||||
EVT_CMD(EVT_OP_END_CASE_GROUP),
|
EVT_CMD(EVT_OP_END_CASE_GROUP),
|
||||||
EVT_CMD(EVT_OP_END_SWITCH),
|
EVT_CMD(EVT_OP_END_SWITCH),
|
||||||
EVT_CMD(EVT_OP_RETURN),
|
EVT_CMD(EVT_OP_RETURN),
|
||||||
EVT_CMD(EVT_OP_END)
|
EVT_CMD(EVT_OP_END)
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
EvtSource N(80243B70) = {
|
EvtSource N(80243B70) = {
|
||||||
EVT_CALL(SetMusicTrack, 0, SONG_TAKING_REST, 0, 8)
|
EVT_CALL(SetMusicTrack, 0, SONG_TAKING_REST, 0, 8)
|
||||||
@ -1296,21 +1279,21 @@ s32 N(image1_pal)[] = {
|
|||||||
|
|
||||||
|
|
||||||
Vtx N(D_80247808_9709C8)[] = {
|
Vtx N(D_80247808_9709C8)[] = {
|
||||||
{ .v = { -24, 2, 0, 0, 0, 60, 0xFF, 0xFF, 0xFF, 0xFF } },
|
{ .v = {{ -24, 2, 0 }, 0, { 0, 60 }, { 0xFF, 0xFF, 0xFF, 0xFF }}},
|
||||||
{ .v = { -22, 0, 0, 0, 85, 0, 0xFF, 0xFF, 0xFF, 0xFF } },
|
{ .v = {{ -22, 0, 0 }, 0, { 85, 0 }, { 0xFF, 0xFF, 0xFF, 0xFF }}},
|
||||||
{ .v = { 22, 0, 0, 0, 1963, 0, 0xFF, 0xFF, 0xFF, 0xFF } },
|
{ .v = {{ 22, 0, 0 }, 0, { 1963, 0 }, { 0xFF, 0xFF, 0xFF, 0xFF }}},
|
||||||
{ .v = { 24, 2, 0, 0, 2048, 60, 0xFF, 0xFF, 0xFF, 0xFF } },
|
{ .v = {{ 24, 2, 0 }, 0, { 2048, 60 }, { 0xFF, 0xFF, 0xFF, 0xFF }}},
|
||||||
{ .v = { 24, 66, 0, 0, 2048, 1988, 0xFF, 0xFF, 0xFF, 0xFF } },
|
{ .v = {{ 24, 66, 0 }, 0, { 2048, 1988 }, { 0xFF, 0xFF, 0xFF, 0xFF }}},
|
||||||
{ .v = { 22, 68, 0, 0, 1963, 2048, 0xFF, 0xFF, 0xFF, 0xFF } },
|
{ .v = {{ 22, 68, 0 }, 0, { 1963, 2048 }, { 0xFF, 0xFF, 0xFF, 0xFF }}},
|
||||||
{ .v = { -22, 68, 0, 0, 85, 2048, 0xFF, 0xFF, 0xFF, 0xFF } },
|
{ .v = {{ -22, 68, 0 }, 0, { 85, 2048 }, { 0xFF, 0xFF, 0xFF, 0xFF }}},
|
||||||
{ .v = { -24, 66, 0, 0, 0, 1988, 0xFF, 0xFF, 0xFF, 0xFF } },
|
{ .v = {{ -24, 66, 0 }, 0, { 0, 1988 }, { 0xFF, 0xFF, 0xFF, 0xFF }}},
|
||||||
};
|
};
|
||||||
|
|
||||||
Vtx N(D_80247888_970A48)[] = {
|
Vtx N(D_80247888_970A48)[] = {
|
||||||
{ .v = { -30, 68, -2, 0, 0, -160, 0x00, 0x00, 0x00, 0x00 } },
|
{ .v = {{ -30, 68, -2 }, 0, { 0, -160 }, { 0x00, 0x00, 0x00, 0x00 }}},
|
||||||
{ .v = { 30, 68, -2, 0, 1920, -160, 0x00, 0x00, 0x00, 0x00 } },
|
{ .v = {{ 30, 68, -2 }, 0, { 1920, -160 }, { 0x00, 0x00, 0x00, 0x00 }}},
|
||||||
{ .v = { -30, 0, -2, 0, 0, 2016, 0x00, 0x00, 0x00, 0x00 } },
|
{ .v = {{ -30, 0, -2 }, 0, { 0, 2016 }, { 0x00, 0x00, 0x00, 0x00 }}},
|
||||||
{ .v = { 30, 0, -2, 0, 1920, 2016, 0x00, 0x00, 0x00, 0x00 } },
|
{ .v = {{ 30, 0, -2 }, 0, { 1920, 2016 }, { 0x00, 0x00, 0x00, 0x00 }}},
|
||||||
};
|
};
|
||||||
|
|
||||||
Gfx N(D_802478C8_970A88)[] = {
|
Gfx N(D_802478C8_970A88)[] = {
|
||||||
@ -1690,284 +1673,138 @@ EvtSource N(80248A50) = {
|
|||||||
EVT_END
|
EVT_END
|
||||||
};
|
};
|
||||||
|
|
||||||
Gfx N(D_8024A3B8_973578)[];
|
extern Gfx N(D_8024A3B8_973578)[];
|
||||||
s32 N(D_80248DD8_971F98)[];
|
extern Vtx vtx_971F98[];
|
||||||
|
|
||||||
s32 N(D_80248AA0_971C60)[] = {
|
StaticAnimatorNode N(D_80248AA0_971C60) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x02EE0000, N(D_80248DD8_971F98), 0x00000000,
|
.vertexStartOffset = 0x02EE,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248ACC_971C8C)[] = {
|
StaticAnimatorNode N(D_80248ACC_971C8C) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248AA0_971C60), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x02BC0000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248AA0_971C60),
|
||||||
|
.vertexStartOffset = 0x02BC,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248AF8_971CB8)[] = {
|
StaticAnimatorNode N(D_80248AF8_971CB8) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248ACC_971C8C), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x028A0000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248ACC_971C8C),
|
||||||
|
.vertexStartOffset = 0x028A,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248B24_971CE4)[] = {
|
StaticAnimatorNode N(D_80248B24_971CE4) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248AF8_971CB8), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x02580000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248AF8_971CB8),
|
||||||
|
.vertexStartOffset = 0x0258,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248B50_971D10)[] = {
|
StaticAnimatorNode N(D_80248B50_971D10) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248B24_971CE4), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x02260000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248B24_971CE4),
|
||||||
|
.vertexStartOffset = 0x0226,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248B7C_971D3C)[] = {
|
StaticAnimatorNode N(D_80248B7C_971D3C) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248B50_971D10), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x01F40000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248B50_971D10),
|
||||||
|
.vertexStartOffset = 0x01F4,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248BA8_971D68)[] = {
|
StaticAnimatorNode N(D_80248BA8_971D68) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248B7C_971D3C), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x01C20000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248B7C_971D3C),
|
||||||
|
.vertexStartOffset = 0x01C2,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248BD4_971D94)[] = {
|
StaticAnimatorNode N(D_80248BD4_971D94) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248BA8_971D68), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x01900000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248BA8_971D68),
|
||||||
|
.vertexStartOffset = 0x0190,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248C00_971DC0)[] = {
|
StaticAnimatorNode N(D_80248C00_971DC0) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248BD4_971D94), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x015E0000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248BD4_971D94),
|
||||||
|
.vertexStartOffset = 0x015E,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248C2C_971DEC)[] = {
|
StaticAnimatorNode N(D_80248C2C_971DEC) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248C00_971DC0), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x012C0000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248C00_971DC0),
|
||||||
|
.vertexStartOffset = 0x012C,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248C58_971E18)[] = {
|
StaticAnimatorNode N(D_80248C58_971E18) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248C2C_971DEC), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x00FA0000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248C2C_971DEC),
|
||||||
|
.vertexStartOffset = 0x00FA,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248C84_971E44)[] = {
|
StaticAnimatorNode N(D_80248C84_971E44) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248C58_971E18), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x00C80000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248C58_971E18),
|
||||||
|
.vertexStartOffset = 0x00C8,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248CB0_971E70)[] = {
|
StaticAnimatorNode N(D_80248CB0_971E70) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248C84_971E44), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x00960000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248C84_971E44),
|
||||||
|
.vertexStartOffset = 0x0096,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248CDC_971E9C)[] = {
|
StaticAnimatorNode N(D_80248CDC_971E9C) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248CB0_971E70), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x00640000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248CB0_971E70),
|
||||||
|
.vertexStartOffset = 0x0064,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248D08_971EC8)[] = {
|
StaticAnimatorNode N(D_80248D08_971EC8) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248CDC_971E9C), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x00320000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248CDC_971E9C),
|
||||||
|
.vertexStartOffset = 0x0032,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248D34_971EF4)[] = {
|
StaticAnimatorNode N(D_80248D34_971EF4) = {
|
||||||
N(D_8024A3B8_973578), 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, N(D_80248D08_971EC8), 0x00000000,
|
.displayList = N(D_8024A3B8_973578),
|
||||||
0x00000000, N(D_80248DD8_971F98), 0x00000000,
|
.sibling = &N(D_80248D08_971EC8),
|
||||||
|
.vertexStartOffset = 0,
|
||||||
|
.vtxList = vtx_971F98,
|
||||||
};
|
};
|
||||||
|
|
||||||
s32 N(D_80248D60_971F20)[] = {
|
StaticAnimatorNode N(D_80248D60_971F20) = {
|
||||||
0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
.child = &N(D_80248D34_971EF4),
|
||||||
0x00000000, 0x00000000, 0x00000000, N(D_80248D34_971EF4),
|
.vertexStartOffset = -1,
|
||||||
0xFFFF0000, 0x00000000, 0x00000000, N(D_80248D60_971F20),
|
|
||||||
N(D_80248D34_971EF4), N(D_80248D08_971EC8), N(D_80248CDC_971E9C), N(D_80248CB0_971E70),
|
|
||||||
N(D_80248C84_971E44), N(D_80248C58_971E18), N(D_80248C2C_971DEC), N(D_80248C00_971DC0),
|
|
||||||
N(D_80248BD4_971D94), N(D_80248BA8_971D68), N(D_80248B7C_971D3C), N(D_80248B50_971D10),
|
|
||||||
N(D_80248B24_971CE4), N(D_80248AF8_971CB8), N(D_80248ACC_971C8C), N(D_80248AA0_971C60),
|
|
||||||
0x00000000, 0x00000000,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Vertexes?
|
StaticAnimatorNode* N(D_80248D8C_971F4C)[] = {
|
||||||
s32 N(D_80248DD8_971F98)[] = {
|
&N(D_80248D60_971F20), &N(D_80248D34_971EF4), &N(D_80248D08_971EC8), &N(D_80248CDC_971E9C),
|
||||||
0x00000000, 0x00000000, 0x04000000, 0xDB1396FF, 0x00000000, 0x00000000, 0x04120038, 0xB615A5FF,
|
&N(D_80248CB0_971E70), &N(D_80248C84_971E44), &N(D_80248C58_971E18), &N(D_80248C2C_971DEC),
|
||||||
0x00000000, 0x00000000, 0x04000038, 0xD05CC5FF, 0x00000000, 0x00000000, 0x03ED0000, 0xF94FB2FF,
|
&N(D_80248C00_971DC0), &N(D_80248BD4_971D94), &N(D_80248BA8_971D68), &N(D_80248B7C_971D3C),
|
||||||
0x00000000, 0x00000000, 0x04000071, 0xBB15A1FF, 0x00000000, 0x00000000, 0x03ED0071, 0xD75CC0FF,
|
&N(D_80248B50_971D10), &N(D_80248B24_971CE4), &N(D_80248AF8_971CB8), &N(D_80248ACC_971C8C),
|
||||||
0x00000000, 0x00000000, 0x041200AA, 0xB615A5FF, 0x00000000, 0x00000000, 0x040000AA, 0xD05CC5FF,
|
&N(D_80248AA0_971C60), 0x00000000, 0x00000000,
|
||||||
0x00000000, 0x00000000, 0x040000E3, 0xAE15ACFF, 0x00000000, 0x00000000, 0x03ED00E3, 0xC65BCFFF,
|
|
||||||
0x00000000, 0x00000000, 0x0412011C, 0xB615A5FF, 0x00000000, 0x00000000, 0x0400011C, 0xD05CC5FF,
|
|
||||||
0x00000000, 0x00000000, 0x04000155, 0xBF159FFF, 0x00000000, 0x00000000, 0x03ED0155, 0xDC5BBDFF,
|
|
||||||
0x00000000, 0x00000000, 0x0412018E, 0xB615A5FF, 0x00000000, 0x00000000, 0x0400018E, 0xD05CC5FF,
|
|
||||||
0x00000000, 0x00000000, 0x040001C7, 0xA515BAFF, 0x00000000, 0x00000000, 0x03ED01C7, 0xBB56DEFF,
|
|
||||||
0x00000000, 0x00000000, 0x0400041C, 0x8E20F5FF, 0x00000000, 0x00000000, 0x03ED0400, 0xAC55F8FF,
|
|
||||||
0x00000000, 0x00000000, 0x001201C7, 0x14564BFF, 0x00000000, 0x00000000, 0x001203FF, 0xF85554FF,
|
|
||||||
0x00000000, 0x00000000, 0x0000041C, 0xF52072FF, 0x00000000, 0x00000000, 0x000001C7, 0x321567FF,
|
|
||||||
0x00000000, 0x00000000, 0x00000038, 0x305C3BFF, 0x00000000, 0x00000000, 0x00120000, 0x4B4F16FF,
|
|
||||||
0x00000000, 0x00000000, 0x00120071, 0x365C35FF, 0x00000000, 0x00000000, 0x000000AA, 0x305C3BFF,
|
|
||||||
0x00000000, 0x00000000, 0x001200E3, 0x245B43FF, 0x00000000, 0x00000000, 0x0000011C, 0x305C3BFF,
|
|
||||||
0x00000000, 0x00000000, 0x00120155, 0x3A5B31FF, 0x00000000, 0x00000000, 0x0000018E, 0x305C3BFF,
|
|
||||||
0x00000000, 0x00000000, 0x00120000, 0x4B4F16FF, 0x00000000, 0x00000000, 0x00000038, 0x305C3BFF,
|
|
||||||
0x00000000, 0x00000000, 0xFFEE0038, 0x4A155BFF, 0x00000000, 0x00000000, 0x00000000, 0x601339FF,
|
|
||||||
0x00000000, 0x00000000, 0x00120071, 0x365C35FF, 0x00000000, 0x00000000, 0x00000071, 0x4F1557FF,
|
|
||||||
0x00000000, 0x00000000, 0x000000AA, 0x305C3BFF, 0x00000000, 0x00000000, 0xFFEE00AA, 0x4A155BFF,
|
|
||||||
0x00000000, 0x00000000, 0x001200E3, 0x245B43FF, 0x00000000, 0x00000000, 0x000000E3, 0x411561FF,
|
|
||||||
0x00000000, 0x00000000, 0x0000011C, 0x305C3BFF, 0x00000000, 0x00000000, 0xFFEE011C, 0x4A155BFF,
|
|
||||||
0x00000000, 0x00000000, 0x00120155, 0x3A5B31FF, 0x00000000, 0x00000000, 0x00000155, 0x521554FF,
|
|
||||||
0x00000000, 0x00000000, 0x0000018E, 0x305C3BFF, 0x00000000, 0x00000000, 0xFFEE018E, 0x4A155BFF,
|
|
||||||
0x00000000, 0x00000000, 0x001201C7, 0x14564BFF, 0x00000000, 0x00000000, 0x000001C7, 0x321567FF,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// vertexes but vtxdis ignores the flag entirely, and it's set here
|
#include "world/area_dro/dro_02/vtx/971F98.vtx.inc.c"
|
||||||
s32 N(D_802490F8_9722B8)[] = {
|
|
||||||
0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F,
|
|
||||||
0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C,
|
|
||||||
0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8,
|
|
||||||
0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84,
|
|
||||||
0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE,
|
|
||||||
0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B,
|
|
||||||
0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E,
|
|
||||||
0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8,
|
|
||||||
0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053,
|
|
||||||
0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75,
|
|
||||||
0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C,
|
|
||||||
0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E,
|
|
||||||
0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B,
|
|
||||||
0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8,
|
|
||||||
0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F,
|
|
||||||
0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4,
|
|
||||||
0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE,
|
|
||||||
0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038,
|
|
||||||
0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D,
|
|
||||||
0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C,
|
|
||||||
0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C,
|
|
||||||
0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8,
|
|
||||||
0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C,
|
|
||||||
0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5,
|
|
||||||
0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA,
|
|
||||||
0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8,
|
|
||||||
0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027,
|
|
||||||
0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6,
|
|
||||||
0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C,
|
|
||||||
0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C,
|
|
||||||
0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7,
|
|
||||||
0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE,
|
|
||||||
0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE,
|
|
||||||
0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E,
|
|
||||||
0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE,
|
|
||||||
0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005,
|
|
||||||
0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14,
|
|
||||||
0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8,
|
|
||||||
0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51,
|
|
||||||
0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4,
|
|
||||||
0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C,
|
|
||||||
0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D,
|
|
||||||
0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43,
|
|
||||||
0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C,
|
|
||||||
0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC,
|
|
||||||
0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23,
|
|
||||||
0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C,
|
|
||||||
0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47,
|
|
||||||
0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED,
|
|
||||||
0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C,
|
|
||||||
0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD,
|
|
||||||
0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79,
|
|
||||||
0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE,
|
|
||||||
0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2,
|
|
||||||
0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49,
|
|
||||||
0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE,
|
|
||||||
0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B,
|
|
||||||
0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12,
|
|
||||||
0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C,
|
|
||||||
0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B,
|
|
||||||
0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE,
|
|
||||||
0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE,
|
|
||||||
0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6,
|
|
||||||
0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61,
|
|
||||||
0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8,
|
|
||||||
0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21,
|
|
||||||
0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22,
|
|
||||||
0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C,
|
|
||||||
0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3,
|
|
||||||
0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6,
|
|
||||||
0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE,
|
|
||||||
0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD,
|
|
||||||
0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F,
|
|
||||||
0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE,
|
|
||||||
0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D,
|
|
||||||
0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F,
|
|
||||||
0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C,
|
|
||||||
0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8,
|
|
||||||
0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84,
|
|
||||||
0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE,
|
|
||||||
0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B,
|
|
||||||
0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E,
|
|
||||||
0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8,
|
|
||||||
0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053,
|
|
||||||
0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75,
|
|
||||||
0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C,
|
|
||||||
0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E,
|
|
||||||
0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B,
|
|
||||||
0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8,
|
|
||||||
0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F,
|
|
||||||
0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4,
|
|
||||||
0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE,
|
|
||||||
0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038,
|
|
||||||
0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D,
|
|
||||||
0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C,
|
|
||||||
0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C,
|
|
||||||
0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8,
|
|
||||||
0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C,
|
|
||||||
0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5,
|
|
||||||
0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA,
|
|
||||||
0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8,
|
|
||||||
0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027,
|
|
||||||
0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6,
|
|
||||||
0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C,
|
|
||||||
0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C,
|
|
||||||
0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7,
|
|
||||||
0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE,
|
|
||||||
0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE,
|
|
||||||
0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E,
|
|
||||||
0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE,
|
|
||||||
0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005,
|
|
||||||
0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14,
|
|
||||||
0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8,
|
|
||||||
0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51,
|
|
||||||
0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4,
|
|
||||||
0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C,
|
|
||||||
0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D,
|
|
||||||
0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43,
|
|
||||||
0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C,
|
|
||||||
0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC,
|
|
||||||
0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23,
|
|
||||||
0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C,
|
|
||||||
0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47,
|
|
||||||
0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED,
|
|
||||||
0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C,
|
|
||||||
0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD,
|
|
||||||
0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79,
|
|
||||||
0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE,
|
|
||||||
0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2,
|
|
||||||
0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49,
|
|
||||||
0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE,
|
|
||||||
0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21, 0xFE5300C8, 0xFE29FE75, 0x00BEFE1B,
|
|
||||||
0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22, 0x00C8FE51, 0xFE0C008C, 0xFE64FE12,
|
|
||||||
0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C, 0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C,
|
|
||||||
0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3, 0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B,
|
|
||||||
0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6, 0x008C005D, 0xFFAA00C8, 0xFFCDFFBE,
|
|
||||||
0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE, 0xFFFFFF43, 0x00C8001F, 0xFF1D00BE,
|
|
||||||
0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD, 0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6,
|
|
||||||
0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F, 0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61,
|
|
||||||
0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE, 0x0030FF23, 0x008C0038, 0xFF0E00C8,
|
|
||||||
0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D, 0xFE6F008C, 0xFE14FE4D, 0x008CFE21,
|
|
||||||
0xFE5300C8, 0xFE29FE75, 0x00BEFE1B, 0xFE39008C, 0xFE3FFE3F, 0x00BEFE47, 0xFE1C008C, 0xFE49FE22,
|
|
||||||
0x00C8FE51, 0xFE0C008C, 0xFE64FE12, 0x00BEFE6C, 0xFDE6008C, 0xFE75FDED, 0x00C8FE7C, 0xFDCE008C,
|
|
||||||
0xFE96FDD4, 0x00BEFE9E, 0xFDB1008C, 0xFEA0FDB7, 0x00C8FEA8, 0xFDA1008C, 0xFEBBFDA8, 0x00BEFEC3,
|
|
||||||
0xFD2D008C, 0xFF1AFD3B, 0x00BEFF1B, 0xFEF000BE, 0x0055FE84, 0x00BE00AD, 0xFE83008C, 0x00BBFEF6,
|
|
||||||
0x008C005D, 0xFFAA00C8, 0xFFCDFFBE, 0x00BEFFAE, 0xFF8800BE, 0xFFDAFF79, 0x00C8FFF5, 0xFF5B00BE,
|
|
||||||
0xFFFFFF43, 0x00C8001F, 0xFF1D00BE, 0x0030FF0E, 0x00C8004B, 0xFFBE00BE, 0xFFAEFFAA, 0x00C8FFCD,
|
|
||||||
0xFFB0008C, 0xFFD4FFC4, 0x008CFFB6, 0xFF8800BE, 0xFFDAFF8E, 0x008CFFE2, 0xFF7900C8, 0xFFF5FF7F,
|
|
||||||
0x008CFFFC, 0xFF5B00BE, 0xFFFFFF61, 0x008C0005, 0xFF4300C8, 0x001FFF49, 0x008C0027, 0xFF1D00BE,
|
|
||||||
0x0030FF23, 0x008C0038, 0xFF0E00C8, 0x004BFF14, 0x008C0053, 0xFEF000BE, 0x0055FEF6, 0x008C005D,
|
|
||||||
};
|
|
||||||
|
|
||||||
s32 N(image2)[];
|
#include "world/area_dro/dro_02/vtx/9722B8.vtx.inc.c"
|
||||||
|
|
||||||
|
extern s32 N(image2)[];
|
||||||
|
|
||||||
Gfx N(D_8024A3B8_973578)[] = {
|
Gfx N(D_8024A3B8_973578)[] = {
|
||||||
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
|
||||||
@ -1975,7 +1812,7 @@ Gfx N(D_8024A3B8_973578)[] = {
|
|||||||
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
|
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
|
||||||
gsDPLoadTextureBlock(N(image2), G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_CLAMP, 4, 5, G_TX_NOLOD, G_TX_NOLOD),
|
gsDPLoadTextureBlock(N(image2), G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_CLAMP, 4, 5, G_TX_NOLOD, G_TX_NOLOD),
|
||||||
gsSPSetGeometryMode(G_LIGHTING),
|
gsSPSetGeometryMode(G_LIGHTING),
|
||||||
gsSPVertex(N(D_802490F8_9722B8), 32, 0),
|
gsSPVertex(vtx_9722B8, 32, 0),
|
||||||
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
|
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
|
||||||
gsSP2Triangles(1, 4, 5, 0, 1, 5, 2, 0),
|
gsSP2Triangles(1, 4, 5, 0, 1, 5, 2, 0),
|
||||||
gsSP2Triangles(4, 6, 7, 0, 4, 7, 5, 0),
|
gsSP2Triangles(4, 6, 7, 0, 4, 7, 5, 0),
|
||||||
@ -1996,7 +1833,7 @@ Gfx N(D_8024A3B8_973578)[] = {
|
|||||||
gsSP2Triangles(15, 17, 20, 0, 15, 20, 31, 0),
|
gsSP2Triangles(15, 17, 20, 0, 15, 20, 31, 0),
|
||||||
gsSP2Triangles(17, 19, 21, 0, 17, 21, 20, 0),
|
gsSP2Triangles(17, 19, 21, 0, 17, 21, 20, 0),
|
||||||
gsSP2Triangles(19, 18, 22, 0, 19, 22, 21, 0),
|
gsSP2Triangles(19, 18, 22, 0, 19, 22, 21, 0),
|
||||||
gsSPVertex(N(D_802490F8_9722B8), 18, 0),
|
gsSPVertex(vtx_9722B8, 18, 0),
|
||||||
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
|
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
|
||||||
gsSP2Triangles(1, 4, 5, 0, 1, 5, 2, 0),
|
gsSP2Triangles(1, 4, 5, 0, 1, 5, 2, 0),
|
||||||
gsSP2Triangles(4, 6, 7, 0, 4, 7, 5, 0),
|
gsSP2Triangles(4, 6, 7, 0, 4, 7, 5, 0),
|
||||||
@ -3231,11 +3068,11 @@ ApiStatus N(func_80240300_9694C0)(Evt* script, s32 isInitialCall) {
|
|||||||
if (N(D_80244DE0_96DFA0) == NULL) {
|
if (N(D_80244DE0_96DFA0) == NULL) {
|
||||||
N(D_80244DE0_96DFA0) = heap_malloc(16 * sizeof(s32));
|
N(D_80244DE0_96DFA0) = heap_malloc(16 * sizeof(s32));
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
N(D_80244DE0_96DFA0)[i] = script->varTable[i];
|
N(D_80244DE0_96DFA0)[i] = (s32*) script->varTable[i];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
script->varTable[i] = N(D_80244DE0_96DFA0)[i];
|
script->varTable[i] = (s32) N(D_80244DE0_96DFA0)[i];
|
||||||
}
|
}
|
||||||
heap_free(N(D_80244DE0_96DFA0));
|
heap_free(N(D_80244DE0_96DFA0));
|
||||||
N(D_80244DE0_96DFA0) = NULL;
|
N(D_80244DE0_96DFA0) = NULL;
|
||||||
@ -3272,14 +3109,14 @@ ApiStatus N(func_80240A70_969C30)(Evt* script, s32 isInitialCall) {
|
|||||||
EffectInstanceDataThing* effectPtr;
|
EffectInstanceDataThing* effectPtr;
|
||||||
|
|
||||||
if (isInitialCall) {
|
if (isInitialCall) {
|
||||||
N(D_8024EFC0) = playFX_4E(0, evt_get_variable(script, EVT_ARRAY(1)), evt_get_variable(script, EVT_ARRAY(2)),
|
N(D_8024EFC0) = playFX_4E(0, (f32) evt_get_variable(script, EVT_ARRAY(1)), (f32) evt_get_variable(script, EVT_ARRAY(2)),
|
||||||
evt_get_variable(script, EVT_ARRAY(3)));
|
(f32) evt_get_variable(script, EVT_ARRAY(3)));
|
||||||
N(D_8024EFC4) = playFX_54(0, evt_get_variable(script, EVT_ARRAY(1)), evt_get_variable(script, EVT_ARRAY(2)),
|
N(D_8024EFC4) = playFX_54(0, (f32) evt_get_variable(script, EVT_ARRAY(1)), (f32) evt_get_variable(script, EVT_ARRAY(2)),
|
||||||
evt_get_variable(script, EVT_ARRAY(3)));
|
(f32) evt_get_variable(script, EVT_ARRAY(3)));
|
||||||
N(D_8024EFC8) = playFX_80(0, evt_get_variable(script, EVT_ARRAY(1)), evt_get_variable(script, EVT_ARRAY(2)),
|
N(D_8024EFC8) = playFX_80(0, (f32) evt_get_variable(script, EVT_ARRAY(1)), (f32) evt_get_variable(script, EVT_ARRAY(2)),
|
||||||
evt_get_variable(script, EVT_ARRAY(3)), 1.0f, 0);
|
(f32) evt_get_variable(script, EVT_ARRAY(3)), 1.0f, 0);
|
||||||
|
|
||||||
effectPtr = N(D_8024EFC0)->freeDelay; // TODO this is wrong
|
effectPtr = (EffectInstanceDataThing*) N(D_8024EFC0)->data; // TODO this is wrong
|
||||||
effectPtr->unk_18 = 0;
|
effectPtr->unk_18 = 0;
|
||||||
effectPtr->unk_20 = 0;
|
effectPtr->unk_20 = 0;
|
||||||
effectPtr->unk_24.s = 0;
|
effectPtr->unk_24.s = 0;
|
||||||
@ -3287,7 +3124,7 @@ ApiStatus N(func_80240A70_969C30)(Evt* script, s32 isInitialCall) {
|
|||||||
effectPtr->unk_1C = 0;
|
effectPtr->unk_1C = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
effectPtr = N(D_8024EFC0)->freeDelay; // TODO this is wrong
|
effectPtr = (EffectInstanceDataThing*) N(D_8024EFC0)->data; // TODO this is wrong
|
||||||
|
|
||||||
effectPtr->unk_20 += 10;
|
effectPtr->unk_20 += 10;
|
||||||
effectPtr->unk_28 += 10;
|
effectPtr->unk_28 += 10;
|
||||||
@ -3310,7 +3147,7 @@ ApiStatus N(func_80240C88_969E48)(Evt* script, s32 isInitialCall) {
|
|||||||
N(D_8024EFC8)->flags |= 0x10;
|
N(D_8024EFC8)->flags |= 0x10;
|
||||||
}
|
}
|
||||||
|
|
||||||
effectPtr = N(D_8024EFC0)->freeDelay;
|
effectPtr = (EffectInstanceDataThing*) N(D_8024EFC0)->data;
|
||||||
effectPtr->unk_18 -= 10;
|
effectPtr->unk_18 -= 10;
|
||||||
effectPtr->unk_20 -= 10;
|
effectPtr->unk_20 -= 10;
|
||||||
effectPtr->unk_24.s -= 10;
|
effectPtr->unk_24.s -= 10;
|
||||||
@ -3334,7 +3171,7 @@ ApiStatus N(func_80240D3C_969EFC)(Evt* script, s32 isInitialCall) {
|
|||||||
|
|
||||||
ApiStatus N(func_80240D70_969F30)(Evt* script, s32 isInitialCall) {
|
ApiStatus N(func_80240D70_969F30)(Evt* script, s32 isInitialCall) {
|
||||||
s32 var = evt_get_variable(script, *script->ptrReadPos);
|
s32 var = evt_get_variable(script, *script->ptrReadPos);
|
||||||
EffectInstanceDataThing* effectPtr = N(D_8024EFC0)->freeDelay;
|
EffectInstanceDataThing* effectPtr = (EffectInstanceDataThing*) N(D_8024EFC0)->data;
|
||||||
|
|
||||||
switch (var) {
|
switch (var) {
|
||||||
case 0:
|
case 0:
|
||||||
@ -3520,26 +3357,26 @@ ApiStatus N(func_80241874_96AA34)(Evt* script, s32 isInitialCall) {
|
|||||||
return ApiStatus_DONE2;
|
return ApiStatus_DONE2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
u32 N(func_8024190C_96AACC)(D_8024F010_Struct*, Matrix4f);
|
||||||
INCLUDE_ASM(u32, "world/area_dro/dro_02/9694C0", dro_02_func_8024190C_96AACC, D_8024F010_Struct* ptr, Matrix4f matrix);
|
INCLUDE_ASM(u32, "world/area_dro/dro_02/9694C0", dro_02_func_8024190C_96AACC, D_8024F010_Struct* ptr, Matrix4f matrix);
|
||||||
|
|
||||||
void N(func_80242214_96B3D4)(s32 arg0, f32* arg1, f32* arg2, f32* arg3, f32* arg4) {
|
void N(func_80242214_96B3D4)(s32 arg0, f32* arg1, f32* arg2, f32* arg3, f32* arg4) {
|
||||||
s32* CC_ptr = &N(D_8024EFCC);
|
|
||||||
D_8024F010_Struct* F010_ptr;
|
D_8024F010_Struct* F010_ptr;
|
||||||
Matrix4f sp20;
|
Matrix4f sp20;
|
||||||
Matrix4f sp60;
|
Matrix4f sp60;
|
||||||
Matrix4f spA0;
|
Matrix4f spA0;
|
||||||
|
|
||||||
guPositionF(&spA0, 0.0f, -gCameras[gCurrentCameraID].currentYaw, 0.0f, SPRITE_WORLD_SCALE,
|
guPositionF(spA0, 0.0f, -gCameras[gCurrentCameraID].currentYaw, 0.0f, SPRITE_WORLD_SCALE,
|
||||||
evt_get_variable(*CC_ptr, EVT_ARRAY(4)), evt_get_variable(*CC_ptr, EVT_ARRAY(5)),
|
evt_get_variable(N(D_8024EFCC), EVT_ARRAY(4)), evt_get_variable(N(D_8024EFCC), EVT_ARRAY(5)),
|
||||||
evt_get_variable(*CC_ptr, EVT_ARRAY(6)));
|
evt_get_variable(N(D_8024EFCC), EVT_ARRAY(6)));
|
||||||
|
|
||||||
F010_ptr = ({ D_8024F010_Struct* a = &N(D_8024F010); &a[arg0]; });
|
F010_ptr = &N(D_8024F010)[arg0];
|
||||||
guTranslateF(&sp60, F010_ptr->unk_04, F010_ptr->unk_08, F010_ptr->unk_0C);
|
guTranslateF(sp60, F010_ptr->unk_04, F010_ptr->unk_08, F010_ptr->unk_0C);
|
||||||
guMtxCatF(&sp60, &spA0, &sp20);
|
guMtxCatF(sp60, spA0, sp20);
|
||||||
guRotateF(&sp60, F010_ptr->unk_10, 0.0f, 1.0f, 0.0f);
|
guRotateF(sp60, F010_ptr->unk_10, 0.0f, 1.0f, 0.0f);
|
||||||
guMtxCatF(&sp60, &sp20, &sp20);
|
guMtxCatF(sp60, sp20, sp20);
|
||||||
guTranslateF(&sp60, 0.0f, 0.0f, 1.0f);
|
guTranslateF(sp60, 0.0f, 0.0f, 1.0f);
|
||||||
guMtxCatF(&sp60, &sp20, &sp20);
|
guMtxCatF(sp60, sp20, sp20);
|
||||||
*arg1 = sp20[3][0];
|
*arg1 = sp20[3][0];
|
||||||
*arg2 = sp20[3][1];
|
*arg2 = sp20[3][1];
|
||||||
*arg3 = sp20[3][2];
|
*arg3 = sp20[3][2];
|
||||||
@ -3553,13 +3390,13 @@ void N(func_80242EAC_96C06C)(Evt* script, s32 isInitialCall) {
|
|||||||
Matrix4f sp20;
|
Matrix4f sp20;
|
||||||
u32 temp_s1;
|
u32 temp_s1;
|
||||||
|
|
||||||
guPositionF(&sp20, 0.0f, -gCameras[gCurrentCameraID].currentYaw, 0.0f, SPRITE_WORLD_SCALE,
|
guPositionF(sp20, 0.0f, -gCameras[gCurrentCameraID].currentYaw, 0.0f, SPRITE_WORLD_SCALE,
|
||||||
evt_get_variable(N(D_8024EFCC), EVT_ARRAY(4)), evt_get_variable(N(D_8024EFCC), EVT_ARRAY(5)),
|
evt_get_variable(N(D_8024EFCC), EVT_ARRAY(4)), evt_get_variable(N(D_8024EFCC), EVT_ARRAY(5)),
|
||||||
evt_get_variable(N(D_8024EFCC), EVT_ARRAY(6)));
|
evt_get_variable(N(D_8024EFCC), EVT_ARRAY(6)));
|
||||||
|
|
||||||
temp_s1 = N(func_8024190C_96AACC)(&N(D_8024F010)[0], &sp20);
|
temp_s1 = N(func_8024190C_96AACC)(&N(D_8024F010)[0], sp20);
|
||||||
N(func_8024190C_96AACC)(&N(D_8024F010)[1], &sp20);
|
N(func_8024190C_96AACC)(&N(D_8024F010)[1], sp20);
|
||||||
N(func_8024190C_96AACC)(&N(D_8024F010)[2], &sp20);
|
N(func_8024190C_96AACC)(&N(D_8024F010)[2], sp20);
|
||||||
if ((N(D_8024F010)[0].unk_00 == 2) && ((temp_s1 - 1) < 2)) {
|
if ((N(D_8024F010)[0].unk_00 == 2) && ((temp_s1 - 1) < 2)) {
|
||||||
evt_set_variable(N(D_8024EFCC), EVT_ARRAY(9), 3);
|
evt_set_variable(N(D_8024EFCC), EVT_ARRAY(9), 3);
|
||||||
}
|
}
|
||||||
@ -3608,7 +3445,7 @@ ApiStatus N(func_80243314_96C4D4)(Evt* script, s32 isInitialCall) {
|
|||||||
|
|
||||||
ApiStatus N(func_8024334C_96C50C)(Evt* script, s32 isInitialCall) {
|
ApiStatus N(func_8024334C_96C50C)(Evt* script, s32 isInitialCall) {
|
||||||
Bytecode* args = script->ptrReadPos;
|
Bytecode* args = script->ptrReadPos;
|
||||||
s32* ptr = evt_get_variable(script, *args);
|
s32* ptr = (s32*) evt_get_variable(script, *args);
|
||||||
s32 i;
|
s32 i;
|
||||||
|
|
||||||
if (ptr != NULL) {
|
if (ptr != NULL) {
|
||||||
@ -3627,7 +3464,7 @@ ApiStatus N(func_8024334C_96C50C)(Evt* script, s32 isInitialCall) {
|
|||||||
|
|
||||||
ApiStatus N(func_802433E8_96C5A8)(Evt* script, s32 isInitialCall) {
|
ApiStatus N(func_802433E8_96C5A8)(Evt* script, s32 isInitialCall) {
|
||||||
Bytecode* args = script->ptrReadPos;
|
Bytecode* args = script->ptrReadPos;
|
||||||
s32* ptr = evt_get_variable(script, *args);
|
s32* ptr = (s32*) evt_get_variable(script, *args);
|
||||||
s32 i;
|
s32 i;
|
||||||
|
|
||||||
if (ptr != NULL) {
|
if (ptr != NULL) {
|
||||||
|
@ -406,7 +406,7 @@ EvtSource N(802424F4) = {
|
|||||||
EVT_END
|
EVT_END
|
||||||
};
|
};
|
||||||
|
|
||||||
const char N(flo_25_name_hack)[];
|
extern const char N(flo_25_name_hack)[];
|
||||||
|
|
||||||
EvtSource N(tree1_Callback) = {
|
EvtSource N(tree1_Callback) = {
|
||||||
EVT_CALL(DisablePlayerInput, TRUE)
|
EVT_CALL(DisablePlayerInput, TRUE)
|
||||||
@ -518,11 +518,11 @@ ApiStatus N(func_8024061C_CAC80C)(Evt* script, s32 isInitialCall) {
|
|||||||
if (N(D_80241BB0_CADDA0) == NULL) {
|
if (N(D_80241BB0_CADDA0) == NULL) {
|
||||||
N(D_80241BB0_CADDA0) = heap_malloc(16 * sizeof(s32));
|
N(D_80241BB0_CADDA0) = heap_malloc(16 * sizeof(s32));
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
N(D_80241BB0_CADDA0)[i] = script->varTable[i];
|
N(D_80241BB0_CADDA0)[i] = (s32*) script->varTable[i];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
script->varTable[i] = N(D_80241BB0_CADDA0)[i];
|
script->varTable[i] = (s32) N(D_80241BB0_CADDA0)[i];
|
||||||
}
|
}
|
||||||
heap_free(N(D_80241BB0_CADDA0));
|
heap_free(N(D_80241BB0_CADDA0));
|
||||||
N(D_80241BB0_CADDA0) = NULL;
|
N(D_80241BB0_CADDA0) = NULL;
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
#include "flo_08.h"
|
#include "flo_08.h"
|
||||||
|
|
||||||
void playFX_82();
|
// It seems like playFX_82 was not properly defined for this file. Having a proper
|
||||||
|
// declaration makes it not match.
|
||||||
|
#ifdef AVOID_UB
|
||||||
|
void playFX_82(s32, f32, f32, f32, f32, s32);
|
||||||
|
#else
|
||||||
|
void playFX_82(s32, s32, s32, s32, s32, s32);
|
||||||
|
#endif
|
||||||
|
|
||||||
ApiStatus N(func_80240D40_CAFA80)(Evt* script, s32 isInitialCall) {
|
ApiStatus N(func_80240D40_CAFA80)(Evt* script, s32 isInitialCall) {
|
||||||
playFX_82(1, 0, 0, 0, 0, 0);
|
playFX_82(1, 0, 0, 0, 0, 0);
|
||||||
|
@ -360,9 +360,9 @@ NpcSettings N(npcSettings_80242FB4) = {
|
|||||||
.height = 30,
|
.height = 30,
|
||||||
.radius = 24,
|
.radius = 24,
|
||||||
.ai = &N(npcAI_80242EE0),
|
.ai = &N(npcAI_80242EE0),
|
||||||
.onHit = EnemyNpcHit,
|
.onHit = &EnemyNpcHit,
|
||||||
.aux = &N(80242F00),
|
.aux = &N(80242F00),
|
||||||
.onDefeat = EnemyNpcDefeat,
|
.onDefeat = &EnemyNpcDefeat,
|
||||||
.level = 100,
|
.level = 100,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -397,8 +397,8 @@ NpcSettings N(npcSettings_8024305C) = {
|
|||||||
.height = 30,
|
.height = 30,
|
||||||
.radius = 24,
|
.radius = 24,
|
||||||
.ai = &N(npcAI_8024303C),
|
.ai = &N(npcAI_8024303C),
|
||||||
.onHit = EnemyNpcHit,
|
.onHit = &EnemyNpcHit,
|
||||||
.onDefeat = EnemyNpcDefeat,
|
.onDefeat = &EnemyNpcDefeat,
|
||||||
.level = 19,
|
.level = 19,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -441,8 +441,8 @@ NpcSettings N(npcSettings_80243600) = {
|
|||||||
.height = 30,
|
.height = 30,
|
||||||
.radius = 24,
|
.radius = 24,
|
||||||
.ai = &N(npcAI_802435E0),
|
.ai = &N(npcAI_802435E0),
|
||||||
.onHit = EnemyNpcHit,
|
.onHit = &EnemyNpcHit,
|
||||||
.onDefeat = EnemyNpcDefeat,
|
.onDefeat = &EnemyNpcDefeat,
|
||||||
.level = 19,
|
.level = 19,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -480,8 +480,8 @@ NpcSettings N(npcSettings_802436E4) = {
|
|||||||
.height = 26,
|
.height = 26,
|
||||||
.radius = 24,
|
.radius = 24,
|
||||||
.ai = &N(npcAI_80243674),
|
.ai = &N(npcAI_80243674),
|
||||||
.onHit = EnemyNpcHit,
|
.onHit = &EnemyNpcHit,
|
||||||
.onDefeat = EnemyNpcDefeat,
|
.onDefeat = &EnemyNpcDefeat,
|
||||||
.level = 19,
|
.level = 19,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ MapConfig N(config) = {
|
|||||||
.entryList = &N(entryList),
|
.entryList = &N(entryList),
|
||||||
.entryCount = ENTRY_COUNT(N(entryList)),
|
.entryCount = ENTRY_COUNT(N(entryList)),
|
||||||
.background = &gBackgroundImage,
|
.background = &gBackgroundImage,
|
||||||
.tattle = N(func_80240000_CB9200),
|
.tattle = { .get = N(func_80240000_CB9200) },
|
||||||
};
|
};
|
||||||
|
|
||||||
EvtSource N(802414E0) = SCRIPT({
|
EvtSource N(802414E0) = SCRIPT({
|
||||||
@ -345,7 +345,7 @@ EvtSource N(802425BC) = SCRIPT({
|
|||||||
spawn N(802424DC);
|
spawn N(802424DC);
|
||||||
});
|
});
|
||||||
|
|
||||||
const char N(flo_24_name_hack)[];
|
extern const char N(flo_24_name_hack)[];
|
||||||
|
|
||||||
EvtSource N(802425E4) = SCRIPT({
|
EvtSource N(802425E4) = SCRIPT({
|
||||||
sleep 20;
|
sleep 20;
|
||||||
@ -811,11 +811,11 @@ ApiStatus N(func_80240080_CB9280)(Evt* script, s32 isInitialCall) {
|
|||||||
if (N(D_80241CB0_CBAEB0) == NULL) {
|
if (N(D_80241CB0_CBAEB0) == NULL) {
|
||||||
N(D_80241CB0_CBAEB0) = heap_malloc(16 * sizeof(s32));
|
N(D_80241CB0_CBAEB0) = heap_malloc(16 * sizeof(s32));
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
N(D_80241CB0_CBAEB0)[i] = script->varTable[i];
|
N(D_80241CB0_CBAEB0)[i] = (s32*) script->varTable[i];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
script->varTable[i] = N(D_80241CB0_CBAEB0)[i];
|
script->varTable[i] = (s32) N(D_80241CB0_CBAEB0)[i];
|
||||||
}
|
}
|
||||||
heap_free(N(D_80241CB0_CBAEB0));
|
heap_free(N(D_80241CB0_CBAEB0));
|
||||||
N(D_80241CB0_CBAEB0) = NULL;
|
N(D_80241CB0_CBAEB0) = NULL;
|
||||||
|
@ -449,8 +449,8 @@ static s32 N(pad_1AB8)[] = {
|
|||||||
NpcSettings N(npcSettings_80241AC0) = {
|
NpcSettings N(npcSettings_80241AC0) = {
|
||||||
.height = 32,
|
.height = 32,
|
||||||
.radius = 24,
|
.radius = 24,
|
||||||
.onHit = EnemyNpcHit,
|
.onHit = &EnemyNpcHit,
|
||||||
.onDefeat = EnemyNpcDefeat,
|
.onDefeat = &EnemyNpcDefeat,
|
||||||
.level = 20,
|
.level = 20,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1458,7 +1458,7 @@ ApiStatus N(func_80241DB8_CC55C8)(Evt* script, s32 isInitialCall) {
|
|||||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings =(NpcAISettings*) evt_get_variable(script, *args);
|
||||||
f32 temp_f4;
|
f32 temp_f4;
|
||||||
f32 dist;
|
f32 dist;
|
||||||
|
|
||||||
|
@ -43,8 +43,8 @@ NpcSettings N(npcSettings_80244578) = {
|
|||||||
.height = 26,
|
.height = 26,
|
||||||
.radius = 24,
|
.radius = 24,
|
||||||
.ai = &N(npcAI_80244508),
|
.ai = &N(npcAI_80244508),
|
||||||
.onHit = EnemyNpcHit,
|
.onHit = &EnemyNpcHit,
|
||||||
.onDefeat = EnemyNpcDefeat,
|
.onDefeat = &EnemyNpcDefeat,
|
||||||
.level = 19,
|
.level = 19,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -357,7 +357,7 @@ ApiStatus N(func_80241E1C_CCD12C)(Evt* script, s32 isInitialCall) {
|
|||||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings =(NpcAISettings*) evt_get_variable(script, *args);
|
||||||
|
|
||||||
territory.unk_00 = 0;
|
territory.unk_00 = 0;
|
||||||
territory.shape = enemy->territory->wander.detectShape;
|
territory.shape = enemy->territory->wander.detectShape;
|
||||||
@ -441,7 +441,7 @@ ApiStatus N(func_80242288_CCD598)(Evt* script, s32 isInitialCall) {
|
|||||||
|
|
||||||
ApiStatus N(func_802422C0_CCD5D0)(Evt* script, s32 isInitialCall) {
|
ApiStatus N(func_802422C0_CCD5D0)(Evt* script, s32 isInitialCall) {
|
||||||
Bytecode* args = script->ptrReadPos;
|
Bytecode* args = script->ptrReadPos;
|
||||||
s32* ptr = evt_get_variable(script, *args);
|
s32* ptr = (s32*) evt_get_variable(script, *args);
|
||||||
s32 i;
|
s32 i;
|
||||||
|
|
||||||
if (ptr != NULL) {
|
if (ptr != NULL) {
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#include "flo_16.h"
|
#include "flo_16.h"
|
||||||
|
#include "sprite.h"
|
||||||
|
#include "world/partners.h"
|
||||||
#include "sprite/npc/tuff_puff.h"
|
#include "sprite/npc/tuff_puff.h"
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
@ -38,8 +40,8 @@ NpcSettings N(npcSettings_802440C8) = {
|
|||||||
.height = 24,
|
.height = 24,
|
||||||
.radius = 28,
|
.radius = 28,
|
||||||
.ai = &N(npcAI_80244058),
|
.ai = &N(npcAI_80244058),
|
||||||
.onHit = EnemyNpcHit,
|
.onHit = &EnemyNpcHit,
|
||||||
.onDefeat = EnemyNpcDefeat,
|
.onDefeat = &EnemyNpcDefeat,
|
||||||
.level = 19,
|
.level = 19,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -385,7 +387,7 @@ ApiStatus N(func_8024215C_CD3F8C)(Evt* script, s32 isInitialCall) {
|
|||||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings =(NpcAISettings*) evt_get_variable(script, *args);
|
||||||
|
|
||||||
territory.unk_00 = 0;
|
territory.unk_00 = 0;
|
||||||
territory.shape = enemy->territory->wander.detectShape;
|
territory.shape = enemy->territory->wander.detectShape;
|
||||||
@ -451,7 +453,7 @@ ApiStatus N(func_80242754_CD4584)(Evt* script, s32 isInitialCall) {
|
|||||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings =(NpcAISettings*) evt_get_variable(script, *args);
|
||||||
|
|
||||||
territory.unk_00 = 0;
|
territory.unk_00 = 0;
|
||||||
territory.shape = enemy->territory->wander.detectShape;
|
territory.shape = enemy->territory->wander.detectShape;
|
||||||
|
@ -862,7 +862,7 @@ ApiStatus N(func_80241C64_CD8F44)(Evt* script, s32 isInitialCall) {
|
|||||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings =(NpcAISettings*) evt_get_variable(script, *args);
|
||||||
f32 temp_f4;
|
f32 temp_f4;
|
||||||
f32 dist;
|
f32 dist;
|
||||||
|
|
||||||
|
@ -253,8 +253,8 @@ static s32 N(pad_17BC) = {
|
|||||||
NpcSettings N(npcSettings_802417C0) = {
|
NpcSettings N(npcSettings_802417C0) = {
|
||||||
.height = 24,
|
.height = 24,
|
||||||
.radius = 28,
|
.radius = 28,
|
||||||
.onHit = EnemyNpcHit,
|
.onHit = &EnemyNpcHit,
|
||||||
.onDefeat = EnemyNpcDefeat,
|
.onDefeat = &EnemyNpcDefeat,
|
||||||
.level = 16,
|
.level = 16,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -158,8 +158,8 @@ NpcSettings N(npcSettings_802429D4) = {
|
|||||||
.height = 24,
|
.height = 24,
|
||||||
.radius = 28,
|
.radius = 28,
|
||||||
.ai = &N(npcAI_80242964),
|
.ai = &N(npcAI_80242964),
|
||||||
.onHit = EnemyNpcHit,
|
.onHit = &EnemyNpcHit,
|
||||||
.onDefeat = EnemyNpcDefeat,
|
.onDefeat = &EnemyNpcDefeat,
|
||||||
.level = 19,
|
.level = 19,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -192,8 +192,8 @@ NpcSettings N(npcSettings_80242AA0) = {
|
|||||||
.height = 26,
|
.height = 26,
|
||||||
.radius = 24,
|
.radius = 24,
|
||||||
.ai = &N(npcAI_80242A30),
|
.ai = &N(npcAI_80242A30),
|
||||||
.onHit = EnemyNpcHit,
|
.onHit = &EnemyNpcHit,
|
||||||
.onDefeat = EnemyNpcDefeat,
|
.onDefeat = &EnemyNpcDefeat,
|
||||||
.level = 19,
|
.level = 19,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -548,7 +548,7 @@ ApiStatus N(func_8024134C_CF3F1C)(Evt* script, s32 isInitialCall) {
|
|||||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings = (NpcAISettings*) evt_get_variable(script, *args);
|
||||||
|
|
||||||
territory.unk_00 = 0;
|
territory.unk_00 = 0;
|
||||||
territory.shape = enemy->territory->wander.detectShape;
|
territory.shape = enemy->territory->wander.detectShape;
|
||||||
@ -615,7 +615,7 @@ ApiStatus N(func_80241944_CF4514)(Evt* script, s32 isInitialCall) {
|
|||||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||||
EnemyTerritoryThing territory;
|
EnemyTerritoryThing territory;
|
||||||
EnemyTerritoryThing* territoryPtr = &territory;
|
EnemyTerritoryThing* territoryPtr = &territory;
|
||||||
NpcAISettings* aiSettings = evt_get_variable(script, *args);
|
NpcAISettings* aiSettings = (NpcAISettings*) evt_get_variable(script, *args);
|
||||||
|
|
||||||
territory.unk_00 = 0;
|
territory.unk_00 = 0;
|
||||||
territory.shape = enemy->territory->wander.detectShape;
|
territory.shape = enemy->territory->wander.detectShape;
|
||||||
@ -699,7 +699,7 @@ ApiStatus N(func_80241DAC_CF497C)(Evt* script, s32 isInitialCall) {
|
|||||||
|
|
||||||
ApiStatus N(func_80241DE4_CF49B4)(Evt* script, s32 isInitialCall) {
|
ApiStatus N(func_80241DE4_CF49B4)(Evt* script, s32 isInitialCall) {
|
||||||
Bytecode* args = script->ptrReadPos;
|
Bytecode* args = script->ptrReadPos;
|
||||||
s32* ptr = evt_get_variable(script, *args);
|
s32* ptr = (s32*) evt_get_variable(script, *args);
|
||||||
s32 i;
|
s32 i;
|
||||||
|
|
||||||
if (ptr != NULL) {
|
if (ptr != NULL) {
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
|
void dead_playFX_82(s32, s32, s32, s32, s32, s32);
|
||||||
|
|
||||||
ApiStatus N(DeadUnkFunc1)(Evt* script, s32 isInitialCall) {
|
ApiStatus N(DeadUnkFunc1)(Evt* script, s32 isInitialCall) {
|
||||||
dead_playFX_82(1, 0, 0, 0, 0, 0);
|
dead_playFX_82(1, 0, 0, 0, 0, 0);
|
||||||
return ApiStatus_DONE2;
|
return ApiStatus_DONE2;
|
||||||
|
@ -19,7 +19,7 @@ ApiStatus N(StarSpiritEffectFunc2)(Evt* script, s32 isInitialCall) {
|
|||||||
|
|
||||||
if (isInitialCall) {
|
if (isInitialCall) {
|
||||||
StarSpiritEffect* ptr = heap_malloc(sizeof(StarSpiritEffect));
|
StarSpiritEffect* ptr = heap_malloc(sizeof(StarSpiritEffect));
|
||||||
script->varTable[0] = ptr;
|
script->varTable[0] = (s32) ptr;
|
||||||
evt_set_variable(NULL, EVT_MAP_VAR(1), ptr);
|
evt_set_variable(NULL, EVT_MAP_VAR(1), ptr);
|
||||||
ptr->unk_38 = evt_get_variable(script, *args++);
|
ptr->unk_38 = evt_get_variable(script, *args++);
|
||||||
ptr->unk_3C = evt_get_variable(script, *args++);
|
ptr->unk_3C = evt_get_variable(script, *args++);
|
||||||
@ -148,7 +148,7 @@ ApiStatus N(StarSpiritEffectFunc5)(Evt* script, s32 isInitialCall) {
|
|||||||
|
|
||||||
if (isInitialCall) {
|
if (isInitialCall) {
|
||||||
StarSpiritEffect* ptr = (StarSpiritEffect*) heap_malloc(sizeof(StarSpiritEffect));
|
StarSpiritEffect* ptr = (StarSpiritEffect*) heap_malloc(sizeof(StarSpiritEffect));
|
||||||
script->varTable[0] = ptr;
|
script->varTable[0] = (s32) ptr;
|
||||||
ptr->unk_38 = evt_get_variable(script, *args++);
|
ptr->unk_38 = evt_get_variable(script, *args++);
|
||||||
ptr->unk_18 = evt_get_float_variable(script, *args++);
|
ptr->unk_18 = evt_get_float_variable(script, *args++);
|
||||||
ptr->unk_24 = evt_get_float_variable(script, *args++);
|
ptr->unk_24 = evt_get_float_variable(script, *args++);
|
||||||
|
@ -9,11 +9,11 @@ ApiStatus N(StashVars)(Evt* script, s32 isInitialCall) {
|
|||||||
varTable = heap_malloc(sizeof(script->varTable));
|
varTable = heap_malloc(sizeof(script->varTable));
|
||||||
|
|
||||||
for (i = 0; i < ARRAY_COUNT(script->varTable); i++) {
|
for (i = 0; i < ARRAY_COUNT(script->varTable); i++) {
|
||||||
varTable[i] = script->varTable[i];
|
varTable[i] = (s32*) script->varTable[i];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (i = 0; i < ARRAY_COUNT(script->varTable); i++) {
|
for (i = 0; i < ARRAY_COUNT(script->varTable); i++) {
|
||||||
script->varTable[i] = varTable[i];
|
script->varTable[i] = (s32) varTable[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
heap_free(varTable);
|
heap_free(varTable);
|
||||||
|
@ -9,11 +9,11 @@ ApiStatus N(UnkFunc27)(Evt* script, s32 isInitialCall) {
|
|||||||
s32 testS2 = evt_get_variable(script, *args++);
|
s32 testS2 = evt_get_variable(script, *args++);
|
||||||
s32 testS0 = evt_get_variable(script, *args++);
|
s32 testS0 = evt_get_variable(script, *args++);
|
||||||
s32 testS1 = evt_get_variable(script, *args++);
|
s32 testS1 = evt_get_variable(script, *args++);
|
||||||
s32* temp_s0_3 = testS0;
|
s32* temp_s0_3 = (s32*) testS0;
|
||||||
s32 temp_s1 = testS1;
|
s32 temp_s1 = testS1;
|
||||||
s32 temp_s2 = testS2;
|
s32 temp_s2 = testS2;
|
||||||
|
|
||||||
if (temp_s0_3 == -1) {
|
if ((s32) temp_s0_3 == -1) {
|
||||||
mdl_set_all_fog_mode(temp_s1);
|
mdl_set_all_fog_mode(temp_s1);
|
||||||
return ApiStatus_DONE2;
|
return ApiStatus_DONE2;
|
||||||
}
|
}
|
||||||
|
@ -93,9 +93,9 @@ ApiStatus N(UnkFunc29)(Evt* script, s32 isInitialCall) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < MAX_ITEM_ENTITIES; i++) {
|
for (i = 0; i < MAX_ITEM_ENTITIES; i++) {
|
||||||
Entity* entity = get_item_entity(i);
|
ItemEntity* entity = get_item_entity(i);
|
||||||
if (entity != NULL && entity->flags & 0x10) {
|
if (entity != NULL && entity->flags & 0x10) {
|
||||||
entity->flags &= ~ENTITY_FLAGS_8000000;
|
entity->flags &= ~0x8000000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "npc.h"
|
#include "npc.h"
|
||||||
|
|
||||||
|
// TODO, can we remove this once all data disasm'ed?
|
||||||
extern QuizRequirements N(quizRequirements)[];
|
extern QuizRequirements N(quizRequirements)[];
|
||||||
|
|
||||||
ApiStatus N(UnkQuizFunc)(Evt* script, s32 isInitialCall) {
|
ApiStatus N(UnkQuizFunc)(Evt* script, s32 isInitialCall) {
|
||||||
Enemy* enemy = script->owner1.enemyID;
|
Enemy* enemy = script->owner1.enemy;
|
||||||
u16 phi_s0 = evt_get_variable(script, EVT_SAVE_FLAG(1768));
|
u16 phi_s0 = evt_get_variable(script, EVT_SAVE_FLAG(1768));
|
||||||
u16 phi_s7 = evt_get_variable(script, EVT_SAVE_FLAG(1769));
|
u16 phi_s7 = evt_get_variable(script, EVT_SAVE_FLAG(1769));
|
||||||
u16 temp_s6 = evt_get_variable(script, EVT_SAVE_VAR(350));
|
u16 temp_s6 = evt_get_variable(script, EVT_SAVE_VAR(350));
|
||||||
|
@ -20,17 +20,64 @@ ApiStatus func_80280410(Evt* script, s32 isInitialCall);
|
|||||||
ApiStatus ShowShopPurchaseDialog(Evt* script, s32 isInitialCall);
|
ApiStatus ShowShopPurchaseDialog(Evt* script, s32 isInitialCall);
|
||||||
ApiStatus ShowShopOwnerDialog(Evt* script, s32 isInitialCall);
|
ApiStatus ShowShopOwnerDialog(Evt* script, s32 isInitialCall);
|
||||||
|
|
||||||
EvtSource ShopBeginSpeech = { 0x00000043, 0x00000006, SpeakToPlayer, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000, };
|
EvtSource ShopBeginSpeech = {
|
||||||
|
EVT_CALL(SpeakToPlayer, LW(1), LW(2), LW(3), 0, LW(0))
|
||||||
|
EVT_RETURN
|
||||||
|
EVT_END
|
||||||
|
};
|
||||||
|
|
||||||
EvtSource ShopContinueSpeech = { 0x00000043, 0x00000006, ContinueSpeech, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000, };
|
EvtSource ShopContinueSpeech = {
|
||||||
|
EVT_CALL(ContinueSpeech, LW(1), LW(2), LW(3), 0, LW(0))
|
||||||
|
EVT_RETURN
|
||||||
|
EVT_END
|
||||||
|
};
|
||||||
|
|
||||||
EvtSource ShopResetSpeech = { 0x00000043, 0x00000005, EndSpeech, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000, };
|
EvtSource ShopResetSpeech = {
|
||||||
|
EVT_CALL(EndSpeech, LW(1), LW(2), LW(3), 0)
|
||||||
|
EVT_CALL(SpeakToPlayer, LW(1), LW(2), LW(3), 0, LW(0))
|
||||||
|
EVT_RETURN
|
||||||
|
EVT_END
|
||||||
|
};
|
||||||
|
|
||||||
EvtSource ShopEndSpeech = { 0x00000043, 0x00000005, EndSpeech, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, };
|
EvtSource ShopEndSpeech = {
|
||||||
|
EVT_CALL(EndSpeech, LW(0), LW(1), LW(2), 0)
|
||||||
|
EVT_RETURN
|
||||||
|
EVT_END
|
||||||
|
};
|
||||||
|
|
||||||
EvtSource D_80283F58_7E4DD8 = { 0x00000043, 0x00000002, GetCurrentPartner, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000002, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000003, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, func_802803C8, 0x0000000A, 0x00000002, 0xFE363C82, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, func_80280410, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000, };
|
EvtSource D_80283F58_7E4DD8 = {
|
||||||
|
EVT_CALL(GetCurrentPartner, LW(1))
|
||||||
|
EVT_IF_EQ(LW(1), 0)
|
||||||
|
EVT_GOTO(10)
|
||||||
|
EVT_END_IF
|
||||||
|
EVT_IF_EQ(LW(1), 2)
|
||||||
|
EVT_GOTO(10)
|
||||||
|
EVT_END_IF
|
||||||
|
EVT_IF_EQ(LW(1), 3)
|
||||||
|
EVT_GOTO(10)
|
||||||
|
EVT_END_IF
|
||||||
|
EVT_RETURN
|
||||||
|
EVT_LABEL(10)
|
||||||
|
EVT_CALL(func_802803C8)
|
||||||
|
EVT_IF_EQ(LW(2), 0)
|
||||||
|
EVT_RETURN
|
||||||
|
EVT_END_IF
|
||||||
|
EVT_CALL(func_80280410, LW(0))
|
||||||
|
EVT_RETURN
|
||||||
|
EVT_END
|
||||||
|
};
|
||||||
|
|
||||||
EvtSource BadgeShopInteract = { 0x00000043, 0x00000002, ShowShopPurchaseDialog, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000001, ShowShopOwnerDialog, 0x00000002, 0x00000000, 0x00000001, 0x00000000, };
|
EvtSource BadgeShopInteract = {
|
||||||
|
EVT_CALL(ShowShopPurchaseDialog, LW(0))
|
||||||
|
EVT_RETURN
|
||||||
|
EVT_END
|
||||||
|
};
|
||||||
|
|
||||||
|
EvtSource D_80284054_7E4ED4 = {
|
||||||
|
EVT_CALL(ShowShopOwnerDialog)
|
||||||
|
EVT_RETURN
|
||||||
|
EVT_END
|
||||||
|
};
|
||||||
|
|
||||||
s32 shop_owner_begin_speech(s32 messageIndex) {
|
s32 shop_owner_begin_speech(s32 messageIndex) {
|
||||||
Shop* shop = gGameStatusPtr->mapShop;
|
Shop* shop = gGameStatusPtr->mapShop;
|
||||||
|
@ -246,9 +246,9 @@ def disassemble(bytes, midx, symbol_map={}, comments=True, romstart=0, namespace
|
|||||||
var_name = var_names[x]
|
var_name = var_names[x]
|
||||||
if not var == 0:
|
if not var == 0:
|
||||||
if var == 0x80077F70:
|
if var == 0x80077F70:
|
||||||
tmp_out += INDENT + f".{var_name} = EnemyNpcHit,\n"
|
tmp_out += INDENT + f".{var_name} = &EnemyNpcHit,\n"
|
||||||
elif var == 0x8007809C:
|
elif var == 0x8007809C:
|
||||||
tmp_out += INDENT + f".{var_name} = EnemyNpcDefeat,\n"
|
tmp_out += INDENT + f".{var_name} = &EnemyNpcDefeat,\n"
|
||||||
elif var_name != "flags" and var in symbol_map:
|
elif var_name != "flags" and var in symbol_map:
|
||||||
tmp_out += INDENT + f".{var_name} = &{symbol_map[var][0][1]},\n"
|
tmp_out += INDENT + f".{var_name} = &{symbol_map[var][0][1]},\n"
|
||||||
if symbol_map[var][0][1] not in INCLUDED["functions"]:
|
if symbol_map[var][0][1] not in INCLUDED["functions"]:
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user