non-world data migration (#841)

* migrated 54360

* partially migrated 1AF2D0

* level up screen

* 1AF2D0 fully migrated

* cleaned up

* matched one audio function

* fixed warning

* PR comments
This commit is contained in:
Unnunu 2022-10-30 18:41:22 +03:00 committed by GitHub
parent b656ab90b4
commit 76254641e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
41 changed files with 3612 additions and 594 deletions

View File

@ -2533,4 +2533,12 @@ typedef struct GameMode {
/* 0x14 */ void (*renderAux)(void); ///< @see state_render_frontUI /* 0x14 */ void (*renderAux)(void); ///< @see state_render_frontUI
} GameMode; // size = 0x18 } GameMode; // size = 0x18
typedef struct PartnerDMAData {
/* 0x00 */ u32 dmaStart;
/* 0x04 */ u32 dmaEnd;
/* 0x08 */ void* dmaDest;
/* 0x0C */ struct ActorBlueprint* ActorBlueprint;
/* 0x10 */ s32 y;
} PartnerDMAData; // size = 0x14
#endif #endif

View File

@ -673,6 +673,7 @@ enum SoundIDs {
SOUND_152 = 0x00000152, SOUND_152 = 0x00000152,
SOUND_SEARCH_BUSH = 0x00000153, SOUND_SEARCH_BUSH = 0x00000153,
SOUND_158 = 0x00000158, SOUND_158 = 0x00000158,
SOUND_15D = 0x0000015D,
SOUND_15E = 0x0000015E, SOUND_15E = 0x0000015E,
SOUND_160 = 0x00000160, SOUND_160 = 0x00000160,
SOUND_161 = 0x00000161, SOUND_161 = 0x00000161,
@ -977,7 +978,10 @@ enum SoundIDs {
SOUND_36E = 0x0000036E, SOUND_36E = 0x0000036E,
SOUND_36F = 0x0000036F, SOUND_36F = 0x0000036F,
SOUND_370 = 0x00000370, SOUND_370 = 0x00000370,
SOUND_371 = 0x00000371,
SOUND_372 = 0x00000372, SOUND_372 = 0x00000372,
SOUND_373 = 0x00000373,
SOUND_374 = 0x00000374,
SOUND_375 = 0x00000375, SOUND_375 = 0x00000375,
SOUND_376 = 0x00000376, SOUND_376 = 0x00000376,
SOUND_377 = 0x00000377, SOUND_377 = 0x00000377,
@ -4111,8 +4115,8 @@ enum BattleStates2 {
BATTLE_STATE2_UNK_2 = 0x00000002, BATTLE_STATE2_UNK_2 = 0x00000002,
BATTLE_STATE2_UNK_3 = 0x00000003, BATTLE_STATE2_UNK_3 = 0x00000003,
BATTLE_STATE2_UNK_4 = 0x00000004, BATTLE_STATE2_UNK_4 = 0x00000004,
BATTLE_STATE2_UNK_5 = 0x00000005, BATTLE_STATE2_BEGIN_LEVEL_UP = 0x00000005,
BATTLE_STATE2_UNK_6 = 0x00000006, BATTLE_STATE2_LEVEL_UP_SHOW_HUD = 0x00000006,
BATTLE_STATE2_UNK_7 = 0x00000007, BATTLE_STATE2_UNK_7 = 0x00000007,
BATTLE_STATE2_UNK_8 = 0x00000008, BATTLE_STATE2_UNK_8 = 0x00000008,
BATTLE_STATE2_UNK_9 = 0x00000009, BATTLE_STATE2_UNK_9 = 0x00000009,

View File

@ -304,6 +304,7 @@ ApiStatus func_8026919C(Evt* script, s32 isInitialCall);
ApiStatus func_80280818(Evt* script, s32 isInitialCall); ///< YieldTurn copy ApiStatus func_80280818(Evt* script, s32 isInitialCall); ///< YieldTurn copy
ApiStatus func_8024ECF8(Evt* script, s32 isInitialCall); ApiStatus func_8024ECF8(Evt* script, s32 isInitialCall);
ApiStatus UseBattleCamPresetImmediately(Evt* script, s32 isInitialCall); ApiStatus UseBattleCamPresetImmediately(Evt* script, s32 isInitialCall);
ApiStatus UseBattleCamPresetWait(Evt* script, s32 isInitialCall);
ApiStatus func_8027D32C(Evt* script, s32 isInitialCall); ApiStatus func_8027D32C(Evt* script, s32 isInitialCall);
ApiStatus GetActionCommandResult(Evt* script, s32 isInitialCall); ApiStatus GetActionCommandResult(Evt* script, s32 isInitialCall);
ApiStatus CreateNpc(Evt* script, s32 isInitialCall); ApiStatus CreateNpc(Evt* script, s32 isInitialCall);

View File

@ -154,6 +154,7 @@ ApiStatus GetCurrentPartnerID(Evt* script, s32 isInitialCall);
ApiStatus PartnerIsFlying(Evt* script, s32 isInitialCall); ApiStatus PartnerIsFlying(Evt* script, s32 isInitialCall);
ApiStatus SetNpcDecoration(Evt* script, s32 isInitialCall); ApiStatus SetNpcDecoration(Evt* script, s32 isInitialCall);
ApiStatus PlaySoundAtNpc(Evt* script, s32 isInitialCall); ApiStatus PlaySoundAtNpc(Evt* script, s32 isInitialCall);
ApiStatus SetNpcRenderMode(Evt* script, s32 isInitialCall);
ApiStatus SpeakToPlayer(Evt* script, s32 isInitialCall); ApiStatus SpeakToPlayer(Evt* script, s32 isInitialCall);
ApiStatus EndSpeech(Evt* script, s32 isInitialCall); ApiStatus EndSpeech(Evt* script, s32 isInitialCall);
ApiStatus ContinueSpeech(Evt* script, s32 isInitialCall); ApiStatus ContinueSpeech(Evt* script, s32 isInitialCall);

View File

@ -31,7 +31,6 @@ extern s32 D_800DC4EC;
extern s32 D_800DC4F0; extern s32 D_800DC4F0;
extern struct Battle* D_800DC4F4; extern struct Battle* D_800DC4F4;
extern s32 D_800DC4F8; extern s32 D_800DC4F8;
extern u8* gBattleDmaDest;
extern ActionCommandStatus gActionCommandStatus; extern ActionCommandStatus gActionCommandStatus;

View File

@ -1710,7 +1710,7 @@ void btl_state_update_victory(void) {
battleStatus->unk_8C = 0; battleStatus->unk_8C = 0;
if (battleStatus->outtaSightActive == 0) { if (battleStatus->outtaSightActive == 0) {
gBattleState2 = BATTLE_STATE2_UNK_5; gBattleState2 = BATTLE_STATE2_BEGIN_LEVEL_UP;
} else { } else {
if (battleStatus->outtaSightActive > 0) { if (battleStatus->outtaSightActive > 0) {
D_8029F254 = 1; D_8029F254 = 1;
@ -1727,13 +1727,13 @@ void btl_state_update_victory(void) {
case BATTLE_STATE2_UNK_1: case BATTLE_STATE2_UNK_1:
if (!does_script_exist(partner->onTurnChangeID)) { if (!does_script_exist(partner->onTurnChangeID)) {
battleStatus->outtaSightActive = 0; battleStatus->outtaSightActive = 0;
gBattleState2 = BATTLE_STATE2_UNK_5; gBattleState2 = BATTLE_STATE2_BEGIN_LEVEL_UP;
} }
break; break;
} }
switch (gBattleState2) { switch (gBattleState2) {
case BATTLE_STATE2_UNK_5: case BATTLE_STATE2_BEGIN_LEVEL_UP:
player->flags &= ~(ACTOR_FLAG_8000000 | ACTOR_FLAG_4000000); player->flags &= ~(ACTOR_FLAG_8000000 | ACTOR_FLAG_4000000);
if (partner != NULL) { if (partner != NULL) {
partner->flags &= ~(ACTOR_FLAG_8000000 | ACTOR_FLAG_4000000); partner->flags &= ~(ACTOR_FLAG_8000000 | ACTOR_FLAG_4000000);
@ -2485,9 +2485,9 @@ void btl_state_update_change_partner(void) {
battleStatus->controlScript = script; battleStatus->controlScript = script;
battleStatus->controlScriptID = script->id; battleStatus->controlScriptID = script->id;
script->owner1.actorID = ACTOR_PARTNER; script->owner1.actorID = ACTOR_PARTNER;
gBattleState2 = BATTLE_STATE2_UNK_5; gBattleState2 = BATTLE_STATE2_BEGIN_LEVEL_UP;
break; break;
case BATTLE_STATE2_UNK_5: case BATTLE_STATE2_BEGIN_LEVEL_UP:
if (!does_script_exist(battleStatus->controlScriptID)) { if (!does_script_exist(battleStatus->controlScriptID)) {
partner = battleStatus->partnerActor; partner = battleStatus->partnerActor;
if (partner != NULL) { if (partner != NULL) {
@ -2499,10 +2499,10 @@ void btl_state_update_change_partner(void) {
script->owner1.actorID = ACTOR_PARTNER; script->owner1.actorID = ACTOR_PARTNER;
} }
} }
gBattleState2 = BATTLE_STATE2_UNK_6; gBattleState2 = BATTLE_STATE2_LEVEL_UP_SHOW_HUD;
} }
break; break;
case BATTLE_STATE2_UNK_6: case BATTLE_STATE2_LEVEL_UP_SHOW_HUD:
partner = battleStatus->partnerActor; partner = battleStatus->partnerActor;
if (partner == NULL || partner->onTurnChanceScriptSource == NULL if (partner == NULL || partner->onTurnChanceScriptSource == NULL
|| !does_script_exist(partner->onTurnChangeID)) { || !does_script_exist(partner->onTurnChangeID)) {

View File

@ -3,6 +3,24 @@
#include "message_ids.h" #include "message_ids.h"
#include "battle/battle.h" #include "battle/battle.h"
#include "hud_element.h" #include "hud_element.h"
#include "entity.h"
#include "ld_addrs.h"
extern IMG_BIN ui_battle_menu_spirits_png[];
extern PAL_BIN ui_battle_menu_spirits_pal[];
extern IMG_BIN ui_battle_unk_star_png[];
extern PAL_BIN ui_battle_unk_star_pal[];
extern ActorBlueprint battle_partner_goombario;
extern ActorBlueprint battle_partner_kooper;
extern ActorBlueprint battle_partner_bombette;
extern ActorBlueprint battle_partner_parakarry;
extern ActorBlueprint battle_partner_goompa;
extern ActorBlueprint battle_partner_watt;
extern ActorBlueprint battle_partner_sushie;
extern ActorBlueprint battle_partner_lakilester;
extern ActorBlueprint battle_partner_bow;
extern ActorBlueprint battle_partner_twink;
s16 D_80280FC0[] = { s16 D_80280FC0[] = {
10, 90, 0, 50, 10, 90, 0, 50,
@ -2361,8 +2379,8 @@ f32 D_80283690[] = {
1.0f, 0.8f, 0.8f, 0.8f, 0.9f, 0.9f, 0.9f, 1.0f, 0.8f, 0.8f, 0.8f, 0.9f, 0.9f, 0.9f,
}; };
extern void D_80283D98; extern EntityModelScript D_80283D98;
UNK_PTR D_80283744[] = { EntityModelScript* D_80283744[] = {
NULL, &D_80283D98, &D_80283D98, &D_80283D98, &D_80283D98, &D_80283D98, &D_80283D98, &D_80283D98, &D_80283D98, &D_80283D98, &D_80283D98, NULL, &D_80283D98, &D_80283D98, &D_80283D98, &D_80283D98, &D_80283D98, &D_80283D98, &D_80283D98, &D_80283D98, &D_80283D98, &D_80283D98,
}; };
@ -2387,6 +2405,133 @@ s32 bActorMessages[] = {
}; };
PopupMessage* D_802838F8 = NULL; PopupMessage* D_802838F8 = NULL;
s32 D_802838FC_padding = 0;
//TODO split files
#include "ui/battle/cursor_hand.png.inc.c"
#include "ui/battle/cursor_hand.pal.inc.c"
Vtx D_80283B20[4] = {
{{{ -22, -6, 0 }, 0, { 1024, 1024 }, { 0, 0, 0, 255 }}},
{{{ 9, -6, 0 }, 0, { 0, 1024 }, { 0, 0, 0, 255 }}},
{{{ 9, 25, 0 }, 0, { 0, 0 }, { 0, 0, 0, 255 }}},
{{{ -22, 25, 0 }, 0, { 1024, 0 }, { 0, 0, 0, 255 }}},
};
Gfx D_80283B60[] = {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPSetTextureLUT(G_TT_NONE),
gsDPSetTextureFilter(G_TF_AVERAGE),
gsDPSetTextureConvert(G_TC_FILT),
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, D_80283B00),
gsDPLoadTextureTile_4b(D_80283900, G_IM_FMT_CI, 32, 0, 0, 0, 31, 31, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD),
gsSPClearGeometryMode(G_LIGHTING),
gsSPClearGeometryMode(G_SHADING_SMOOTH),
gsSPVertex(D_80283B20, 4, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(0, 2, 3, 0),
gsSPEndDisplayList(),
};
EntityModelScript D_80283C48 = STANDARD_ENTITY_MODEL_SCRIPT(D_80283B60, RENDER_MODE_ALPHATEST);
Vtx D_80283C68[4] = {
{{{ -16, -16, 0 }, 0, { 0, 0 }, { 0, 0, 0, 255 }}},
{{{ 15, -16, 0 }, 0, { 1024, 0 }, { 0, 0, 0, 255 }}},
{{{ 15, 15, 0 }, 0, { 1024, 1024 }, { 0, 0, 0, 255 }}},
{{{ -16, 15, 0 }, 0, { 0, 1024 }, { 0, 0, 0, 255 }}},
};
Gfx D_80283CA8[] = {
gsDPPipeSync(),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCombineLERP(0, 0, 0, TEXEL0, PRIMITIVE, 0, TEXEL0, 0, 0, 0, 0, TEXEL0, TEXEL0, 0, PRIMITIVE, 0),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPSetTextureLUT(G_TT_NONE),
gsDPSetTextureFilter(G_TF_AVERAGE),
gsDPSetTextureConvert(G_TC_FILT),
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, ui_battle_menu_spirits_pal),
gsDPLoadTextureTile_4b(ui_battle_menu_spirits_png, G_IM_FMT_CI, 32, 0, 0, 0, 31, 31, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD),
gsSPClearGeometryMode(G_LIGHTING),
gsSPClearGeometryMode(G_SHADING_SMOOTH),
gsSPVertex(D_80283C68, 4, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(0, 2, 3, 0),
gsDPPipeSync(),
gsSPEndDisplayList(),
};
EntityModelScript D_80283D98 = STANDARD_ENTITY_MODEL_SCRIPT(D_80283CA8, RENDER_MODE_2D);
Vtx D_80283DB8[4] = {
{{{ -16, -16, 0 }, 0, { 0, 1024 }, { 0, 0, 0, 255 }}},
{{{ 15, -16, 0 }, 0, { 1024, 1024 }, { 0, 0, 0, 255 }}},
{{{ 15, 15, 0 }, 0, { 1024, 0 }, { 0, 0, 0, 255 }}},
{{{ -16, 15, 0 }, 0, { 0, 0 }, { 0, 0, 0, 255 }}},
};
Gfx D_80283DF8[] = {
gsDPPipeSync(),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPSetTextureLUT(G_TT_NONE),
gsDPSetTextureFilter(G_TF_AVERAGE),
gsDPSetTextureConvert(G_TC_FILT),
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, ui_battle_unk_star_pal),
gsDPLoadTextureTile_4b(ui_battle_unk_star_png, G_IM_FMT_CI, 32, 0, 0, 0, 31, 31, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD),
gsSPClearGeometryMode(G_LIGHTING),
gsSPClearGeometryMode(G_SHADING_SMOOTH),
gsSPVertex(D_80283DB8, 4, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(0, 2, 3, 0),
gsDPPipeSync(),
gsSPEndDisplayList(),
};
EntityModelScript D_80283EE8 = STANDARD_ENTITY_MODEL_SCRIPT(D_80283DF8, RENDER_MODE_ALPHATEST);
s32 D_80283F04_padding = 0;
s32 D_80283F08_padding = 0;
s32 D_80283F0C_padding = 0;
#define BATTLE_PARTNER_ENTRY(name, Y) \
{ \
(u32)battle_partner_##name##_ROM_START, \
(u32)battle_partner_##name##_ROM_END, \
battle_partner_##name##_VRAM, \
&battle_partner_##name, \
Y \
}
PartnerDMAData bPartnerDmaTable[] = {
{},
BATTLE_PARTNER_ENTRY(goombario, 0),
BATTLE_PARTNER_ENTRY(kooper, 0),
BATTLE_PARTNER_ENTRY(bombette, 0),
BATTLE_PARTNER_ENTRY(parakarry, 30),
BATTLE_PARTNER_ENTRY(goompa, 0),
BATTLE_PARTNER_ENTRY(watt, 20),
BATTLE_PARTNER_ENTRY(sushie, 0),
BATTLE_PARTNER_ENTRY(lakilester, 10),
BATTLE_PARTNER_ENTRY(bow, 20),
{},
BATTLE_PARTNER_ENTRY(twink, 30),
};
// BSS // BSS
BSS PopupMessage popupMessages[32]; BSS PopupMessage popupMessages[32];
BSS s16 D_8029F640; BSS s16 D_8029F640;
@ -2522,7 +2667,7 @@ void func_8024EFE0(f32 x, f32 y, f32 z, s32 numMessages, s32 arg4, s32 arg5) {
BattleStatus* battleStatus = &gBattleStatus; BattleStatus* battleStatus = &gBattleStatus;
PopupMessage* popup; PopupMessage* popup;
Message* message; Message* message;
void** sp10; EntityModelScript** sp10;
f32 var_f20; f32 var_f20;
f32 var_f22; f32 var_f22;
f32* f1; f32* f1;
@ -2579,7 +2724,7 @@ void func_8024EFE0(f32 x, f32 y, f32 z, s32 numMessages, s32 arg4, s32 arg5) {
for (i = 0; i < numMessages; i++, message++) { for (i = 0; i < numMessages; i++, message++) {
sp10 = &D_80283744[numMessages]; sp10 = &D_80283744[numMessages];
message->unk_00 = 1; message->unk_00 = 1;
message->unk_04 = load_entity_model(*sp10); message->unk_04 = load_entity_model(**sp10);
set_entity_model_flags(message->unk_04, ENTITY_MODEL_FLAGS_HIDDEN); set_entity_model_flags(message->unk_04, ENTITY_MODEL_FLAGS_HIDDEN);
bind_entity_model_setupGfx(message->unk_04, message, func_8024F768); bind_entity_model_setupGfx(message->unk_04, message, func_8024F768);
message->pos.x = x; message->pos.x = x;

View File

@ -1,7 +1,7 @@
#include "common.h" #include "common.h"
#include "battle/battle.h" #include "battle/battle.h"
BSS char D_8029FA660[0x400]; // unused? BSS char D_8029F660[0x400]; // unused?
BSS MessagePrintState* gSpeakingActorPrintCtx; BSS MessagePrintState* gSpeakingActorPrintCtx;
BSS MessagePrintState* D_8029FA64; BSS MessagePrintState* D_8029FA64;
@ -11,6 +11,25 @@ BSS s32 gSpeakingActorIdleAnim;
BSS Actor* gSpeakingActor; BSS Actor* gSpeakingActor;
BSS ActorPart* gSpeakingActorPart; BSS ActorPart* gSpeakingActorPart;
u8* gBattleDmaDest = NULL;
u8 D_80284004[] = { 59, 60, 61, 62, 63, 64, 65, 66, 67, 255 };
u8 D_80284010[] = { 126, 127, 128, 129, 130, 131, 132, 133, 134, 255 };
u8 D_8028401C[] = { 189, 190, 255 };
u8 D_80284020[] = { 170, 171, 255 };
u8 D_80284024[] = { 195, 197, 255 };
u8 D_80284028[] = { 77, 79, 78, 80, 255 };
u8 D_80284030[] = { 81, 82, 255};
u8 D_80284034[] = { 83, 84, 255 };
u8 D_80284038[] = { 87, 88, 255 };
u8 D_8028403C[] = { 85, 86, 255 };
u8 D_80284040[] = { 89, 90, 255 };
u8* D_80284044[] = {
D_80284004, D_80284010, D_8028401C, D_80284020, D_80284024, D_80284028, D_80284030, D_80284034, D_80284038,
D_8028403C, D_80284040, NULL,
};
ApiStatus ActorSpeak(Evt* script, s32 isInitialCall) { ApiStatus ActorSpeak(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos; Bytecode* args = script->ptrReadPos;
Actor* actor; Actor* actor;

View File

@ -3,12 +3,14 @@
#include "effects.h" #include "effects.h"
#include "battle/battle.h" #include "battle/battle.h"
extern u8 D_80284080[]; u8 D_80284080[] = { 0, 32, 1, 4, 2, 2, 0, 16, 1, 2, 0, 64, 1, 2, 2, 2, 0, 28, 1, 2, 0, 18, 1, 4, 0, 16, 1, 2, 0, 80,
extern u16 D_802840B4[]; 1, 2, 0, 16, 2, 2, 1, 2, 0, 32, 1, 2, 0, 14, 1, 2, 2, 2, 255, 0, 0, 0 };
extern u16 D_802840DC[]; s16 D_802840B4[] = { -2, 2, 0, 0, -2, 2, 0, 0, 0, 0, -2, 2, 0, 0, 0, 0, 0, 0, 255, 0 };
extern u8 D_80284104[]; s16 D_802840DC[] = { -2, 2, 0, 0, -2, 2, 0, 0, 0, 0, -2, 2, 0, 0, 0, 0, 0, 0, 255, 0 };
extern u8 D_80284120[]; u8 D_80284104[] = { 1, 2, 0, 52, 1, 4, 0, 54, 0, 54, 1, 2, 0, 28, 1, 2, 0, 6, 1, 2, 0, 44, 1, 2, 0, 44, 255, 0 };
extern s16 D_80284134[]; u8 D_80284120[] = { 1, 2, 0, 10, 2, 4, 0, 14, 1, 2, 0, 10, 2, 4, 0, 4, 255, 0, 0, 0 };
s16 D_80284134[] = { -1, 15, 10, 7, 5, 3, 2, 1, 0, 0, 0, 0, 0, 0 };
void update_player_actor_shadow(void); void update_player_actor_shadow(void);
void appendGfx_npc_actor(s32 isPartner, s32 actorIndex); void appendGfx_npc_actor(s32 isPartner, s32 actorIndex);

View File

@ -3,19 +3,18 @@
#include "hud_element.h" #include "hud_element.h"
#include "ld_addrs.h" #include "ld_addrs.h"
#include "pause/pause_common.h" #include "pause/pause_common.h"
#include "script_api/battle.h"
#include "entity.h"
#include "sprite/npc/BattleGoombario.h"
#include "sprite/npc/BattleKooper.h"
#include "sprite/npc/BattleBombette.h"
#include "sprite/npc/BattleParakarry.h"
#include "sprite/npc/Goompa.h"
#include "sprite/npc/BattleWatt.h"
#include "sprite/npc/BattleSushie.h"
#include "sprite/npc/BattleLakilester.h"
#include "sprite/npc/BattleBow.h"
extern s32 D_80284150;
extern s32 D_80284154[];
extern s32* D_80284188[];
extern s32 D_802841B0;
extern HudScript* D_802841B4;
extern HudScript* D_802841B8;
extern HudScript* D_802841BC;
extern HudScript* D_802841C0[3][10];
extern HudScript* D_80284238[3][10];
extern EvtScript D_802842B0;
extern EvtScript D_80284880;
extern EvtScript PlayerScriptDispatcher;
extern HudScript HES_ProjectorBeam; extern HudScript HES_ProjectorBeam;
BSS s32 D_8029FA80[4]; BSS s32 D_8029FA80[4];
@ -40,15 +39,215 @@ BSS s32 D_8029FB84;
BSS s32 D_8029FB88; BSS s32 D_8029FB88;
BSS s32 D_8029FB8C; BSS s32 D_8029FB8C;
extern HudScript D_802A9F34; extern EntityModelScript starpoint_model_script_starpoint;
extern HudScript D_802A9F5C; extern EntityModelScript starpoint_model_script_starpoints;
extern HudScript D_802A9F84; extern EntityModelScript starpoint_model_script_digit_0;
extern HudScript D_802A9F0C; extern EntityModelScript starpoint_model_script_digit_1;
extern HudScript D_802A9FAC; extern EntityModelScript starpoint_model_script_digit_2;
extern HudScript D_802AA320; extern EntityModelScript starpoint_model_script_digit_3;
extern HudScript D_802AA694; extern EntityModelScript starpoint_model_script_digit_4;
extern HudScript D_802AAA08; extern EntityModelScript starpoint_model_script_digit_5;
extern HudScript D_802AAA30; extern EntityModelScript starpoint_model_script_digit_6;
extern EntityModelScript starpoint_model_script_digit_7;
extern EntityModelScript starpoint_model_script_digit_8;
extern EntityModelScript starpoint_model_script_digit_9;
extern EntityModelScript starpoint_model_script_dummy;
extern EntityModelScript level_up_model_script;
extern HudScript HES_level_up_flower;
extern HudScript HES_level_up_leaves;
extern HudScript HES_level_up_heart;
extern HudScript HES_level_up_heart_copy;
extern HudScript HES_level_up_badge;
extern HudScript HES_level_up_FP;
extern HudScript HES_level_up_HP;
extern HudScript HES_level_up_BP;
extern HudScript HES_level_up_green_digit_0;
extern HudScript HES_level_up_green_digit_1;
extern HudScript HES_level_up_green_digit_2;
extern HudScript HES_level_up_green_digit_3;
extern HudScript HES_level_up_green_digit_4;
extern HudScript HES_level_up_green_digit_5;
extern HudScript HES_level_up_green_digit_6;
extern HudScript HES_level_up_green_digit_7;
extern HudScript HES_level_up_green_digit_8;
extern HudScript HES_level_up_green_digit_9;
extern HudScript HES_level_up_red_digit_0;
extern HudScript HES_level_up_red_digit_1;
extern HudScript HES_level_up_red_digit_2;
extern HudScript HES_level_up_red_digit_3;
extern HudScript HES_level_up_red_digit_4;
extern HudScript HES_level_up_red_digit_5;
extern HudScript HES_level_up_red_digit_6;
extern HudScript HES_level_up_red_digit_7;
extern HudScript HES_level_up_red_digit_8;
extern HudScript HES_level_up_red_digit_9;
extern HudScript HES_level_up_blue_digit_0;
extern HudScript HES_level_up_blue_digit_1;
extern HudScript HES_level_up_blue_digit_2;
extern HudScript HES_level_up_blue_digit_3;
extern HudScript HES_level_up_blue_digit_4;
extern HudScript HES_level_up_blue_digit_5;
extern HudScript HES_level_up_blue_digit_6;
extern HudScript HES_level_up_blue_digit_7;
extern HudScript HES_level_up_blue_digit_8;
extern HudScript HES_level_up_blue_digit_9;
extern HudScript HES_level_up_small_green_digit_0;
extern HudScript HES_level_up_small_green_digit_1;
extern HudScript HES_level_up_small_green_digit_2;
extern HudScript HES_level_up_small_green_digit_3;
extern HudScript HES_level_up_small_green_digit_4;
extern HudScript HES_level_up_small_green_digit_5;
extern HudScript HES_level_up_small_green_digit_6;
extern HudScript HES_level_up_small_green_digit_7;
extern HudScript HES_level_up_small_green_digit_8;
extern HudScript HES_level_up_small_green_digit_9;
extern HudScript HES_level_up_small_green_arrow;
extern HudScript HES_level_up_small_red_digit_0;
extern HudScript HES_level_up_small_red_digit_1;
extern HudScript HES_level_up_small_red_digit_2;
extern HudScript HES_level_up_small_red_digit_3;
extern HudScript HES_level_up_small_red_digit_4;
extern HudScript HES_level_up_small_red_digit_5;
extern HudScript HES_level_up_small_red_digit_6;
extern HudScript HES_level_up_small_red_digit_7;
extern HudScript HES_level_up_small_red_digit_8;
extern HudScript HES_level_up_small_red_digit_9;
extern HudScript HES_level_up_small_red_arrow;
extern HudScript HES_level_up_small_blue_digit_0;
extern HudScript HES_level_up_small_blue_digit_1;
extern HudScript HES_level_up_small_blue_digit_2;
extern HudScript HES_level_up_small_blue_digit_3;
extern HudScript HES_level_up_small_blue_digit_4;
extern HudScript HES_level_up_small_blue_digit_5;
extern HudScript HES_level_up_small_blue_digit_6;
extern HudScript HES_level_up_small_blue_digit_7;
extern HudScript HES_level_up_small_blue_digit_8;
extern HudScript HES_level_up_small_blue_digit_9;
extern HudScript HES_level_up_small_blue_arrow;
extern HudScript HES_level_up_select_one_to_upgrade;
s32 D_80284150 = 255;
s32 D_80284154[] = {
0,
ANIM_BattleGoombario_Walk,
ANIM_BattleKooper_Walk,
ANIM_BattleBombette_Walk,
ANIM_BattleParakarry_Walk,
ANIM_Goompa_Walk,
ANIM_BattleWatt_Walk,
ANIM_BattleSushie_Walk,
ANIM_BattleLakilester_Walk,
ANIM_BattleBow_Walk,
0,
0,
0
};
EntityModelScript* starpoint_digit_scripts[] = {
&starpoint_model_script_digit_0,
&starpoint_model_script_digit_1,
&starpoint_model_script_digit_2,
&starpoint_model_script_digit_3,
&starpoint_model_script_digit_4,
&starpoint_model_script_digit_5,
&starpoint_model_script_digit_6,
&starpoint_model_script_digit_7,
&starpoint_model_script_digit_8,
&starpoint_model_script_digit_9,
};
EntityModelScript* starpoint_space_script = &starpoint_model_script_dummy;
HudScript* levelup_stat_scripts[3] = {
&HES_level_up_FP,
&HES_level_up_HP,
&HES_level_up_BP,
};
HudScript* level_up_digit_scripts[3][10] = {
{
&HES_level_up_green_digit_0,
&HES_level_up_green_digit_1,
&HES_level_up_green_digit_2,
&HES_level_up_green_digit_3,
&HES_level_up_green_digit_4,
&HES_level_up_green_digit_5,
&HES_level_up_green_digit_6,
&HES_level_up_green_digit_7,
&HES_level_up_green_digit_8,
&HES_level_up_green_digit_9,
},
{
&HES_level_up_red_digit_0,
&HES_level_up_red_digit_1,
&HES_level_up_red_digit_2,
&HES_level_up_red_digit_3,
&HES_level_up_red_digit_4,
&HES_level_up_red_digit_5,
&HES_level_up_red_digit_6,
&HES_level_up_red_digit_7,
&HES_level_up_red_digit_8,
&HES_level_up_red_digit_9,
},
{
&HES_level_up_blue_digit_0,
&HES_level_up_blue_digit_1,
&HES_level_up_blue_digit_2,
&HES_level_up_blue_digit_3,
&HES_level_up_blue_digit_4,
&HES_level_up_blue_digit_5,
&HES_level_up_blue_digit_6,
&HES_level_up_blue_digit_7,
&HES_level_up_blue_digit_8,
&HES_level_up_blue_digit_9,
},
};
HudScript* level_up_small_digit_scripts[3][10] = {
{
&HES_level_up_small_green_digit_0,
&HES_level_up_small_green_digit_1,
&HES_level_up_small_green_digit_2,
&HES_level_up_small_green_digit_3,
&HES_level_up_small_green_digit_4,
&HES_level_up_small_green_digit_5,
&HES_level_up_small_green_digit_6,
&HES_level_up_small_green_digit_7,
&HES_level_up_small_green_digit_8,
&HES_level_up_small_green_digit_9,
},
{
&HES_level_up_small_red_digit_0,
&HES_level_up_small_red_digit_1,
&HES_level_up_small_red_digit_2,
&HES_level_up_small_red_digit_3,
&HES_level_up_small_red_digit_4,
&HES_level_up_small_red_digit_5,
&HES_level_up_small_red_digit_6,
&HES_level_up_small_red_digit_7,
&HES_level_up_small_red_digit_8,
&HES_level_up_small_red_digit_9,
},
{
&HES_level_up_small_blue_digit_0,
&HES_level_up_small_blue_digit_1,
&HES_level_up_small_blue_digit_2,
&HES_level_up_small_blue_digit_3,
&HES_level_up_small_blue_digit_4,
&HES_level_up_small_blue_digit_5,
&HES_level_up_small_blue_digit_6,
&HES_level_up_small_blue_digit_7,
&HES_level_up_small_blue_digit_8,
&HES_level_up_small_blue_digit_9,
},
};
s32* virtual_entity_get_by_index(s32); s32* virtual_entity_get_by_index(s32);
@ -68,19 +267,19 @@ s32 func_8025DEC4(Evt* script, s32 isInitialCall) {
script->varTable[12] = gBattleStatus.totalStarPoints % 10; // star points in ones script->varTable[12] = gBattleStatus.totalStarPoints % 10; // star points in ones
if (script->varTable[10] > 0) { if (script->varTable[10] > 0) {
script->varTable[10] = (s32) D_80284188[script->varTable[10]]; script->varTablePtr[10] = starpoint_digit_scripts[script->varTable[10]];
levelUp = TRUE; levelUp = TRUE;
} else { } else {
script->varTable[10] = D_802841B0; script->varTablePtr[10] = starpoint_space_script;
} }
if ((script->varTable[11] > 0) || levelUp) { if ((script->varTable[11] > 0) || levelUp) {
script->varTable[11] = (s32) D_80284188[script->varTable[11]]; script->varTablePtr[11] = starpoint_digit_scripts[script->varTable[11]];
} else { } else {
script->varTable[11] = D_802841B0; script->varTablePtr[11] = starpoint_space_script;
} }
script->varTable[12] = (s32) D_80284188[script->varTable[12]]; script->varTablePtr[12] = starpoint_digit_scripts[script->varTable[12]];
return ApiStatus_DONE2; return ApiStatus_DONE2;
} }
@ -123,6 +322,127 @@ ApiStatus func_8025E14C(Evt* script, s32 isInitialCall) {
return ApiStatus_DONE2; return ApiStatus_DONE2;
} }
EvtScript EVS_ShowStarpoints = {
EVT_SET(LVarF, 0)
EVT_CALL(func_8025DEB0)
EVT_IF_EQ(LVar0, 0)
EVT_RETURN
EVT_END_IF
EVT_IF_LT(LVar0, 2)
EVT_CALL(CreateVirtualEntity, LVar6, EVT_PTR(starpoint_model_script_starpoint))
EVT_CALL(SetVirtualEntityPosition, LVar6, -278, 68, 70)
EVT_CALL(SetVirtualEntityScale, LVar6, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5))
EVT_ELSE
EVT_CALL(CreateVirtualEntity, LVar6, EVT_PTR(starpoint_model_script_starpoints))
EVT_CALL(SetVirtualEntityPosition, LVar6, -278, 68, 70)
EVT_CALL(SetVirtualEntityScale, LVar6, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5))
EVT_SET(LocalFlag(0), 1)
EVT_END_IF
EVT_SWITCH(LVar0)
EVT_CASE_GT(99)
EVT_SET(LVarF, 3)
EVT_CASE_GT(9)
EVT_SET(LVarF, 2)
EVT_CASE_DEFAULT
EVT_SET(LVarF, 1)
EVT_END_SWITCH
EVT_CALL(func_8025DEC4)
EVT_CALL(CreateVirtualEntity, LVar7, LVarA)
EVT_CALL(SetVirtualEntityPosition, LVar7, -353, 68, 70)
EVT_CALL(SetVirtualEntityScale, LVar7, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5))
EVT_CALL(CreateVirtualEntity, LVar8, LVarB)
EVT_CALL(SetVirtualEntityPosition, LVar8, -338, 68, 70)
EVT_CALL(SetVirtualEntityScale, LVar8, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5))
EVT_CALL(CreateVirtualEntity, LVar9, LVarC)
EVT_CALL(SetVirtualEntityPosition, LVar9, -323, 68, 70)
EVT_CALL(SetVirtualEntityScale, LVar9, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5))
EVT_CALL(func_8025E044)
EVT_SWITCH(LVarF)
EVT_CASE_EQ(3)
EVT_SET(LVar0, -197)
EVT_CASE_EQ(2)
EVT_SET(LVar0, -204)
EVT_CASE_EQ(1)
EVT_SET(LVar0, -211)
EVT_END_SWITCH
EVT_LOOP(10)
EVT_ADD(LVar0, 20)
EVT_SET(LVar1, LVar0)
EVT_ADD(LVar1, -78)
EVT_CALL(SetVirtualEntityPosition, LVar6, LVar1, 68, 70)
EVT_SET(LVar1, LVar0)
EVT_ADD(LVar1, -146)
EVT_CALL(SetVirtualEntityPosition, LVar7, LVar1, 68, 70)
EVT_SET(LVar1, LVar0)
EVT_ADD(LVar1, -131)
EVT_CALL(SetVirtualEntityPosition, LVar8, LVar1, 68, 70)
EVT_SET(LVar1, LVar0)
EVT_ADD(LVar1, -116)
EVT_CALL(SetVirtualEntityPosition, LVar9, LVar1, 68, 70)
EVT_WAIT(1)
EVT_END_LOOP
EVT_CALL(func_8025E030)
EVT_SWITCH(LVarF)
EVT_CASE_EQ(3)
EVT_SET(LVar0, 3)
EVT_CASE_EQ(2)
EVT_SET(LVar0, -4)
EVT_CASE_EQ(1)
EVT_SET(LVar0, -11)
EVT_END_SWITCH
EVT_LOOP(10)
EVT_ADD(LVar0, 20)
EVT_SET(LVar1, LVar0)
EVT_ADD(LVar1, -78)
EVT_CALL(SetVirtualEntityPosition, LVar6, LVar1, 68, 70)
EVT_SET(LVar1, LVar0)
EVT_ADD(LVar1, -154)
EVT_CALL(SetVirtualEntityPosition, LVar7, LVar1, 68, 70)
EVT_SET(LVar1, LVar0)
EVT_ADD(LVar1, -139)
EVT_CALL(SetVirtualEntityPosition, LVar8, LVar1, 68, 70)
EVT_SET(LVar1, LVar0)
EVT_ADD(LVar1, -124)
EVT_CALL(SetVirtualEntityPosition, LVar9, LVar1, 68, 70)
EVT_WAIT(1)
EVT_END_LOOP
EVT_CALL(DeleteVirtualEntity, LVar6)
EVT_CALL(DeleteVirtualEntity, LVar7)
EVT_CALL(DeleteVirtualEntity, LVar8)
EVT_CALL(DeleteVirtualEntity, LVar9)
EVT_RETURN
EVT_END
};
EvtScript EVS_ShowLevelUp = {
EVT_CALL(CreateVirtualEntity, LVar9, EVT_PTR(level_up_model_script))
EVT_CALL(SetVirtualEntityPosition, LVar9, 0, 210, 70)
EVT_CALL(func_8025E108)
EVT_CHILD_THREAD
EVT_WAIT(4)
EVT_CALL(func_8025E14C)
EVT_END_CHILD_THREAD
EVT_THREAD
EVT_WAIT(8)
EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(3.0))
EVT_CALL(ShakeCam, 1, 0, 3, EVT_FLOAT(2.25))
EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(1.2))
EVT_CALL(ShakeCam, 1, 0, 6, EVT_FLOAT(0.45))
EVT_CALL(ShakeCam, 1, 0, 8, EVT_FLOAT(0.15))
EVT_END_THREAD
EVT_THREAD
EVT_SET(LVar0, 210)
EVT_LOOP(10)
EVT_SUB(LVar0, 10)
EVT_CALL(SetVirtualEntityPosition, LVar9, 0, LVar0, 70)
EVT_WAIT(1)
EVT_END_LOOP
EVT_END_THREAD
EVT_WAIT(8)
EVT_RETURN
EVT_END
};
void btl_state_update_celebration(void) { void btl_state_update_celebration(void) {
BattleStatus* battleStatus = &gBattleStatus; BattleStatus* battleStatus = &gBattleStatus;
PlayerData* playerData = &gPlayerData; PlayerData* playerData = &gPlayerData;
@ -184,8 +504,8 @@ void btl_state_update_celebration(void) {
if (D_8029FB4C != 0) { if (D_8029FB4C != 0) {
D_8029FB4C--; D_8029FB4C--;
} else if (btl_cam_is_moving_done()) { } else if (btl_cam_is_moving_done()) {
dma_copy(_7A89A0_ROM_START, _7A89A0_ROM_END, _7A89A0_VRAM); dma_copy(starpoint_ROM_START, starpoint_ROM_END, starpoint_VRAM);
script = start_script(&D_802842B0, EVT_PRIORITY_A, 0); script = start_script(&EVS_ShowStarpoints, EVT_PRIORITY_A, 0);
D_8029FB78 = 0; D_8029FB78 = 0;
D_8029FB54 = 20; D_8029FB54 = 20;
D_8029FB70 = D_8029FB6C / D_8029FB54; D_8029FB70 = D_8029FB6C / D_8029FB54;
@ -267,22 +587,22 @@ void btl_state_update_celebration(void) {
playerData->level++; playerData->level++;
btl_cam_use_preset(BTL_CAM_PRESET_C); btl_cam_use_preset(BTL_CAM_PRESET_C);
btl_cam_move(5); btl_cam_move(5);
dma_copy(_79EF40_ROM_START, _79EF40_ROM_END, _79EF40_VRAM); dma_copy(level_up_ROM_START, level_up_ROM_END, level_up_VRAM);
sfx_play_sound(SOUND_80000008); sfx_play_sound(SOUND_80000008);
D_8029FB84 = 0; D_8029FB84 = 0;
gBattleState2 = BATTLE_STATE2_UNK_5; gBattleState2 = BATTLE_STATE2_BEGIN_LEVEL_UP;
} }
break; break;
case BATTLE_STATE2_UNK_5: case BATTLE_STATE2_BEGIN_LEVEL_UP:
D_8029FB7C = start_script(&D_80284880, EVT_PRIORITY_A, 0); D_8029FB7C = start_script(&EVS_ShowLevelUp, EVT_PRIORITY_A, 0);
D_8029FB4C = 25; D_8029FB4C = 25;
gBattleState2 = BATTLE_STATE2_UNK_6; gBattleState2 = BATTLE_STATE2_LEVEL_UP_SHOW_HUD;
D_8029FB80 = D_8029FB7C->id; D_8029FB80 = D_8029FB7C->id;
mdl_set_all_fog_mode(1); mdl_set_all_fog_mode(1);
*gBgRenderTypePtr = BACKGROUND_RENDER_TYPE_1; *gBgRenderTypePtr = BACKGROUND_RENDER_TYPE_1;
set_background_color_blend(0, 0, 0, 0); set_background_color_blend(0, 0, 0, 0);
break; break;
case BATTLE_STATE2_UNK_6: case BATTLE_STATE2_LEVEL_UP_SHOW_HUD:
if (D_8029FB4C == 18) { if (D_8029FB4C == 18) {
playerData->curHP = playerData->curMaxHP; playerData->curHP = playerData->curMaxHP;
playerData->curFP = playerData->curMaxFP; playerData->curFP = playerData->curMaxFP;
@ -303,57 +623,57 @@ void btl_state_update_celebration(void) {
set_background_color_blend(0, 0, 0, ((10 - D_8029FB4C) * 0x10) & 0xF0); set_background_color_blend(0, 0, 0, ((10 - D_8029FB4C) * 0x10) & 0xF0);
} }
} else { } else {
id = hud_element_create(&D_802A9F0C); id = hud_element_create(&HES_level_up_heart);
D_8029FA80[0] = id; D_8029FA80[0] = id;
hud_element_set_render_pos(id, 310, 140); hud_element_set_render_pos(id, 310, 140);
hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80); hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80);
id = hud_element_create(&D_802A9F5C); id = hud_element_create(&HES_level_up_flower);
D_8029FA80[1] = id; D_8029FA80[1] = id;
hud_element_set_render_pos(id, 158, 340); hud_element_set_render_pos(id, 158, 340);
hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80); hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80);
id = hud_element_create(&D_802A9F84); id = hud_element_create(&HES_level_up_leaves);
D_8029FA80[3] = id; D_8029FA80[3] = id;
hud_element_set_render_pos(id, 158, 340); hud_element_set_render_pos(id, 158, 340);
hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80); hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80);
id = hud_element_create(&D_802A9FAC); id = hud_element_create(&HES_level_up_badge);
D_8029FA80[2] = id; D_8029FA80[2] = id;
hud_element_set_render_pos(id, 6, 140); hud_element_set_render_pos(id, 6, 140);
hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80); hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80);
id = hud_element_create(D_802841B4); id = hud_element_create(levelup_stat_scripts[0]);
D_8029FA90[0][0] = id; D_8029FA90[0][0] = id;
hud_element_set_render_pos(id, 160, 317); hud_element_set_render_pos(id, 160, 317);
hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80); hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80);
for (i = 1; i < ARRAY_COUNT(D_8029FA90[0]); i++) { for (i = 1; i < ARRAY_COUNT(D_8029FA90[0]); i++) {
id = hud_element_create(D_802841C0[0][0]); id = hud_element_create(level_up_digit_scripts[0][0]);
D_8029FA90[0][i] = id; D_8029FA90[0][i] = id;
hud_element_set_render_pos(id, 160, 317); hud_element_set_render_pos(id, 160, 317);
hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80 | HUD_ELEMENT_FLAGS_DISABLED); hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80 | HUD_ELEMENT_FLAGS_DISABLED);
} }
id = hud_element_create(D_802841B8); id = hud_element_create(levelup_stat_scripts[1]);
D_8029FA90[0][7] = id; D_8029FA90[0][7] = id;
hud_element_set_render_pos(id, 312, 117); hud_element_set_render_pos(id, 312, 117);
hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80); hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80);
for (i = 1; i < ARRAY_COUNT(D_8029FA90[0]); i++) { for (i = 1; i < ARRAY_COUNT(D_8029FA90[0]); i++) {
id = hud_element_create(D_802841C0[1][0]); id = hud_element_create(level_up_digit_scripts[1][0]);
D_8029FA90[1][i] = id; D_8029FA90[1][i] = id;
hud_element_set_render_pos(id, 312, 117); hud_element_set_render_pos(id, 312, 117);
hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80 | HUD_ELEMENT_FLAGS_DISABLED); hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80 | HUD_ELEMENT_FLAGS_DISABLED);
} }
id = hud_element_create(D_802841BC); id = hud_element_create(levelup_stat_scripts[2]);
D_8029FA90[2][0] = id; D_8029FA90[2][0] = id;
hud_element_set_render_pos(id, 8, 117); hud_element_set_render_pos(id, 8, 117);
hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80); hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80);
for (i = 1; i < ARRAY_COUNT(D_8029FA90[20]); i++) { for (i = 1; i < ARRAY_COUNT(D_8029FA90[20]); i++) {
id = hud_element_create(D_802841C0[2][0]); id = hud_element_create(level_up_digit_scripts[2][0]);
D_8029FA90[2][i] = id; D_8029FA90[2][i] = id;
hud_element_set_render_pos(id, 8, 117); hud_element_set_render_pos(id, 8, 117);
hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80 | HUD_ELEMENT_FLAGS_DISABLED); hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80 | HUD_ELEMENT_FLAGS_DISABLED);
@ -367,7 +687,7 @@ void btl_state_update_celebration(void) {
fpTens = playerData->curMaxFP / 10; fpTens = playerData->curMaxFP / 10;
fpOnes = playerData->curMaxFP % 10; fpOnes = playerData->curMaxFP % 10;
id = D_8029FA90[0][1]; id = D_8029FA90[0][1];
hud_element_set_script(id, D_80284238[0][fpTens]); hud_element_set_script(id, level_up_small_digit_scripts[0][fpTens]);
if (fpTens != 0) { if (fpTens != 0) {
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
} }
@ -375,13 +695,13 @@ void btl_state_update_celebration(void) {
hud_element_set_render_pos(id, x - 14, y + 46); hud_element_set_render_pos(id, x - 14, y + 46);
id = D_8029FA90[0][2]; id = D_8029FA90[0][2];
hud_element_set_script(id, D_80284238[0][fpOnes]); hud_element_set_script(id, level_up_small_digit_scripts[0][fpOnes]);
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
hud_element_get_render_pos(id, &x, &y); hud_element_get_render_pos(id, &x, &y);
hud_element_set_render_pos(id, x - 8, y + 46); hud_element_set_render_pos(id, x - 8, y + 46);
id = D_8029FA90[0][3]; id = D_8029FA90[0][3];
hud_element_set_script(id, &D_802AA320); hud_element_set_script(id, &HES_level_up_small_green_arrow);
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
hud_element_get_render_pos(id, &x, &y); hud_element_get_render_pos(id, &x, &y);
hud_element_set_render_pos(id, x - 3, y + 46); hud_element_set_render_pos(id, x - 3, y + 46);
@ -390,7 +710,7 @@ void btl_state_update_celebration(void) {
fpTens = (playerData->curMaxFP + 5) / 10; fpTens = (playerData->curMaxFP + 5) / 10;
fpOnes = (playerData->curMaxFP + 5) % 10; fpOnes = (playerData->curMaxFP + 5) % 10;
id = D_8029FA90[0][4]; id = D_8029FA90[0][4];
hud_element_set_script(id, D_802841C0[0][fpTens]); hud_element_set_script(id, level_up_digit_scripts[0][fpTens]);
if (fpTens != 0) { if (fpTens != 0) {
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
} }
@ -398,7 +718,7 @@ void btl_state_update_celebration(void) {
hud_element_set_render_pos(id, x + 3, y + 46); hud_element_set_render_pos(id, x + 3, y + 46);
id = D_8029FA90[0][5]; id = D_8029FA90[0][5];
hud_element_set_script(id, D_802841C0[0][fpOnes]); hud_element_set_script(id, level_up_digit_scripts[0][fpOnes]);
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
hud_element_get_render_pos(id, &x, &y); hud_element_get_render_pos(id, &x, &y);
hud_element_set_render_pos(id, x + 10, y + 46); hud_element_set_render_pos(id, x + 10, y + 46);
@ -406,7 +726,7 @@ void btl_state_update_celebration(void) {
id = D_8029FA90[0][4]; id = D_8029FA90[0][4];
fpTens = playerData->curMaxFP / 10; fpTens = playerData->curMaxFP / 10;
fpOnes = playerData->curMaxFP % 10; fpOnes = playerData->curMaxFP % 10;
hud_element_set_script(id, D_802841C0[0][fpTens]); hud_element_set_script(id, level_up_digit_scripts[0][fpTens]);
if (fpTens != 0) { if (fpTens != 0) {
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
} }
@ -414,7 +734,7 @@ void btl_state_update_celebration(void) {
hud_element_set_render_pos(id, x - 6, y + 46); hud_element_set_render_pos(id, x - 6, y + 46);
id = D_8029FA90[0][5]; id = D_8029FA90[0][5];
hud_element_set_script(id, D_802841C0[0][fpOnes]); hud_element_set_script(id, level_up_digit_scripts[0][fpOnes]);
hud_element_clear_flags(id, 2); hud_element_clear_flags(id, 2);
hud_element_get_render_pos(id, &x, &y); hud_element_get_render_pos(id, &x, &y);
hud_element_set_render_pos(id, x + 2, y + 46); hud_element_set_render_pos(id, x + 2, y + 46);
@ -435,7 +755,7 @@ void btl_state_update_celebration(void) {
fpOnes = playerData->curMaxHP % 10; fpOnes = playerData->curMaxHP % 10;
id = D_8029FA90[1][1]; id = D_8029FA90[1][1];
hud_element_set_script(id, D_80284238[1][fpTens]); hud_element_set_script(id, level_up_small_digit_scripts[1][fpTens]);
if (fpTens != 0) { if (fpTens != 0) {
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
} }
@ -443,13 +763,13 @@ void btl_state_update_celebration(void) {
hud_element_set_render_pos(id, x - 14, y + 46); hud_element_set_render_pos(id, x - 14, y + 46);
id = D_8029FA90[1][2]; id = D_8029FA90[1][2];
hud_element_set_script(id, D_80284238[1][fpOnes]); hud_element_set_script(id, level_up_small_digit_scripts[1][fpOnes]);
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
hud_element_get_render_pos(id, &x, &y); hud_element_get_render_pos(id, &x, &y);
hud_element_set_render_pos(id, x - 8, y + 46); hud_element_set_render_pos(id, x - 8, y + 46);
id = D_8029FA90[1][3]; id = D_8029FA90[1][3];
hud_element_set_script(id, &D_802AA694); hud_element_set_script(id, &HES_level_up_small_red_arrow);
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
hud_element_get_render_pos(id, &x, &y); hud_element_get_render_pos(id, &x, &y);
hud_element_set_render_pos(id, x - 3, y + 46); hud_element_set_render_pos(id, x - 3, y + 46);
@ -458,7 +778,7 @@ void btl_state_update_celebration(void) {
fpOnes = (playerData->curMaxHP + 5) % 10; fpOnes = (playerData->curMaxHP + 5) % 10;
id = D_8029FA90[1][4]; id = D_8029FA90[1][4];
hud_element_set_script(id, D_802841C0[1][fpTens]); hud_element_set_script(id, level_up_digit_scripts[1][fpTens]);
if (fpTens != 0) { if (fpTens != 0) {
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
} }
@ -466,7 +786,7 @@ void btl_state_update_celebration(void) {
hud_element_set_render_pos(id, x + 3, y + 46); hud_element_set_render_pos(id, x + 3, y + 46);
id = D_8029FA90[1][5]; id = D_8029FA90[1][5];
hud_element_set_script(id, D_802841C0[1][fpOnes]); hud_element_set_script(id, level_up_digit_scripts[1][fpOnes]);
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
hud_element_get_render_pos(id, &x, &y); hud_element_get_render_pos(id, &x, &y);
hud_element_set_render_pos(id, x + 10, y + 46); hud_element_set_render_pos(id, x + 10, y + 46);
@ -475,7 +795,7 @@ void btl_state_update_celebration(void) {
fpOnes = playerData->curMaxHP % 10; fpOnes = playerData->curMaxHP % 10;
id = D_8029FA90[1][4]; id = D_8029FA90[1][4];
hud_element_set_script(id, D_802841C0[1][fpTens]); hud_element_set_script(id, level_up_digit_scripts[1][fpTens]);
if (fpTens != 0) { if (fpTens != 0) {
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
} }
@ -483,7 +803,7 @@ void btl_state_update_celebration(void) {
hud_element_set_render_pos(id, x - 6, y + 46); hud_element_set_render_pos(id, x - 6, y + 46);
id = D_8029FA90[1][5]; id = D_8029FA90[1][5];
hud_element_set_script(id, D_802841C0[1][fpOnes]); hud_element_set_script(id, level_up_digit_scripts[1][fpOnes]);
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
hud_element_get_render_pos(id, &x, &y); hud_element_get_render_pos(id, &x, &y);
hud_element_set_render_pos(id, x + 2, y + 46); hud_element_set_render_pos(id, x + 2, y + 46);
@ -504,7 +824,7 @@ void btl_state_update_celebration(void) {
fpOnes = playerData->maxBP % 10; fpOnes = playerData->maxBP % 10;
id = D_8029FA90[2][1]; id = D_8029FA90[2][1];
hud_element_set_script(id, D_80284238[2][fpTens]); hud_element_set_script(id, level_up_small_digit_scripts[2][fpTens]);
if (fpTens != 0) { if (fpTens != 0) {
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
} }
@ -512,13 +832,13 @@ void btl_state_update_celebration(void) {
hud_element_set_render_pos(id, x - 14, y + 46); hud_element_set_render_pos(id, x - 14, y + 46);
id = D_8029FA90[2][2]; id = D_8029FA90[2][2];
hud_element_set_script(id, D_80284238[2][fpOnes]); hud_element_set_script(id, level_up_small_digit_scripts[2][fpOnes]);
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
hud_element_get_render_pos(id, &x, &y); hud_element_get_render_pos(id, &x, &y);
hud_element_set_render_pos(id, x - 8, y + 46); hud_element_set_render_pos(id, x - 8, y + 46);
id = D_8029FA90[2][3]; id = D_8029FA90[2][3];
hud_element_set_script(id, &D_802AAA08); hud_element_set_script(id, &HES_level_up_small_blue_arrow);
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
hud_element_get_render_pos(id, &x, &y); hud_element_get_render_pos(id, &x, &y);
hud_element_set_render_pos(id, x - 3, y + 46); hud_element_set_render_pos(id, x - 3, y + 46);
@ -527,7 +847,7 @@ void btl_state_update_celebration(void) {
fpOnes = (playerData->maxBP + 3) % 10; fpOnes = (playerData->maxBP + 3) % 10;
id = D_8029FA90[2][4]; id = D_8029FA90[2][4];
hud_element_set_script(id, D_802841C0[2][fpTens]); hud_element_set_script(id, level_up_digit_scripts[2][fpTens]);
if (fpTens != 0) { if (fpTens != 0) {
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
} }
@ -535,19 +855,19 @@ void btl_state_update_celebration(void) {
hud_element_set_render_pos(id, x + 3, y + 46); hud_element_set_render_pos(id, x + 3, y + 46);
id = D_8029FA90[2][5]; id = D_8029FA90[2][5];
hud_element_set_script(id, D_802841C0[2][fpOnes]); hud_element_set_script(id, level_up_digit_scripts[2][fpOnes]);
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
hud_element_get_render_pos(id, &x, &y); hud_element_get_render_pos(id, &x, &y);
hud_element_set_render_pos(id, x + 10, y + 46); hud_element_set_render_pos(id, x + 10, y + 46);
} else { } else {
id = D_8029FA90[2][4]; id = D_8029FA90[2][4];
hud_element_set_script(id, D_802841C0[2][3]); hud_element_set_script(id, level_up_digit_scripts[2][3]);
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
hud_element_get_render_pos(id, &x, &y); hud_element_get_render_pos(id, &x, &y);
hud_element_set_render_pos(id, x - 6, y + 46); hud_element_set_render_pos(id, x - 6, y + 46);
id = D_8029FA90[2][5]; id = D_8029FA90[2][5];
hud_element_set_script(id, D_802841C0[2][0]); hud_element_set_script(id, level_up_digit_scripts[2][0]);
hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED); hud_element_clear_flags(id, HUD_ELEMENT_FLAGS_DISABLED);
hud_element_get_render_pos(id, &x, &y); hud_element_get_render_pos(id, &x, &y);
hud_element_set_render_pos(id, x + 2, y + 46); hud_element_set_render_pos(id, x + 2, y + 46);
@ -564,7 +884,7 @@ void btl_state_update_celebration(void) {
hud_element_set_alpha(id, 200); hud_element_set_alpha(id, 200);
hud_element_set_flags(id, HUD_ELEMENT_FLAGS_FILTER_TEX | HUD_ELEMENT_FLAGS_80); hud_element_set_flags(id, HUD_ELEMENT_FLAGS_FILTER_TEX | HUD_ELEMENT_FLAGS_80);
D_8029FB48 = id = hud_element_create(&D_802AAA30); D_8029FB48 = id = hud_element_create(&HES_level_up_select_one_to_upgrade);
hud_element_set_render_pos(id, 0, 0); hud_element_set_render_pos(id, 0, 0);
hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80); hud_element_set_flags(id, HUD_ELEMENT_FLAGS_80);
battleStatus->currentSubmenu = 1; battleStatus->currentSubmenu = 1;
@ -740,7 +1060,7 @@ void btl_state_update_celebration(void) {
break; break;
} }
} }
if (D_80284150 == 0xFF) { if (D_80284150 == 255) {
gBattleState2 = BATTLE_STATE2_UNK_B; gBattleState2 = BATTLE_STATE2_UNK_B;
break; break;
} }
@ -822,7 +1142,7 @@ void btl_state_update_celebration(void) {
partner->currentPos.x += 4.0f; partner->currentPos.x += 4.0f;
} }
} }
if (D_80284150 == 0xFF) { if (D_80284150 == 255) {
gBattleState2 = BATTLE_STATE2_UNK_16; gBattleState2 = BATTLE_STATE2_UNK_16;
break; break;
} }
@ -957,20 +1277,20 @@ void btl_state_draw_celebration(void) {
} }
id = D_8029FA80[0]; id = D_8029FA80[0];
if (hud_element_get_script(id) != &D_802A9F34) { if (hud_element_get_script(id) != &HES_level_up_heart_copy) {
hud_element_set_script(id, &D_802A9F34); hud_element_set_script(id, &HES_level_up_heart_copy);
} }
id = D_8029FA80[3]; id = D_8029FA80[3];
if (hud_element_get_script(id) != &D_802A9F84) { if (hud_element_get_script(id) != &HES_level_up_leaves) {
hud_element_set_script(id, &D_802A9F84); hud_element_set_script(id, &HES_level_up_leaves);
} }
id = D_8029FA80[1]; id = D_8029FA80[1];
if (hud_element_get_script(id) != &D_802A9F5C) { if (hud_element_get_script(id) != &HES_level_up_flower) {
hud_element_set_script(id, &D_802A9F5C); hud_element_set_script(id, &HES_level_up_flower);
} }
id = D_8029FA80[2]; id = D_8029FA80[2];
if (hud_element_get_script(id) != &D_802A9FAC) { if (hud_element_get_script(id) != &HES_level_up_badge) {
hud_element_set_script(id, &D_802A9FAC); hud_element_set_script(id, &HES_level_up_badge);
} }
break; break;
case 1: case 1:

File diff suppressed because it is too large Load Diff

View File

@ -6,16 +6,8 @@
#include "model.h" #include "model.h"
#include "sprite.h" #include "sprite.h"
typedef struct PartnerDMAData {
/* 0x00 */ u32 dmaStart;
/* 0x04 */ u32 dmaEnd;
/* 0x08 */ void* dmaDest;
/* 0x0C */ ActorBlueprint* ActorBlueprint;
/* 0x10 */ s32 y;
} PartnerDMAData; // size = 0x14
EvtScript D_80293820 = { EvtScript D_80293820 = {
EVT_WAIT(LocalVar(0)) EVT_WAIT(LVar0)
EVT_LOOP(4) EVT_LOOP(4)
EVT_CALL(SetBattleCamParam, 4, 11) EVT_CALL(SetBattleCamParam, 4, 11)
EVT_WAIT(1) EVT_WAIT(1)
@ -61,7 +53,7 @@ extern s32 bPlayerStatusTable[];
extern ActorBlueprint bPlayerActorBlueprint; extern ActorBlueprint bPlayerActorBlueprint;
extern ActorPartBlueprint bMarioParts[]; extern ActorPartBlueprint bMarioParts[];
extern PartnerDMAData D_80283F10[]; extern PartnerDMAData bPartnerDmaTable[];
s32 func_80265CE8(AnimID*, s32); s32 func_80265CE8(AnimID*, s32);
@ -1042,7 +1034,7 @@ void load_partner_actor(void) {
battleStatus->partnerActor = NULL; battleStatus->partnerActor = NULL;
if (currentPartner != PARTNER_NONE) { if (currentPartner != PARTNER_NONE) {
partnerData = &D_80283F10[currentPartner]; partnerData = &bPartnerDmaTable[currentPartner];
ActorBlueprint = partnerData->ActorBlueprint; ActorBlueprint = partnerData->ActorBlueprint;
ASSERT(ActorBlueprint != NULL); ASSERT(ActorBlueprint != NULL);

View File

@ -1019,7 +1019,7 @@ EvtScript D_80298724 = {
EVT_CASE_DEFAULT EVT_CASE_DEFAULT
EVT_EXEC_WAIT(D_80297A38) EVT_EXEC_WAIT(D_80297A38)
EVT_END_SWITCH EVT_END_SWITCH
EVT_IF_NE(LVar2, 000000) EVT_IF_NE(LVar2, 0)
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, LVar2) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, LVar2)
EVT_WAIT(8) EVT_WAIT(8)
EVT_END_IF EVT_END_IF
@ -1029,7 +1029,7 @@ EvtScript D_80298724 = {
EvtScript D_802988F0 = { EvtScript D_802988F0 = {
EVT_EXEC_WAIT(D_80297A38) EVT_EXEC_WAIT(D_80297A38)
EVT_IF_NE(LVar2, 000000) EVT_IF_NE(LVar2, 0)
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, LVar2) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, LVar2)
EVT_WAIT(8) EVT_WAIT(8)
EVT_END_IF EVT_END_IF

View File

@ -27,7 +27,7 @@ EvtScript D_80077C44 = {
EVT_CALL(SetNpcFlagBits, NPC_BTL_MERLEE, NPC_FLAG_100, TRUE) EVT_CALL(SetNpcFlagBits, NPC_BTL_MERLEE, NPC_FLAG_100, TRUE)
EVT_CALL(SetNpcYaw, NPC_BTL_MERLEE, 0) EVT_CALL(SetNpcYaw, NPC_BTL_MERLEE, 0)
EVT_CALL(GetCamLookAtObjVector) EVT_CALL(GetCamLookAtObjVector)
EVT_CALL(SetNpcPos, NPC_BTL_MERLEE, LVar0, LocalVar(1), LocalVar(2)) EVT_CALL(SetNpcPos, NPC_BTL_MERLEE, LVar0, LVar1, LVar2)
EVT_THREAD EVT_THREAD
EVT_CALL(MerleeUpdateFX) EVT_CALL(MerleeUpdateFX)
EVT_END_THREAD EVT_END_THREAD
@ -42,9 +42,9 @@ EvtScript D_80077C44 = {
EVT_CALL(DeleteNpc, NPC_BTL_MERLEE) EVT_CALL(DeleteNpc, NPC_BTL_MERLEE)
EVT_END_THREAD EVT_END_THREAD
EVT_CALL(PlaySound, SOUND_2075) EVT_CALL(PlaySound, SOUND_2075)
EVT_CALL(GetPlayerPos, LVar0, LocalVar(1), LocalVar(2)) EVT_CALL(GetPlayerPos, LVar0, LVar1, LVar2)
EVT_CALL(PlayMerleeGatherFX, LVar0, LocalVar(1), LocalVar(2)) EVT_CALL(PlayMerleeGatherFX, LVar0, LVar1, LVar2)
EVT_CALL(PlayMerleeOrbFX, LVar0, LocalVar(1), LocalVar(2)) EVT_CALL(PlayMerleeOrbFX, LVar0, LVar1, LVar2)
EVT_WAIT(15) EVT_WAIT(15)
EVT_CALL(ShowMerleeCoinMessage) EVT_CALL(ShowMerleeCoinMessage)
EVT_WAIT(15) EVT_WAIT(15)

View File

@ -3530,7 +3530,7 @@ void btl_state_draw_player_menu(void) {
case BATTLE_STATE2_UNK_2: case BATTLE_STATE2_UNK_2:
case BATTLE_STATE2_UNK_3: case BATTLE_STATE2_UNK_3:
case BATTLE_STATE2_UNK_4: case BATTLE_STATE2_UNK_4:
case BATTLE_STATE2_UNK_5: case BATTLE_STATE2_BEGIN_LEVEL_UP:
case BATTLE_STATE2_PLAYER_DEFEATED: case BATTLE_STATE2_PLAYER_DEFEATED:
case BATTLE_STATE2_UNK_B: case BATTLE_STATE2_UNK_B:
case BATTLE_STATE2_UNK_C: case BATTLE_STATE2_UNK_C:
@ -3587,8 +3587,8 @@ void btl_state_draw_partner_menu(void) {
break; break;
case BATTLE_STATE2_UNK_3: case BATTLE_STATE2_UNK_3:
case BATTLE_STATE2_UNK_4: case BATTLE_STATE2_UNK_4:
case BATTLE_STATE2_UNK_5: case BATTLE_STATE2_BEGIN_LEVEL_UP:
case BATTLE_STATE2_UNK_6: case BATTLE_STATE2_LEVEL_UP_SHOW_HUD:
case BATTLE_STATE2_PLAYER_DEFEATED: case BATTLE_STATE2_PLAYER_DEFEATED:
case BATTLE_STATE2_UNK_B: case BATTLE_STATE2_UNK_B:
case BATTLE_STATE2_UNK_C: case BATTLE_STATE2_UNK_C:
@ -3808,10 +3808,10 @@ void btl_state_draw_peach_menu(void) {
case BATTLE_STATE2_UNK_4: case BATTLE_STATE2_UNK_4:
btl_draw_menu_wheel(); btl_draw_menu_wheel();
break; break;
case BATTLE_STATE2_UNK_5: case BATTLE_STATE2_BEGIN_LEVEL_UP:
btl_draw_menu_wheel(); btl_draw_menu_wheel();
break; break;
case BATTLE_STATE2_UNK_6: case BATTLE_STATE2_LEVEL_UP_SHOW_HUD:
case BATTLE_STATE2_UNK_7: case BATTLE_STATE2_UNK_7:
case BATTLE_STATE2_UNK_8: case BATTLE_STATE2_UNK_8:
case BATTLE_STATE2_UNK_9: case BATTLE_STATE2_UNK_9:
@ -3979,7 +3979,7 @@ void btl_state_update_twink_menu(void) {
btl_state_update_twink_menu(); btl_state_update_twink_menu();
btl_state_update_twink_menu(); btl_state_update_twink_menu();
break; break;
case BATTLE_STATE2_UNK_5: case BATTLE_STATE2_BEGIN_LEVEL_UP:
func_802A10B8(); func_802A10B8();
break; break;
case BATTLE_STATE2_UNK_8: case BATTLE_STATE2_UNK_8:
@ -4014,10 +4014,10 @@ void btl_state_draw_twink_menu(void) {
case BATTLE_STATE2_UNK_4: case BATTLE_STATE2_UNK_4:
btl_draw_menu_wheel(); btl_draw_menu_wheel();
break; break;
case BATTLE_STATE2_UNK_5: case BATTLE_STATE2_BEGIN_LEVEL_UP:
btl_draw_menu_wheel(); btl_draw_menu_wheel();
break; break;
case BATTLE_STATE2_UNK_6: case BATTLE_STATE2_LEVEL_UP_SHOW_HUD:
case BATTLE_STATE2_UNK_7: case BATTLE_STATE2_UNK_7:
case BATTLE_STATE2_UNK_8: case BATTLE_STATE2_UNK_8:
case BATTLE_STATE2_UNK_9: case BATTLE_STATE2_UNK_9:

View File

@ -970,7 +970,6 @@ void au_swizzle_BK_instruments(s32 bkFileOffset, SoundBank* bank, InstrumentGrou
} }
} }
#ifdef NON_MATCHING
enum ReadState { enum ReadState {
BK_READ_DONE = 0, BK_READ_DONE = 0,
BK_READ_FETCH_HEADER = 11, BK_READ_FETCH_HEADER = 11,
@ -984,47 +983,55 @@ enum ReadState {
s32* func_80054AA0(s32* bkFileOffset, void* vaddr, s32 bankIndex, s32 bankGroup) { s32* func_80054AA0(s32* bkFileOffset, void* vaddr, s32 bankIndex, s32 bankGroup) {
ALHeap* heap = gSynDriverPtr->heap; ALHeap* heap = gSynDriverPtr->heap;
BKHeader localHeader; BKHeader localHeader;
void* fileData = vaddr;
BKHeader* header = &localHeader; BKHeader* header = &localHeader;
Instrument** instrumentGroup; InstrumentGroup* group;
Instrument* instruments; Instrument* instruments;
Instrument** inst;
u32 instrCount; u32 instrCount;
u32 readState; u32 readState;
s32 keepReading; s32 keepReading;
void* fileData = vaddr;
u32 i;
fileData = vaddr; u32 i;
s32 swizzleArg;
swizzleArg = 0;
readState = BK_READ_FETCH_HEADER; readState = BK_READ_FETCH_HEADER;
keepReading = TRUE; keepReading = TRUE;
while (keepReading) { while (keepReading) {
switch (readState) { switch (readState) {
case BK_READ_DONE: case BK_READ_DONE:
keepReading = FALSE; keepReading = FALSE;
break; break;
case BK_READ_FETCH_HEADER: case BK_READ_FETCH_HEADER:
au_read_rom(*bkFileOffset, &localHeader, 0x40U); au_read_rom(*bkFileOffset, &localHeader, sizeof(localHeader));
if ((header->signature == AL_HEADER_SIG_BK) && (header->size != 0) && (header->format == AL_HEADER_SIG_CR)) { if (header->signature != AL_HEADER_SIG_BK) {
readState = BK_READ_FETCH_DATA;
} else {
keepReading = FALSE; keepReading = FALSE;
} else if (header->size == 0) {
keepReading = FALSE;
} else if (header->format != AL_HEADER_SIG_CR) {
keepReading = FALSE;
} else {
readState = BK_READ_FETCH_DATA;
} }
break; break;
case BK_READ_FETCH_DATA: case BK_READ_FETCH_DATA:
if (vaddr == NULL) { if (fileData == NULL) {
fileData = alHeapAlloc(heap, 1, header->size); fileData = alHeapAlloc(heap, 1, header->size);
} }
au_read_rom(*bkFileOffset, fileData, header->size); au_read_rom(*bkFileOffset, fileData, header->size);
instrCount = 0; instrCount = 0;
instrumentGroup = (Instrument**)au_get_BK_instruments(bankGroup, bankIndex); group = au_get_BK_instruments(bankGroup, bankIndex);
inst = (*group);
for (i = 0; i < 16; i++) { for(i = 0; i < ARRAY_COUNT(header->instruments); inst++, i++) {
if (header->instruments[i] != 0) { u16 instOffset = header->instruments[i];
instrumentGroup[i] = header->instruments[i] + fileData; if(instOffset != 0) {
instrCount++; instrCount++;
*inst = (Instrument*)(instOffset + (s32)fileData);
} else { } else {
instrumentGroup[i] = NULL; *inst = NULL;
} }
} }
@ -1035,7 +1042,7 @@ s32* func_80054AA0(s32* bkFileOffset, void* vaddr, s32 bankIndex, s32 bankGroup)
} }
break; break;
case BK_READ_SWIZZLE: case BK_READ_SWIZZLE:
au_swizzle_BK_instruments(fileData, fileData, instrumentGroup, 0x10U, 0); au_swizzle_BK_instruments((s32)fileData, fileData, *group, 0x10U, swizzleArg);
readState = BK_READ_DONE; readState = BK_READ_DONE;
break; break;
default: default:
@ -1045,9 +1052,6 @@ s32* func_80054AA0(s32* bkFileOffset, void* vaddr, s32 bankIndex, s32 bankGroup)
} }
return fileData; return fileData;
} }
#else
INCLUDE_ASM(s32, "audio/2e230_len_2190", func_80054AA0);
#endif
s32 snd_load_BK(s32 bkFileOffset, s32 bankIndex) { s32 snd_load_BK(s32 bkFileOffset, s32 bankIndex) {
snd_load_BK_to_bank(bkFileOffset, gSoundGlobals->banks[bankIndex], bankIndex, 1); snd_load_BK_to_bank(bkFileOffset, gSoundGlobals->banks[bankIndex], bankIndex, 1);

817
src/audio/tables.c Normal file
View File

@ -0,0 +1,817 @@
#include "common.h"
f32 D_80078F60[] = {
-1.0, 0.0, 3.850119e-06, 6.102301e-06, 7.700253e-06, 8.939723e-06, 9.952444e-06, 1.080869e-05,
1.155040e-05, 1.220464e-05, 1.278988e-05, 1.331929e-05, 1.380260e-05, 1.424721e-05, 1.465885e-05, 1.504208e-05,
1.540057e-05, 1.573731e-05, 1.605481e-05, 1.635513e-05, 1.664004e-05, 1.691106e-05, 1.716946e-05, 1.741637e-05,
1.765277e-05, 1.787953e-05, 1.809738e-05, 1.830702e-05, 1.850903e-05, 1.870394e-05, 1.889226e-05, 1.907439e-05,
1.925074e-05, 1.942167e-05, 1.958749e-05, 1.974851e-05, 1.990499e-05, 2.005718e-05, 2.020531e-05, 2.034960e-05,
2.049023e-05, 2.062739e-05, 2.076124e-05, 2.089194e-05, 2.101964e-05, 2.114447e-05, 2.126656e-05, 2.138602e-05,
2.150296e-05, 2.161749e-05, 2.172971e-05, 2.183971e-05, 2.194757e-05, 2.205338e-05, 2.215721e-05, 2.225913e-05,
2.235922e-05, 2.245753e-05, 2.255414e-05, 2.264909e-05, 2.274245e-05, 2.283426e-05, 2.292458e-05, 2.301346e-05,
2.310094e-05, 2.318706e-05, 2.327186e-05, 2.335539e-05, 2.343769e-05, 2.351878e-05, 2.359870e-05, 2.367749e-05,
2.375518e-05, 2.383180e-05, 2.390738e-05, 2.398194e-05, 2.405551e-05, 2.412812e-05, 2.419979e-05, 2.427056e-05,
2.434043e-05, 2.440943e-05, 2.447759e-05, 2.454492e-05, 2.461144e-05, 2.467718e-05, 2.474214e-05, 2.480636e-05,
2.486984e-05, 2.493261e-05, 2.499467e-05, 2.505605e-05, 2.511676e-05, 2.517681e-05, 2.523622e-05, 2.529500e-05,
2.535316e-05, 2.541073e-05, 2.546770e-05, 2.552409e-05, 2.557992e-05, 2.563519e-05, 2.568991e-05, 2.574411e-05,
2.579777e-05, 2.585093e-05, 2.590358e-05, 2.595574e-05, 2.600741e-05, 2.605861e-05, 2.610933e-05, 2.615960e-05,
2.620942e-05, 2.625880e-05, 2.630774e-05, 2.635625e-05, 2.640434e-05, 2.645202e-05, 2.649930e-05, 2.654617e-05,
2.659265e-05, 2.663875e-05, 2.668447e-05, 2.672981e-05, 2.677479e-05, 2.681941e-05, 2.686367e-05, 2.690758e-05,
2.695115e-05, 2.699437e-05, 2.703727e-05, 2.707983e-05, 2.712207e-05, 2.716400e-05, 2.720560e-05, 2.724690e-05,
2.728790e-05, 2.732859e-05, 2.736899e-05, 2.740909e-05, 2.744891e-05, 2.748845e-05, 2.752770e-05, 2.756669e-05,
2.760539e-05, 2.764383e-05, 2.768201e-05, 2.771993e-05, 2.775759e-05, 2.779499e-05, 2.783215e-05, 2.786906e-05,
2.790572e-05, 2.794215e-05, 2.797833e-05, 2.801428e-05, 2.805001e-05, 2.808550e-05, 2.812077e-05, 2.815581e-05,
2.819064e-05, 2.822525e-05, 2.825964e-05, 2.829383e-05, 2.832780e-05, 2.836157e-05, 2.839513e-05, 2.842849e-05,
2.846165e-05, 2.849462e-05, 2.852739e-05, 2.855997e-05, 2.859236e-05, 2.862456e-05, 2.865658e-05, 2.868841e-05,
2.872006e-05, 2.875153e-05, 2.878282e-05, 2.881394e-05, 2.884489e-05, 2.887566e-05, 2.890627e-05, 2.893670e-05,
2.896697e-05, 2.899708e-05, 2.902703e-05, 2.905681e-05, 2.908643e-05, 2.911590e-05, 2.914522e-05, 2.917437e-05,
2.920338e-05, 2.923224e-05, 2.926094e-05, 2.928950e-05, 2.931791e-05, 2.934618e-05, 2.937431e-05, 2.940229e-05,
2.943013e-05, 2.945784e-05, 2.948541e-05, 2.951284e-05, 2.954013e-05, 2.956729e-05, 2.959432e-05, 2.962122e-05,
2.964799e-05, 2.967463e-05, 2.970115e-05, 2.972754e-05, 2.975380e-05, 2.977994e-05, 2.980596e-05, 2.983185e-05,
2.985763e-05, 2.988329e-05, 2.990883e-05, 2.993425e-05, 2.995955e-05, 2.998475e-05, 3.000982e-05, 3.003479e-05,
3.005964e-05, 3.008438e-05, 3.010902e-05, 3.013354e-05, 3.015796e-05, 3.018227e-05, 3.020647e-05, 3.023057e-05,
3.025456e-05, 3.027845e-05, 3.030224e-05, 3.032593e-05, 3.034952e-05, 3.037300e-05, 3.039639e-05, 3.041968e-05,
3.044288e-05, 3.046597e-05, 3.048897e-05, 3.051188e-05, 3.053469e-05, 3.055741e-05, 3.058004e-05, 3.060257e-05,
3.062501e-05, 3.064737e-05, 3.066963e-05, 3.069181e-05, 3.071389e-05, 3.073589e-05, 3.075780e-05, 3.077963e-05,
3.080137e-05, 3.082302e-05, 3.084460e-05, 3.086608e-05, 3.088749e-05, 3.090881e-05, 3.093006e-05, 3.095122e-05,
3.097230e-05, 3.099330e-05, 3.101422e-05, 3.103506e-05, 3.105583e-05, 3.107652e-05, 3.109713e-05, 3.111766e-05,
3.113812e-05, 3.115851e-05, 3.117882e-05, 3.119905e-05, 3.121921e-05, 3.123930e-05, 3.125932e-05, 3.127926e-05,
3.129914e-05, 3.131894e-05, 3.133867e-05, 3.135834e-05, 3.137793e-05, 3.139745e-05, 3.141691e-05, 3.143630e-05,
3.145562e-05, 3.147487e-05, 3.149406e-05, 3.151318e-05, 3.153224e-05, 3.155123e-05, 3.157015e-05, 3.158902e-05,
3.160781e-05, 3.162655e-05, 3.164522e-05, 3.166383e-05, 3.168237e-05, 3.170086e-05, 3.171928e-05, 3.173765e-05,
3.175595e-05, 3.177419e-05, 3.179237e-05, 3.181049e-05, 3.182856e-05, 3.184656e-05, 3.186451e-05, 3.188240e-05,
3.190023e-05, 3.191801e-05, 3.193573e-05, 3.195339e-05, 3.197100e-05, 3.198855e-05, 3.200604e-05, 3.202348e-05,
3.204087e-05, 3.205820e-05, 3.207548e-05, 3.209270e-05, 3.210987e-05, 3.212699e-05, 3.214405e-05, 3.216107e-05,
3.217803e-05, 3.219494e-05, 3.221179e-05, 3.222860e-05, 3.224536e-05, 3.226206e-05, 3.227872e-05, 3.229533e-05,
3.231188e-05, 3.232839e-05, 3.234485e-05, 3.236126e-05, 3.237762e-05, 3.239393e-05, 3.241020e-05, 3.242642e-05,
3.244259e-05, 3.245871e-05, 3.247479e-05, 3.249082e-05, 3.250680e-05, 3.252274e-05, 3.253864e-05, 3.255449e-05,
3.257029e-05, 3.258605e-05, 3.260176e-05, 3.261743e-05, 3.263305e-05, 3.264864e-05, 3.266417e-05, 3.267967e-05,
3.269512e-05, 3.271053e-05, 3.272589e-05, 3.274122e-05, 3.275650e-05, 3.277174e-05, 3.278693e-05, 3.280209e-05,
3.281721e-05, 3.283228e-05, 3.284731e-05, 3.286230e-05, 3.287726e-05, 3.289217e-05, 3.290704e-05, 3.292187e-05,
3.293667e-05, 3.295142e-05, 3.296613e-05, 3.298081e-05, 3.299545e-05, 3.301005e-05, 3.302461e-05, 3.303913e-05,
3.305361e-05, 3.306806e-05, 3.308247e-05, 3.309684e-05, 3.311117e-05, 3.312547e-05, 3.313973e-05, 3.315396e-05,
3.316815e-05, 3.318230e-05, 3.319641e-05, 3.321049e-05, 3.322454e-05, 3.323855e-05, 3.325252e-05, 3.326646e-05,
3.328037e-05, 3.329424e-05, 3.330807e-05, 3.332187e-05, 3.333564e-05, 3.334937e-05, 3.336307e-05, 3.337673e-05,
3.339036e-05, 3.340396e-05, 3.341753e-05, 3.343106e-05, 3.344456e-05, 3.345802e-05, 3.347146e-05, 3.348486e-05,
3.349823e-05, 3.351156e-05, 3.352487e-05, 3.353814e-05, 3.355138e-05, 3.356459e-05, 3.357777e-05, 3.359092e-05,
3.360403e-05, 3.361712e-05, 3.363017e-05, 3.364320e-05, 3.365619e-05, 3.366915e-05, 3.368209e-05, 3.369499e-05,
3.370786e-05, 3.372071e-05, 3.373352e-05, 3.374631e-05, 3.375906e-05, 3.377179e-05, 3.378448e-05, 3.379715e-05,
3.380979e-05, 3.382240e-05, 3.383498e-05, 3.384753e-05, 3.386006e-05, 3.387255e-05, 3.388502e-05, 3.389746e-05,
3.390988e-05, 3.392226e-05, 3.393462e-05, 3.394695e-05, 3.395925e-05, 3.397153e-05, 3.398378e-05, 3.399600e-05,
3.400819e-05, 3.402036e-05, 3.403250e-05, 3.404462e-05, 3.405671e-05, 3.406877e-05, 3.408080e-05, 3.409281e-05,
3.410480e-05, 3.411676e-05, 3.412869e-05, 3.414060e-05, 3.415248e-05, 3.416434e-05, 3.417617e-05, 3.418797e-05,
3.419975e-05, 3.421151e-05, 3.422324e-05, 3.423495e-05, 3.424663e-05, 3.425829e-05, 3.426992e-05, 3.428153e-05,
3.429311e-05, 3.430467e-05, 3.431621e-05, 3.432772e-05, 3.433921e-05, 3.435068e-05, 3.436212e-05, 3.437353e-05,
3.438493e-05, 3.439630e-05, 3.440765e-05, 3.441897e-05, 3.443027e-05, 3.444155e-05, 3.445281e-05, 3.446404e-05,
3.447525e-05, 3.448644e-05, 3.449760e-05, 3.450875e-05, 3.451987e-05, 3.453097e-05, 3.454204e-05, 3.455310e-05,
3.456413e-05, 3.457514e-05, 3.458613e-05, 3.459709e-05, 3.460804e-05, 3.461896e-05, 3.462987e-05, 3.464075e-05,
};
f32 D_80079760[] = {
-1.0, 0.0, 4.331367e-06, 6.865063e-06, 8.662753e-06, 1.005715e-05, 1.119646e-05, 1.215973e-05,
1.299416e-05, 1.373017e-05, 1.438856e-05, 1.498415e-05, 1.552788e-05, 1.602806e-05, 1.649115e-05, 1.692228e-05,
1.732558e-05, 1.770442e-05, 1.806160e-05, 1.839946e-05, 1.871999e-05, 1.902488e-05, 1.931558e-05, 1.959336e-05,
1.985931e-05, 2.011440e-05, 2.035949e-05, 2.059533e-05, 2.082259e-05, 2.104188e-05, 2.125372e-05, 2.145863e-05,
2.165702e-05, 2.184931e-05, 2.203586e-05, 2.221701e-05, 2.239305e-05, 2.256426e-05, 2.273091e-05, 2.289323e-05,
2.305144e-05, 2.320574e-05, 2.335633e-05, 2.350337e-05, 2.364703e-05, 2.378746e-05, 2.392481e-05, 2.405920e-05,
2.419076e-05, 2.431961e-05, 2.444586e-05, 2.456961e-05, 2.469095e-05, 2.480998e-05, 2.492679e-05, 2.504145e-05,
2.515405e-05, 2.526465e-05, 2.537333e-05, 2.548016e-05, 2.558518e-05, 2.568848e-05, 2.579009e-05, 2.589007e-05,
2.598848e-05, 2.608537e-05, 2.618078e-05, 2.627475e-05, 2.636733e-05, 2.645855e-05, 2.654847e-05, 2.663711e-05,
2.672451e-05, 2.681070e-05, 2.689573e-05, 2.697961e-05, 2.706238e-05, 2.714406e-05, 2.722470e-05, 2.730430e-05,
2.738291e-05, 2.746054e-05, 2.753721e-05, 2.761296e-05, 2.768780e-05, 2.776175e-05, 2.783484e-05, 2.790708e-05,
2.797850e-05, 2.804911e-05, 2.811893e-05, 2.818798e-05, 2.825628e-05, 2.832384e-05, 2.839067e-05, 2.845680e-05,
2.852224e-05, 2.858699e-05, 2.865109e-05, 2.871453e-05, 2.877733e-05, 2.883951e-05, 2.890108e-05, 2.896205e-05,
2.902242e-05, 2.908222e-05, 2.914145e-05, 2.920013e-05, 2.925826e-05, 2.931586e-05, 2.937293e-05, 2.942948e-05,
2.948552e-05, 2.954107e-05, 2.959613e-05, 2.965071e-05, 2.970481e-05, 2.975845e-05, 2.981163e-05, 2.986437e-05,
2.991666e-05, 2.996852e-05, 3.001995e-05, 3.007097e-05, 3.012157e-05, 3.017176e-05, 3.022155e-05, 3.027095e-05,
3.031996e-05, 3.036859e-05, 3.041685e-05, 3.046474e-05, 3.051226e-05, 3.055942e-05, 3.060623e-05, 3.065269e-05,
3.069881e-05, 3.074459e-05, 3.079004e-05, 3.083516e-05, 3.087995e-05, 3.092443e-05, 3.096859e-05, 3.101245e-05,
3.105599e-05, 3.109924e-05, 3.114219e-05, 3.118484e-05, 3.122721e-05, 3.126929e-05, 3.131109e-05, 3.135261e-05,
3.139386e-05, 3.143484e-05, 3.147555e-05, 3.151599e-05, 3.155618e-05, 3.159611e-05, 3.163579e-05, 3.167521e-05,
3.171439e-05, 3.175333e-05, 3.179202e-05, 3.183048e-05, 3.186870e-05, 3.190669e-05, 3.194444e-05, 3.198198e-05,
3.201928e-05, 3.205637e-05, 3.209324e-05, 3.212989e-05, 3.216633e-05, 3.220255e-05, 3.223857e-05, 3.227438e-05,
3.230999e-05, 3.234539e-05, 3.238060e-05, 3.241561e-05, 3.245042e-05, 3.248504e-05, 3.251947e-05, 3.255371e-05,
3.258777e-05, 3.262164e-05, 3.265533e-05, 3.268883e-05, 3.272216e-05, 3.275531e-05, 3.278829e-05, 3.282109e-05,
3.285373e-05, 3.288619e-05, 3.291848e-05, 3.295061e-05, 3.298258e-05, 3.301438e-05, 3.304602e-05, 3.307750e-05,
3.310882e-05, 3.313999e-05, 3.317100e-05, 3.320186e-05, 3.323257e-05, 3.326313e-05, 3.329354e-05, 3.332380e-05,
3.335392e-05, 3.338389e-05, 3.341372e-05, 3.344340e-05, 3.347295e-05, 3.350236e-05, 3.353163e-05, 3.356076e-05,
3.358976e-05, 3.361862e-05, 3.364735e-05, 3.367595e-05, 3.370442e-05, 3.373276e-05, 3.376097e-05, 3.378906e-05,
3.381702e-05, 3.384485e-05, 3.387257e-05, 3.390016e-05, 3.392762e-05, 3.395497e-05, 3.398220e-05, 3.400931e-05,
3.403631e-05, 3.406318e-05, 3.408995e-05, 3.411659e-05, 3.414313e-05, 3.416955e-05, 3.419586e-05, 3.422207e-05,
3.424816e-05, 3.427414e-05, 3.430002e-05, 3.432579e-05, 3.435145e-05, 3.437701e-05, 3.440246e-05, 3.442781e-05,
3.445306e-05, 3.447821e-05, 3.450326e-05, 3.452820e-05, 3.455305e-05, 3.457780e-05, 3.460245e-05, 3.462700e-05,
3.465146e-05, 3.467583e-05, 3.470009e-05, 3.472427e-05, 3.474835e-05, 3.477234e-05, 3.479623e-05, 3.482004e-05,
3.484376e-05, 3.486738e-05, 3.489092e-05, 3.491437e-05, 3.493773e-05, 3.496100e-05, 3.498419e-05, 3.500729e-05,
3.503031e-05, 3.505324e-05, 3.507609e-05, 3.509885e-05, 3.512154e-05, 3.514414e-05, 3.516666e-05, 3.518909e-05,
3.521145e-05, 3.523373e-05, 3.525593e-05, 3.527805e-05, 3.530009e-05, 3.532206e-05, 3.534395e-05, 3.536576e-05,
3.538749e-05, 3.540915e-05, 3.543074e-05, 3.545225e-05, 3.547369e-05, 3.549505e-05, 3.551635e-05, 3.553756e-05,
3.555871e-05, 3.557979e-05, 3.560079e-05, 3.562173e-05, 3.564259e-05, 3.566339e-05, 3.568411e-05, 3.570477e-05,
3.572536e-05, 3.574589e-05, 3.576634e-05, 3.578673e-05, 3.580705e-05, 3.582731e-05, 3.584750e-05, 3.586762e-05,
3.588769e-05, 3.590768e-05, 3.592762e-05, 3.594749e-05, 3.596729e-05, 3.598704e-05, 3.600672e-05, 3.602634e-05,
3.604590e-05, 3.606540e-05, 3.608483e-05, 3.610421e-05, 3.612353e-05, 3.614278e-05, 3.616198e-05, 3.618112e-05,
3.620020e-05, 3.621923e-05, 3.623819e-05, 3.625710e-05, 3.627595e-05, 3.629474e-05, 3.631348e-05, 3.633216e-05,
3.635079e-05, 3.636936e-05, 3.638788e-05, 3.640634e-05, 3.642474e-05, 3.644310e-05, 3.646140e-05, 3.647964e-05,
3.649783e-05, 3.651597e-05, 3.653406e-05, 3.655209e-05, 3.657008e-05, 3.658801e-05, 3.660589e-05, 3.662372e-05,
3.664150e-05, 3.665922e-05, 3.667690e-05, 3.669453e-05, 3.671211e-05, 3.672964e-05, 3.674712e-05, 3.676455e-05,
3.678193e-05, 3.679926e-05, 3.681655e-05, 3.683379e-05, 3.685098e-05, 3.686813e-05, 3.688522e-05, 3.690227e-05,
3.691928e-05, 3.693624e-05, 3.695315e-05, 3.697001e-05, 3.698684e-05, 3.700361e-05, 3.702034e-05, 3.703703e-05,
3.705367e-05, 3.707027e-05, 3.708682e-05, 3.710333e-05, 3.711980e-05, 3.713622e-05, 3.715260e-05, 3.716894e-05,
3.718524e-05, 3.720149e-05, 3.721770e-05, 3.723387e-05, 3.724999e-05, 3.726608e-05, 3.728212e-05, 3.729812e-05,
3.731409e-05, 3.733001e-05, 3.734589e-05, 3.736173e-05, 3.737753e-05, 3.739329e-05, 3.740901e-05, 3.742469e-05,
3.744033e-05, 3.745594e-05, 3.747150e-05, 3.748703e-05, 3.750251e-05, 3.751796e-05, 3.753337e-05, 3.754875e-05,
3.756408e-05, 3.757938e-05, 3.759464e-05, 3.760986e-05, 3.762505e-05, 3.764020e-05, 3.765531e-05, 3.767039e-05,
3.768543e-05, 3.770043e-05, 3.771540e-05, 3.773033e-05, 3.774523e-05, 3.776009e-05, 3.777491e-05, 3.778970e-05,
3.780446e-05, 3.781918e-05, 3.783387e-05, 3.784852e-05, 3.786314e-05, 3.787772e-05, 3.789227e-05, 3.790679e-05,
3.792127e-05, 3.793572e-05, 3.795013e-05, 3.796452e-05, 3.797886e-05, 3.799318e-05, 3.800746e-05, 3.802172e-05,
3.803593e-05, 3.805012e-05, 3.806427e-05, 3.807840e-05, 3.809249e-05, 3.810655e-05, 3.812057e-05, 3.813457e-05,
3.814853e-05, 3.816247e-05, 3.817637e-05, 3.819024e-05, 3.820408e-05, 3.821789e-05, 3.823167e-05, 3.824542e-05,
3.825914e-05, 3.827283e-05, 3.828649e-05, 3.830012e-05, 3.831372e-05, 3.832729e-05, 3.834083e-05, 3.835434e-05,
3.836782e-05, 3.838127e-05, 3.839470e-05, 3.840809e-05, 3.842146e-05, 3.843480e-05, 3.844811e-05, 3.846139e-05,
3.847464e-05, 3.848787e-05, 3.850107e-05, 3.851424e-05, 3.852738e-05, 3.854049e-05, 3.855358e-05, 3.856664e-05,
3.857967e-05, 3.859268e-05, 3.860566e-05, 3.861861e-05, 3.863153e-05, 3.864443e-05, 3.865730e-05, 3.867015e-05,
3.868297e-05, 3.869576e-05, 3.870853e-05, 3.872127e-05, 3.873398e-05, 3.874667e-05, 3.875933e-05, 3.877197e-05,
3.878458e-05, 3.879717e-05, 3.880973e-05, 3.882226e-05, 3.883477e-05, 3.884726e-05, 3.885972e-05, 3.887216e-05,
3.888457e-05, 3.889695e-05, 3.890932e-05, 3.892165e-05, 3.893397e-05, 3.894626e-05, 3.895852e-05, 3.897076e-05,
};
f32 D_80079F60[] = {
-1.0, 0.0, 4.950144e-06, 7.845804e-06, 9.900313e-06, 1.149392e-05, 1.279599e-05, 1.389687e-05,
1.485051e-05, 1.569167e-05, 1.644412e-05, 1.712479e-05, 1.774619e-05, 1.831783e-05, 1.884709e-05, 1.933981e-05,
1.980072e-05, 2.023369e-05, 2.064189e-05, 2.102802e-05, 2.139434e-05, 2.174279e-05, 2.207502e-05, 2.239248e-05,
2.269643e-05, 2.298797e-05, 2.326807e-05, 2.353760e-05, 2.379732e-05, 2.404794e-05, 2.429005e-05, 2.452423e-05,
2.475097e-05, 2.497073e-05, 2.518393e-05, 2.539095e-05, 2.559214e-05, 2.578781e-05, 2.597827e-05, 2.616378e-05,
2.634459e-05, 2.652094e-05, 2.669304e-05, 2.686109e-05, 2.702527e-05, 2.718577e-05, 2.734273e-05, 2.749633e-05,
2.764668e-05, 2.779394e-05, 2.793822e-05, 2.807965e-05, 2.821833e-05, 2.835436e-05, 2.848786e-05, 2.861890e-05,
2.874759e-05, 2.887399e-05, 2.899820e-05, 2.912028e-05, 2.924032e-05, 2.935836e-05, 2.947449e-05, 2.958876e-05,
2.970123e-05, 2.981196e-05, 2.992100e-05, 3.002839e-05, 3.013420e-05, 3.023846e-05, 3.034122e-05, 3.044252e-05,
3.054241e-05, 3.064092e-05, 3.073809e-05, 3.083395e-05, 3.092854e-05, 3.102190e-05, 3.111405e-05, 3.120503e-05,
3.129487e-05, 3.138359e-05, 3.147122e-05, 3.155778e-05, 3.164332e-05, 3.172783e-05, 3.181136e-05, 3.189393e-05,
3.197555e-05, 3.205625e-05, 3.213605e-05, 3.221496e-05, 3.229301e-05, 3.237022e-05, 3.244661e-05, 3.252218e-05,
3.259696e-05, 3.267097e-05, 3.274422e-05, 3.281673e-05, 3.288851e-05, 3.295957e-05, 3.302993e-05, 3.309961e-05,
3.316861e-05, 3.323695e-05, 3.330465e-05, 3.337171e-05, 3.343814e-05, 3.350397e-05, 3.356919e-05, 3.363382e-05,
3.369787e-05, 3.376136e-05, 3.382428e-05, 3.388665e-05, 3.394849e-05, 3.400979e-05, 3.407057e-05, 3.413084e-05,
3.419060e-05, 3.424987e-05, 3.430865e-05, 3.436695e-05, 3.442478e-05, 3.448215e-05, 3.453905e-05, 3.459551e-05,
3.465152e-05, 3.470710e-05, 3.476225e-05, 3.481698e-05, 3.487129e-05, 3.492519e-05, 3.497869e-05, 3.503178e-05,
3.508449e-05, 3.513681e-05, 3.518875e-05, 3.524032e-05, 3.529151e-05, 3.534235e-05, 3.539282e-05, 3.544294e-05,
3.549270e-05, 3.554213e-05, 3.559121e-05, 3.563996e-05, 3.568838e-05, 3.573648e-05, 3.578425e-05, 3.583170e-05,
3.587884e-05, 3.592567e-05, 3.597220e-05, 3.601842e-05, 3.606435e-05, 3.610999e-05, 3.615533e-05, 3.620039e-05,
3.624517e-05, 3.628966e-05, 3.633389e-05, 3.637784e-05, 3.642152e-05, 3.646493e-05, 3.650808e-05, 3.655098e-05,
3.659362e-05, 3.663600e-05, 3.667814e-05, 3.672002e-05, 3.676167e-05, 3.680307e-05, 3.684423e-05, 3.688516e-05,
3.692585e-05, 3.696632e-05, 3.700655e-05, 3.704656e-05, 3.708635e-05, 3.712592e-05, 3.716526e-05, 3.720440e-05,
3.724332e-05, 3.728203e-05, 3.732053e-05, 3.735882e-05, 3.739691e-05, 3.743480e-05, 3.747249e-05, 3.750998e-05,
3.754727e-05, 3.758437e-05, 3.762128e-05, 3.765800e-05, 3.769453e-05, 3.773087e-05, 3.776704e-05, 3.780301e-05,
3.783881e-05, 3.787443e-05, 3.790988e-05, 3.794514e-05, 3.798024e-05, 3.801516e-05, 3.804992e-05, 3.808450e-05,
3.811892e-05, 3.815317e-05, 3.818726e-05, 3.822119e-05, 3.825496e-05, 3.828857e-05, 3.832202e-05, 3.835531e-05,
3.838845e-05, 3.842144e-05, 3.845428e-05, 3.848696e-05, 3.851950e-05, 3.855189e-05, 3.858413e-05, 3.861623e-05,
3.864818e-05, 3.868000e-05, 3.871167e-05, 3.874320e-05, 3.877459e-05, 3.880585e-05, 3.883697e-05, 3.886795e-05,
3.889880e-05, 3.892952e-05, 3.896010e-05, 3.899056e-05, 3.902088e-05, 3.905108e-05, 3.908115e-05, 3.911110e-05,
3.914092e-05, 3.917061e-05, 3.920019e-05, 3.922964e-05, 3.925897e-05, 3.928818e-05, 3.931727e-05, 3.934624e-05,
3.937510e-05, 3.940384e-05, 3.943246e-05, 3.946097e-05, 3.948937e-05, 3.951765e-05, 3.954583e-05, 3.957389e-05,
3.960184e-05, 3.962968e-05, 3.965742e-05, 3.968505e-05, 3.971257e-05, 3.973998e-05, 3.976729e-05, 3.979450e-05,
3.982161e-05, 3.984861e-05, 3.987551e-05, 3.990230e-05, 3.992900e-05, 3.995560e-05, 3.998210e-05, 4.000850e-05,
4.003481e-05, 4.006102e-05, 4.008713e-05, 4.011315e-05, 4.013907e-05, 4.016490e-05, 4.019064e-05, 4.021628e-05,
4.024183e-05, 4.026729e-05, 4.029267e-05, 4.031795e-05, 4.034314e-05, 4.036824e-05, 4.039326e-05, 4.041818e-05,
4.044302e-05, 4.046778e-05, 4.049245e-05, 4.051703e-05, 4.054153e-05, 4.056595e-05, 4.059028e-05, 4.061453e-05,
4.063870e-05, 4.066279e-05, 4.068680e-05, 4.071072e-05, 4.073457e-05, 4.075833e-05, 4.078202e-05, 4.080563e-05,
4.082916e-05, 4.085262e-05, 4.087600e-05, 4.089930e-05, 4.092252e-05, 4.094567e-05, 4.096875e-05, 4.099175e-05,
4.101468e-05, 4.103753e-05, 4.106031e-05, 4.108302e-05, 4.110566e-05, 4.112822e-05, 4.115071e-05, 4.117314e-05,
4.119549e-05, 4.121777e-05, 4.123999e-05, 4.126213e-05, 4.128421e-05, 4.130622e-05, 4.132816e-05, 4.135003e-05,
4.137184e-05, 4.139358e-05, 4.141526e-05, 4.143687e-05, 4.145841e-05, 4.147989e-05, 4.150130e-05, 4.152265e-05,
4.154394e-05, 4.156517e-05, 4.158633e-05, 4.160743e-05, 4.162846e-05, 4.164944e-05, 4.167035e-05, 4.169120e-05,
4.171199e-05, 4.173272e-05, 4.175339e-05, 4.177401e-05, 4.179456e-05, 4.181505e-05, 4.183549e-05, 4.185586e-05,
4.187618e-05, 4.189644e-05, 4.191664e-05, 4.193679e-05, 4.195688e-05, 4.197691e-05, 4.199689e-05, 4.201681e-05,
4.203668e-05, 4.205649e-05, 4.207624e-05, 4.209595e-05, 4.211559e-05, 4.213519e-05, 4.215473e-05, 4.217421e-05,
4.219365e-05, 4.221303e-05, 4.223236e-05, 4.225163e-05, 4.227086e-05, 4.229003e-05, 4.230915e-05, 4.232822e-05,
4.234724e-05, 4.236621e-05, 4.238513e-05, 4.240400e-05, 4.242282e-05, 4.244159e-05, 4.246031e-05, 4.247898e-05,
4.249760e-05, 4.251617e-05, 4.253470e-05, 4.255318e-05, 4.257161e-05, 4.258999e-05, 4.260833e-05, 4.262662e-05,
4.264486e-05, 4.266306e-05, 4.268121e-05, 4.269931e-05, 4.271737e-05, 4.273538e-05, 4.275335e-05, 4.277127e-05,
4.278914e-05, 4.280698e-05, 4.282476e-05, 4.284251e-05, 4.286021e-05, 4.287786e-05, 4.289548e-05, 4.291305e-05,
4.293057e-05, 4.294805e-05, 4.296549e-05, 4.298289e-05, 4.300025e-05, 4.301756e-05, 4.303483e-05, 4.305206e-05,
4.306925e-05, 4.308640e-05, 4.310351e-05, 4.312057e-05, 4.313760e-05, 4.315458e-05, 4.317152e-05, 4.318843e-05,
4.320529e-05, 4.322212e-05, 4.323890e-05, 4.325565e-05, 4.327235e-05, 4.328902e-05, 4.330565e-05, 4.332224e-05,
4.333879e-05, 4.335530e-05, 4.337178e-05, 4.338821e-05, 4.340461e-05, 4.342097e-05, 4.343730e-05, 4.345358e-05,
4.346983e-05, 4.348605e-05, 4.350222e-05, 4.351836e-05, 4.353447e-05, 4.355053e-05, 4.356657e-05, 4.358256e-05,
4.359852e-05, 4.361444e-05, 4.363033e-05, 4.364619e-05, 4.366200e-05, 4.367779e-05, 4.369353e-05, 4.370925e-05,
4.372493e-05, 4.374057e-05, 4.375618e-05, 4.377176e-05, 4.378730e-05, 4.380281e-05, 4.381829e-05, 4.383373e-05,
4.384914e-05, 4.386451e-05, 4.387985e-05, 4.389516e-05, 4.391044e-05, 4.392568e-05, 4.394090e-05, 4.395608e-05,
4.397122e-05, 4.398634e-05, 4.400142e-05, 4.401647e-05, 4.403149e-05, 4.404648e-05, 4.406144e-05, 4.407636e-05,
4.409126e-05, 4.410612e-05, 4.412095e-05, 4.413575e-05, 4.415052e-05, 4.416527e-05, 4.417998e-05, 4.419466e-05,
4.420931e-05, 4.422393e-05, 4.423852e-05, 4.425308e-05, 4.426761e-05, 4.428211e-05, 4.429658e-05, 4.431102e-05,
4.432544e-05, 4.433982e-05, 4.435418e-05, 4.436850e-05, 4.438280e-05, 4.439707e-05, 4.441131e-05, 4.442552e-05,
4.443971e-05, 4.445386e-05, 4.446799e-05, 4.448209e-05, 4.449617e-05, 4.451021e-05, 4.452423e-05, 4.453822e-05,
};
f32 D_8007A760[] = {
-1.0, 0.0, 5.775184e-06, 9.153466e-06, 1.155040e-05, 1.340961e-05, 1.492870e-05, 1.621308e-05,
1.732565e-05, 1.830702e-05, 1.918488e-05, 1.997900e-05, 2.070397e-05, 2.137089e-05, 2.198835e-05, 2.256320e-05,
2.310094e-05, 2.360606e-05, 2.408231e-05, 2.453279e-05, 2.496017e-05, 2.536669e-05, 2.575430e-05, 2.612467e-05,
2.647928e-05, 2.681941e-05, 2.714620e-05, 2.746065e-05, 2.776367e-05, 2.805605e-05, 2.833852e-05, 2.861172e-05,
2.887626e-05, 2.913265e-05, 2.938138e-05, 2.962291e-05, 2.985763e-05, 3.008592e-05, 3.030812e-05, 3.052455e-05,
3.073550e-05, 3.094124e-05, 3.114202e-05, 3.133808e-05, 3.152963e-05, 3.171688e-05, 3.190001e-05, 3.207920e-05,
3.225462e-05, 3.242642e-05, 3.259475e-05, 3.275974e-05, 3.292154e-05, 3.308025e-05, 3.323599e-05, 3.338888e-05,
3.353901e-05, 3.368649e-05, 3.383140e-05, 3.397383e-05, 3.411387e-05, 3.425159e-05, 3.438707e-05, 3.452039e-05,
3.465161e-05, 3.478079e-05, 3.490800e-05, 3.503330e-05, 3.515674e-05, 3.527838e-05, 3.539826e-05, 3.551645e-05,
3.563299e-05, 3.574791e-05, 3.586128e-05, 3.597312e-05, 3.608348e-05, 3.619240e-05, 3.629991e-05, 3.640605e-05,
3.651086e-05, 3.661437e-05, 3.671660e-05, 3.681760e-05, 3.691739e-05, 3.701599e-05, 3.711345e-05, 3.720977e-05,
3.730500e-05, 3.739915e-05, 3.749224e-05, 3.758431e-05, 3.767537e-05, 3.776545e-05, 3.785457e-05, 3.794274e-05,
3.802999e-05, 3.811633e-05, 3.820179e-05, 3.828638e-05, 3.837012e-05, 3.845303e-05, 3.853512e-05, 3.861641e-05,
3.869691e-05, 3.877665e-05, 3.885562e-05, 3.893386e-05, 3.901137e-05, 3.908816e-05, 3.916426e-05, 3.923966e-05,
3.931439e-05, 3.938845e-05, 3.946186e-05, 3.953463e-05, 3.960677e-05, 3.967830e-05, 3.974921e-05, 3.981952e-05,
3.988925e-05, 3.995839e-05, 4.002697e-05, 4.009499e-05, 4.016246e-05, 4.022938e-05, 4.029577e-05, 4.036164e-05,
4.042699e-05, 4.049183e-05, 4.055617e-05, 4.062002e-05, 4.068339e-05, 4.074627e-05, 4.080868e-05, 4.087063e-05,
4.093212e-05, 4.099317e-05, 4.105376e-05, 4.111392e-05, 4.117365e-05, 4.123296e-05, 4.129184e-05, 4.135031e-05,
4.140838e-05, 4.146604e-05, 4.152330e-05, 4.158018e-05, 4.163667e-05, 4.169278e-05, 4.174851e-05, 4.180388e-05,
4.185887e-05, 4.191351e-05, 4.196779e-05, 4.202172e-05, 4.207530e-05, 4.212855e-05, 4.218145e-05, 4.223402e-05,
4.228626e-05, 4.233817e-05, 4.238976e-05, 4.244104e-05, 4.249200e-05, 4.254265e-05, 4.259300e-05, 4.264304e-05,
4.269278e-05, 4.274223e-05, 4.279139e-05, 4.284026e-05, 4.288884e-05, 4.293715e-05, 4.298517e-05, 4.303292e-05,
4.308040e-05, 4.312760e-05, 4.317455e-05, 4.322123e-05, 4.326764e-05, 4.331381e-05, 4.335971e-05, 4.340537e-05,
4.345078e-05, 4.349594e-05, 4.354085e-05, 4.358553e-05, 4.362997e-05, 4.367417e-05, 4.371814e-05, 4.376188e-05,
4.380539e-05, 4.384867e-05, 4.389173e-05, 4.393457e-05, 4.397719e-05, 4.401960e-05, 4.406178e-05, 4.410376e-05,
4.414553e-05, 4.418708e-05, 4.422843e-05, 4.426958e-05, 4.431052e-05, 4.435127e-05, 4.439182e-05, 4.443216e-05,
4.447232e-05, 4.451228e-05, 4.455205e-05, 4.459164e-05, 4.463103e-05, 4.467024e-05, 4.470927e-05, 4.474811e-05,
4.478678e-05, 4.482526e-05, 4.486357e-05, 4.490171e-05, 4.493967e-05, 4.497745e-05, 4.501507e-05, 4.505252e-05,
4.508980e-05, 4.512692e-05, 4.516386e-05, 4.520065e-05, 4.523728e-05, 4.527374e-05, 4.531005e-05, 4.534620e-05,
4.538219e-05, 4.541803e-05, 4.545371e-05, 4.548924e-05, 4.552462e-05, 4.555985e-05, 4.559494e-05, 4.562987e-05,
4.566466e-05, 4.569931e-05, 4.573381e-05, 4.576817e-05, 4.580239e-05, 4.583647e-05, 4.587041e-05, 4.590421e-05,
4.593787e-05, 4.597140e-05, 4.600480e-05, 4.603806e-05, 4.607119e-05, 4.610419e-05, 4.613706e-05, 4.616980e-05,
4.620241e-05, 4.623489e-05, 4.626725e-05, 4.629948e-05, 4.633159e-05, 4.636358e-05, 4.639544e-05, 4.642718e-05,
4.645880e-05, 4.649031e-05, 4.652169e-05, 4.655295e-05, 4.658410e-05, 4.661514e-05, 4.664605e-05, 4.667686e-05,
4.670755e-05, 4.673812e-05, 4.676859e-05, 4.679894e-05, 4.682919e-05, 4.685932e-05, 4.688935e-05, 4.691926e-05,
4.694907e-05, 4.697878e-05, 4.700838e-05, 4.703787e-05, 4.706726e-05, 4.709655e-05, 4.712574e-05, 4.715482e-05,
4.718380e-05, 4.721268e-05, 4.724146e-05, 4.727015e-05, 4.729873e-05, 4.732722e-05, 4.735560e-05, 4.738390e-05,
4.741209e-05, 4.744020e-05, 4.746820e-05, 4.749612e-05, 4.752394e-05, 4.755167e-05, 4.757930e-05, 4.760685e-05,
4.763430e-05, 4.766166e-05, 4.768894e-05, 4.771612e-05, 4.774322e-05, 4.777023e-05, 4.779715e-05, 4.782398e-05,
4.785073e-05, 4.787740e-05, 4.790397e-05, 4.793047e-05, 4.795688e-05, 4.798320e-05, 4.800945e-05, 4.803561e-05,
4.806169e-05, 4.808768e-05, 4.811360e-05, 4.813944e-05, 4.816519e-05, 4.819087e-05, 4.821647e-05, 4.824199e-05,
4.826743e-05, 4.829279e-05, 4.831808e-05, 4.834329e-05, 4.836843e-05, 4.839349e-05, 4.841847e-05, 4.844338e-05,
4.846822e-05, 4.849298e-05, 4.851766e-05, 4.854228e-05, 4.856682e-05, 4.859129e-05, 4.861569e-05, 4.864002e-05,
4.866428e-05, 4.868846e-05, 4.871258e-05, 4.873663e-05, 4.876060e-05, 4.878451e-05, 4.880835e-05, 4.883213e-05,
4.885583e-05, 4.887947e-05, 4.890304e-05, 4.892654e-05, 4.894998e-05, 4.897335e-05, 4.899666e-05, 4.901990e-05,
4.904308e-05, 4.906619e-05, 4.908924e-05, 4.911223e-05, 4.913515e-05, 4.915801e-05, 4.918080e-05, 4.920354e-05,
4.922621e-05, 4.924882e-05, 4.927137e-05, 4.929386e-05, 4.931629e-05, 4.933866e-05, 4.936097e-05, 4.938322e-05,
4.940541e-05, 4.942754e-05, 4.944961e-05, 4.947162e-05, 4.949358e-05, 4.951548e-05, 4.953732e-05, 4.955910e-05,
4.958083e-05, 4.960250e-05, 4.962411e-05, 4.964567e-05, 4.966717e-05, 4.968862e-05, 4.971001e-05, 4.973135e-05,
4.975263e-05, 4.977386e-05, 4.979504e-05, 4.981616e-05, 4.983722e-05, 4.985824e-05, 4.987920e-05, 4.990011e-05,
4.992097e-05, 4.994177e-05, 4.996252e-05, 4.998322e-05, 5.000387e-05, 5.002447e-05, 5.004502e-05, 5.006552e-05,
5.008597e-05, 5.010636e-05, 5.012671e-05, 5.014701e-05, 5.016726e-05, 5.018746e-05, 5.020761e-05, 5.022771e-05,
5.024776e-05, 5.026777e-05, 5.028772e-05, 5.030763e-05, 5.032750e-05, 5.034731e-05, 5.036708e-05, 5.038680e-05,
5.040647e-05, 5.042610e-05, 5.044569e-05, 5.046522e-05, 5.048471e-05, 5.050416e-05, 5.052356e-05, 5.054291e-05,
5.056222e-05, 5.058149e-05, 5.060071e-05, 5.061988e-05, 5.063902e-05, 5.065811e-05, 5.067715e-05, 5.069615e-05,
5.071511e-05, 5.073403e-05, 5.075290e-05, 5.077173e-05, 5.079052e-05, 5.080926e-05, 5.082796e-05, 5.084663e-05,
5.086525e-05, 5.088382e-05, 5.090236e-05, 5.092086e-05, 5.093931e-05, 5.095772e-05, 5.097610e-05, 5.099443e-05,
5.101272e-05, 5.103097e-05, 5.104919e-05, 5.106736e-05, 5.108549e-05, 5.110359e-05, 5.112164e-05, 5.113966e-05,
5.115763e-05, 5.117557e-05, 5.119347e-05, 5.121133e-05, 5.122916e-05, 5.124694e-05, 5.126469e-05, 5.128240e-05,
5.130007e-05, 5.131770e-05, 5.133530e-05, 5.135286e-05, 5.137038e-05, 5.138787e-05, 5.140532e-05, 5.142273e-05,
5.144011e-05, 5.145745e-05, 5.147476e-05, 5.149202e-05, 5.150926e-05, 5.152646e-05, 5.154362e-05, 5.156074e-05,
5.157784e-05, 5.159489e-05, 5.161191e-05, 5.162890e-05, 5.164585e-05, 5.166277e-05, 5.167966e-05, 5.169651e-05,
5.171332e-05, 5.173010e-05, 5.174685e-05, 5.176357e-05, 5.178025e-05, 5.179690e-05, 5.181351e-05, 5.183009e-05,
5.184664e-05, 5.186316e-05, 5.187964e-05, 5.189609e-05, 5.191251e-05, 5.192890e-05, 5.194525e-05, 5.196157e-05,
};
f32 D_8007AF60[] = {
-1.0, 0.0, 6.930248e-06, 1.098421e-05, 1.386054e-05, 1.609161e-05, 1.791453e-05, 1.945579e-05,
2.079089e-05, 2.196853e-05, 2.302197e-05, 2.397492e-05, 2.484490e-05, 2.564521e-05, 2.638617e-05, 2.707599e-05,
2.772128e-05, 2.832744e-05, 2.889893e-05, 2.943952e-05, 2.995238e-05, 3.044021e-05, 3.090534e-05, 3.134979e-05,
3.177532e-05, 3.218348e-05, 3.257563e-05, 3.295298e-05, 3.331660e-05, 3.366746e-05, 3.400643e-05, 3.433428e-05,
3.465172e-05, 3.495939e-05, 3.525788e-05, 3.554771e-05, 3.582938e-05, 3.610333e-05, 3.636998e-05, 3.662969e-05,
3.688284e-05, 3.712973e-05, 3.737067e-05, 3.760594e-05, 3.783580e-05, 3.806050e-05, 3.828026e-05, 3.849529e-05,
3.870579e-05, 3.891196e-05, 3.911395e-05, 3.931195e-05, 3.950611e-05, 3.969656e-05, 3.988346e-05, 4.006692e-05,
4.024708e-05, 4.042405e-05, 4.059795e-05, 4.076887e-05, 4.093692e-05, 4.110219e-05, 4.126477e-05, 4.142475e-05,
4.158221e-05, 4.173723e-05, 4.188988e-05, 4.204024e-05, 4.218837e-05, 4.233434e-05, 4.247821e-05, 4.262004e-05,
4.275988e-05, 4.289779e-05, 4.303383e-05, 4.316804e-05, 4.330048e-05, 4.343118e-05, 4.356020e-05, 4.368757e-05,
4.381334e-05, 4.393755e-05, 4.406023e-05, 4.418143e-05, 4.430118e-05, 4.441950e-05, 4.453645e-05, 4.465204e-05,
4.476631e-05, 4.487929e-05, 4.499101e-05, 4.510149e-05, 4.521077e-05, 4.531886e-05, 4.542580e-05, 4.553161e-05,
4.563631e-05, 4.573992e-05, 4.584247e-05, 4.594398e-05, 4.604447e-05, 4.614396e-05, 4.624247e-05, 4.634002e-05,
4.643663e-05, 4.653231e-05, 4.662709e-05, 4.672097e-05, 4.681398e-05, 4.690614e-05, 4.699745e-05, 4.708793e-05,
4.717761e-05, 4.726649e-05, 4.735458e-05, 4.744191e-05, 4.752848e-05, 4.761430e-05, 4.769940e-05, 4.778378e-05,
4.786745e-05, 4.795042e-05, 4.803272e-05, 4.811434e-05, 4.819530e-05, 4.827561e-05, 4.835528e-05, 4.843433e-05,
4.851275e-05, 4.859056e-05, 4.866777e-05, 4.874439e-05, 4.882042e-05, 4.889589e-05, 4.897078e-05, 4.904512e-05,
4.911891e-05, 4.919216e-05, 4.926488e-05, 4.933708e-05, 4.940875e-05, 4.947992e-05, 4.955058e-05, 4.962075e-05,
4.969042e-05, 4.975962e-05, 4.982834e-05, 4.989659e-05, 4.996438e-05, 5.003171e-05, 5.009859e-05, 5.016503e-05,
5.023103e-05, 5.029659e-05, 5.036173e-05, 5.042645e-05, 5.049075e-05, 5.055464e-05, 5.061812e-05, 5.068120e-05,
5.074389e-05, 5.080619e-05, 5.086810e-05, 5.092963e-05, 5.099079e-05, 5.105157e-05, 5.111198e-05, 5.117204e-05,
5.123173e-05, 5.129107e-05, 5.135006e-05, 5.140870e-05, 5.146701e-05, 5.152497e-05, 5.158260e-05, 5.163990e-05,
5.169687e-05, 5.175352e-05, 5.180985e-05, 5.186587e-05, 5.192157e-05, 5.197697e-05, 5.203205e-05, 5.208684e-05,
5.214133e-05, 5.219553e-05, 5.224943e-05, 5.230304e-05, 5.235637e-05, 5.240941e-05, 5.246217e-05, 5.251466e-05,
5.256687e-05, 5.261882e-05, 5.267049e-05, 5.272190e-05, 5.277304e-05, 5.282392e-05, 5.287455e-05, 5.292492e-05,
5.297504e-05, 5.302491e-05, 5.307453e-05, 5.312391e-05, 5.317304e-05, 5.322194e-05, 5.327059e-05, 5.331901e-05,
5.336720e-05, 5.341515e-05, 5.346288e-05, 5.351038e-05, 5.355766e-05, 5.360471e-05, 5.365154e-05, 5.369816e-05,
5.374455e-05, 5.379074e-05, 5.383671e-05, 5.388247e-05, 5.392802e-05, 5.397337e-05, 5.401851e-05, 5.406345e-05,
5.410819e-05, 5.415272e-05, 5.419706e-05, 5.424121e-05, 5.428516e-05, 5.432892e-05, 5.437248e-05, 5.441586e-05,
5.445905e-05, 5.450206e-05, 5.454488e-05, 5.458752e-05, 5.462998e-05, 5.467226e-05, 5.471436e-05, 5.475628e-05,
5.479803e-05, 5.483960e-05, 5.488100e-05, 5.492224e-05, 5.496330e-05, 5.500419e-05, 5.504492e-05, 5.508549e-05,
5.512588e-05, 5.516612e-05, 5.520620e-05, 5.524611e-05, 5.528587e-05, 5.532547e-05, 5.536491e-05, 5.540420e-05,
5.544333e-05, 5.548231e-05, 5.552114e-05, 5.555982e-05, 5.559835e-05, 5.563674e-05, 5.567497e-05, 5.571306e-05,
5.575101e-05, 5.578881e-05, 5.582647e-05, 5.586399e-05, 5.590137e-05, 5.593861e-05, 5.597571e-05, 5.601267e-05,
5.604950e-05, 5.608620e-05, 5.612275e-05, 5.615918e-05, 5.619547e-05, 5.623163e-05, 5.626767e-05, 5.630357e-05,
5.633934e-05, 5.637499e-05, 5.641051e-05, 5.644590e-05, 5.648117e-05, 5.651632e-05, 5.655134e-05, 5.658624e-05,
5.662102e-05, 5.665567e-05, 5.669021e-05, 5.672463e-05, 5.675893e-05, 5.679312e-05, 5.682718e-05, 5.686114e-05,
5.689497e-05, 5.692869e-05, 5.696230e-05, 5.699580e-05, 5.702919e-05, 5.706246e-05, 5.709562e-05, 5.712868e-05,
5.716162e-05, 5.719446e-05, 5.722719e-05, 5.725981e-05, 5.729233e-05, 5.732474e-05, 5.735704e-05, 5.738925e-05,
5.742134e-05, 5.745334e-05, 5.748524e-05, 5.751703e-05, 5.754872e-05, 5.758031e-05, 5.761180e-05, 5.764320e-05,
5.767449e-05, 5.770569e-05, 5.773679e-05, 5.776779e-05, 5.779870e-05, 5.782951e-05, 5.786023e-05, 5.789086e-05,
5.792139e-05, 5.795183e-05, 5.798217e-05, 5.801242e-05, 5.804259e-05, 5.807266e-05, 5.810264e-05, 5.813253e-05,
5.816233e-05, 5.819205e-05, 5.822167e-05, 5.825121e-05, 5.828066e-05, 5.831003e-05, 5.833931e-05, 5.836850e-05,
5.839761e-05, 5.842663e-05, 5.845557e-05, 5.848443e-05, 5.851320e-05, 5.854190e-05, 5.857050e-05, 5.859903e-05,
5.862748e-05, 5.865584e-05, 5.868413e-05, 5.871233e-05, 5.874046e-05, 5.876851e-05, 5.879648e-05, 5.882437e-05,
5.885218e-05, 5.887991e-05, 5.890757e-05, 5.893516e-05, 5.896266e-05, 5.899010e-05, 5.901745e-05, 5.904473e-05,
5.907194e-05, 5.909908e-05, 5.912614e-05, 5.915312e-05, 5.918004e-05, 5.920688e-05, 5.923365e-05, 5.926035e-05,
5.928698e-05, 5.931353e-05, 5.934002e-05, 5.936644e-05, 5.939279e-05, 5.941906e-05, 5.944527e-05, 5.947141e-05,
5.949749e-05, 5.952349e-05, 5.954943e-05, 5.957530e-05, 5.960110e-05, 5.962684e-05, 5.965251e-05, 5.967811e-05,
5.970365e-05, 5.972913e-05, 5.975454e-05, 5.977988e-05, 5.980517e-05, 5.983038e-05, 5.985554e-05, 5.988063e-05,
5.990566e-05, 5.993062e-05, 5.995553e-05, 5.998037e-05, 6.000515e-05, 6.002987e-05, 6.005453e-05, 6.007912e-05,
6.010366e-05, 6.012814e-05, 6.015255e-05, 6.017691e-05, 6.020121e-05, 6.022545e-05, 6.024963e-05, 6.027375e-05,
6.029782e-05, 6.032182e-05, 6.034577e-05, 6.036967e-05, 6.039350e-05, 6.041728e-05, 6.044100e-05, 6.046467e-05,
6.048828e-05, 6.051183e-05, 6.053533e-05, 6.055877e-05, 6.058216e-05, 6.060550e-05, 6.062878e-05, 6.065200e-05,
6.067518e-05, 6.069829e-05, 6.072136e-05, 6.074437e-05, 6.076733e-05, 6.079024e-05, 6.081309e-05, 6.083589e-05,
6.085864e-05, 6.088134e-05, 6.090399e-05, 6.092659e-05, 6.094913e-05, 6.097163e-05, 6.099407e-05, 6.101646e-05,
6.103881e-05, 6.106110e-05, 6.108335e-05, 6.110554e-05, 6.112769e-05, 6.114978e-05, 6.117183e-05, 6.119383e-05,
6.121578e-05, 6.123769e-05, 6.125954e-05, 6.128135e-05, 6.130311e-05, 6.132482e-05, 6.134649e-05, 6.136811e-05,
6.138968e-05, 6.141121e-05, 6.143269e-05, 6.145412e-05, 6.147551e-05, 6.149685e-05, 6.151815e-05, 6.153940e-05,
6.156060e-05, 6.158177e-05, 6.160288e-05, 6.162395e-05, 6.164498e-05, 6.166597e-05, 6.168691e-05, 6.170780e-05,
6.172866e-05, 6.174946e-05, 6.177023e-05, 6.179095e-05, 6.181163e-05, 6.183227e-05, 6.185287e-05, 6.187342e-05,
6.189393e-05, 6.191440e-05, 6.193482e-05, 6.195521e-05, 6.197555e-05, 6.199585e-05, 6.201612e-05, 6.203634e-05,
6.205651e-05, 6.207665e-05, 6.209675e-05, 6.211681e-05, 6.213683e-05, 6.215680e-05, 6.217674e-05, 6.219664e-05,
6.221650e-05, 6.223632e-05, 6.225610e-05, 6.227584e-05, 6.229554e-05, 6.231521e-05, 6.233483e-05, 6.235442e-05,
};
f32 D_8007B760[] = {
-1.0, 0.0, 1.266565e-04, 2.007533e-04, 2.533291e-04, 2.941119e-04, 3.274352e-04, 3.556105e-04,
3.800177e-04, 4.015468e-04, 4.208057e-04, 4.382278e-04, 4.541332e-04, 4.687649e-04, 4.823120e-04, 4.949242e-04,
5.067223e-04, 5.178050e-04, 5.282542e-04, 5.381383e-04, 5.475155e-04, 5.564351e-04, 5.649398e-04, 5.730664e-04,
5.808472e-04, 5.883104e-04, 5.954808e-04, 6.023807e-04, 6.090296e-04, 6.154453e-04, 6.216434e-04, 6.276384e-04,
6.334430e-04, 6.390690e-04, 6.445271e-04, 6.498270e-04, 6.549776e-04, 6.599871e-04, 6.648630e-04, 6.696123e-04,
6.742414e-04, 6.787561e-04, 6.831621e-04, 6.874644e-04, 6.916679e-04, 6.957768e-04, 6.997955e-04, 7.037278e-04,
7.075773e-04, 7.113474e-04, 7.150414e-04, 7.186622e-04, 7.222127e-04, 7.256957e-04, 7.291135e-04, 7.324686e-04,
7.357633e-04, 7.389996e-04, 7.421797e-04, 7.453055e-04, 7.483787e-04, 7.514011e-04, 7.543744e-04, 7.573001e-04,
7.601797e-04, 7.630147e-04, 7.658065e-04, 7.685562e-04, 7.712652e-04, 7.739347e-04, 7.765658e-04, 7.791596e-04,
7.817171e-04, 7.842393e-04, 7.867272e-04, 7.891817e-04, 7.916037e-04, 7.939941e-04, 7.963536e-04, 7.986831e-04,
8.009833e-04, 8.032549e-04, 8.054986e-04, 8.077151e-04, 8.099051e-04, 8.120692e-04, 8.142080e-04, 8.163221e-04,
8.184120e-04, 8.204783e-04, 8.225215e-04, 8.245421e-04, 8.265407e-04, 8.285176e-04, 8.304734e-04, 8.324085e-04,
8.343234e-04, 8.362184e-04, 8.380940e-04, 8.399506e-04, 8.417885e-04, 8.436081e-04, 8.454097e-04, 8.471939e-04,
8.489607e-04, 8.507107e-04, 8.524441e-04, 8.541612e-04, 8.558623e-04, 8.575478e-04, 8.592179e-04, 8.608728e-04,
8.625130e-04, 8.641385e-04, 8.657497e-04, 8.673469e-04, 8.689302e-04, 8.705000e-04, 8.720564e-04, 8.735996e-04,
8.751300e-04, 8.766476e-04, 8.781528e-04, 8.796456e-04, 8.811264e-04, 8.825953e-04, 8.840525e-04, 8.854982e-04,
8.869325e-04, 8.883557e-04, 8.897679e-04, 8.911693e-04, 8.925600e-04, 8.939402e-04, 8.953101e-04, 8.966698e-04,
8.980194e-04, 8.993592e-04, 9.006893e-04, 9.020097e-04, 9.033207e-04, 9.046223e-04, 9.059148e-04, 9.071981e-04,
9.084726e-04, 9.097382e-04, 9.109951e-04, 9.122435e-04, 9.134833e-04, 9.147149e-04, 9.159382e-04, 9.171534e-04,
9.183605e-04, 9.195597e-04, 9.207512e-04, 9.219349e-04, 9.231110e-04, 9.242796e-04, 9.254408e-04, 9.265946e-04,
9.277412e-04, 9.288807e-04, 9.300131e-04, 9.311386e-04, 9.322571e-04, 9.333689e-04, 9.344739e-04, 9.355724e-04,
9.366642e-04, 9.377496e-04, 9.388286e-04, 9.399012e-04, 9.409676e-04, 9.420279e-04, 9.430820e-04, 9.441300e-04,
9.451721e-04, 9.462083e-04, 9.472387e-04, 9.482633e-04, 9.492822e-04, 9.502954e-04, 9.513030e-04, 9.523052e-04,
9.533019e-04, 9.542931e-04, 9.552791e-04, 9.562597e-04, 9.572351e-04, 9.582054e-04, 9.591705e-04, 9.601305e-04,
9.610856e-04, 9.620357e-04, 9.629808e-04, 9.639212e-04, 9.648567e-04, 9.657874e-04, 9.667135e-04, 9.676348e-04,
9.685516e-04, 9.694638e-04, 9.703714e-04, 9.712746e-04, 9.721733e-04, 9.730677e-04, 9.739577e-04, 9.748433e-04,
9.757248e-04, 9.766020e-04, 9.774750e-04, 9.783438e-04, 9.792086e-04, 9.800692e-04, 9.809259e-04, 9.817785e-04,
9.826272e-04, 9.834720e-04, 9.843129e-04, 9.851500e-04, 9.859832e-04, 9.868128e-04, 9.876384e-04, 9.884604e-04,
9.892787e-04, 9.900935e-04, 9.909045e-04, 9.917120e-04, 9.925159e-04, 9.933163e-04, 9.941133e-04, 9.949066e-04,
9.956968e-04, 9.964835e-04, 9.972667e-04, 9.980467e-04, 9.988233e-04, 9.995967e-04, 1.000367e-03, 1.001134e-03,
1.001897e-03, 1.002658e-03, 1.003415e-03, 1.004169e-03, 1.004920e-03, 1.005669e-03, 1.006414e-03, 1.007156e-03,
1.007895e-03, 1.008631e-03, 1.009364e-03, 1.010094e-03, 1.010821e-03, 1.011545e-03, 1.012267e-03, 1.012986e-03,
1.013701e-03, 1.014414e-03, 1.015125e-03, 1.015832e-03, 1.016537e-03, 1.017239e-03, 1.017939e-03, 1.018635e-03,
1.019330e-03, 1.020021e-03, 1.020710e-03, 1.021396e-03, 1.022080e-03, 1.022761e-03, 1.023440e-03, 1.024116e-03,
1.024790e-03, 1.025461e-03, 1.026130e-03, 1.026796e-03, 1.027460e-03, 1.028121e-03, 1.028780e-03, 1.029437e-03,
1.030092e-03, 1.030744e-03, 1.031393e-03, 1.032041e-03, 1.032686e-03, 1.033329e-03, 1.033970e-03, 1.034608e-03,
1.035244e-03, 1.035878e-03, 1.036510e-03, 1.037140e-03, 1.037767e-03, 1.038392e-03, 1.039016e-03, 1.039637e-03,
1.040256e-03, 1.040872e-03, 1.041487e-03, 1.042100e-03, 1.042711e-03, 1.043319e-03, 1.043926e-03, 1.044531e-03,
1.045133e-03, 1.045734e-03, 1.046333e-03, 1.046929e-03, 1.047524e-03, 1.048117e-03, 1.048708e-03, 1.049297e-03,
1.049884e-03, 1.050470e-03, 1.051053e-03, 1.051635e-03, 1.052214e-03, 1.052792e-03, 1.053368e-03, 1.053943e-03,
1.054515e-03, 1.055086e-03, 1.055655e-03, 1.056222e-03, 1.056787e-03, 1.057351e-03, 1.057913e-03, 1.058473e-03,
1.059032e-03, 1.059589e-03, 1.060144e-03, 1.060697e-03, 1.061249e-03, 1.061799e-03, 1.062347e-03, 1.062894e-03,
1.063439e-03, 1.063983e-03, 1.064525e-03, 1.065065e-03, 1.065604e-03, 1.066141e-03, 1.066677e-03, 1.067211e-03,
1.067743e-03, 1.068274e-03, 1.068804e-03, 1.069332e-03, 1.069858e-03, 1.070383e-03, 1.070906e-03, 1.071428e-03,
1.071948e-03, 1.072467e-03, 1.072985e-03, 1.073501e-03, 1.074015e-03, 1.074528e-03, 1.075040e-03, 1.075550e-03,
1.076059e-03, 1.076566e-03, 1.077072e-03, 1.077577e-03, 1.078080e-03, 1.078582e-03, 1.079082e-03, 1.079581e-03,
1.080079e-03, 1.080575e-03, 1.081071e-03, 1.081564e-03, 1.082057e-03, 1.082548e-03, 1.083037e-03, 1.083526e-03,
1.084013e-03, 1.084499e-03, 1.084983e-03, 1.085466e-03, 1.085948e-03, 1.086429e-03, 1.086909e-03, 1.087387e-03,
1.087864e-03, 1.088340e-03, 1.088814e-03, 1.089287e-03, 1.089759e-03, 1.090230e-03, 1.090700e-03, 1.091168e-03,
1.091635e-03, 1.092101e-03, 1.092566e-03, 1.093030e-03, 1.093492e-03, 1.093954e-03, 1.094414e-03, 1.094873e-03,
1.095331e-03, 1.095787e-03, 1.096243e-03, 1.096698e-03, 1.097151e-03, 1.097603e-03, 1.098054e-03, 1.098504e-03,
1.098953e-03, 1.099401e-03, 1.099847e-03, 1.100293e-03, 1.100738e-03, 1.101181e-03, 1.101623e-03, 1.102065e-03,
1.102505e-03, 1.102944e-03, 1.103382e-03, 1.103819e-03, 1.104255e-03, 1.104690e-03, 1.105124e-03, 1.105557e-03,
1.105989e-03, 1.106420e-03, 1.106850e-03, 1.107279e-03, 1.107707e-03, 1.108134e-03, 1.108559e-03, 1.108984e-03,
1.109408e-03, 1.109831e-03, 1.110253e-03, 1.110674e-03, 1.111094e-03, 1.111513e-03, 1.111931e-03, 1.112348e-03,
1.112765e-03, 1.113180e-03, 1.113594e-03, 1.114008e-03, 1.114420e-03, 1.114832e-03, 1.115242e-03, 1.115652e-03,
1.116061e-03, 1.116468e-03, 1.116875e-03, 1.117281e-03, 1.117686e-03, 1.118091e-03, 1.118494e-03, 1.118897e-03,
1.119298e-03, 1.119699e-03, 1.120099e-03, 1.120498e-03, 1.120896e-03, 1.121293e-03, 1.121689e-03, 1.122085e-03,
1.122479e-03, 1.122873e-03, 1.123266e-03, 1.123658e-03, 1.124050e-03, 1.124440e-03, 1.124830e-03, 1.125218e-03,
1.125606e-03, 1.125993e-03, 1.126380e-03, 1.126765e-03, 1.127150e-03, 1.127534e-03, 1.127917e-03, 1.128299e-03,
1.128681e-03, 1.129061e-03, 1.129441e-03, 1.129820e-03, 1.130199e-03, 1.130576e-03, 1.130953e-03, 1.131329e-03,
1.131704e-03, 1.132079e-03, 1.132452e-03, 1.132825e-03, 1.133198e-03, 1.133569e-03, 1.133940e-03, 1.134310e-03,
1.134679e-03, 1.135047e-03, 1.135415e-03, 1.135782e-03, 1.136148e-03, 1.136513e-03, 1.136878e-03, 1.137242e-03,
1.137606e-03, 1.137968e-03, 1.138330e-03, 1.138691e-03, 1.139052e-03, 1.139411e-03, 1.139770e-03, 1.140129e-03,
};
f32 D_8007BF60[] = {
-1.0, 0.0, 1.476146e-04, 2.339738e-04, 2.952511e-04, 3.427840e-04, 3.816229e-04, 4.144620e-04,
4.429093e-04, 4.680023e-04, 4.904493e-04, 5.107554e-04, 5.292939e-04, 5.463479e-04, 5.621378e-04, 5.768380e-04,
5.905893e-04, 6.035069e-04, 6.156860e-04, 6.272066e-04, 6.381363e-04, 6.485327e-04, 6.584455e-04, 6.679176e-04,
6.769867e-04, 6.856855e-04, 6.940432e-04, 7.020855e-04, 7.098354e-04, 7.173133e-04, 7.245378e-04, 7.315254e-04,
7.382911e-04, 7.448487e-04, 7.512106e-04, 7.573880e-04, 7.633915e-04, 7.692305e-04, 7.749138e-04, 7.804495e-04,
7.858451e-04, 7.911075e-04, 7.962431e-04, 8.012578e-04, 8.061573e-04, 8.109467e-04, 8.156309e-04, 8.202143e-04,
8.247013e-04, 8.290957e-04, 8.334014e-04, 8.376218e-04, 8.417603e-04, 8.458200e-04, 8.498038e-04, 8.537145e-04,
8.575548e-04, 8.613271e-04, 8.650339e-04, 8.686772e-04, 8.722594e-04, 8.757823e-04, 8.792480e-04, 8.826582e-04,
8.860147e-04, 8.893192e-04, 8.925733e-04, 8.957784e-04, 8.989361e-04, 9.020477e-04, 9.051145e-04, 9.081378e-04,
9.111188e-04, 9.140588e-04, 9.169587e-04, 9.198197e-04, 9.226429e-04, 9.254291e-04, 9.281794e-04, 9.308947e-04,
9.335758e-04, 9.362236e-04, 9.388389e-04, 9.414225e-04, 9.439752e-04, 9.464977e-04, 9.489907e-04, 9.514549e-04,
9.538910e-04, 9.562995e-04, 9.586811e-04, 9.610364e-04, 9.633659e-04, 9.656703e-04, 9.679500e-04, 9.702056e-04,
9.724376e-04, 9.746465e-04, 9.768327e-04, 9.789967e-04, 9.811390e-04, 9.832600e-04, 9.853601e-04, 9.874396e-04,
9.894992e-04, 9.915390e-04, 9.935595e-04, 9.955610e-04, 9.975439e-04, 9.995085e-04, 1.001455e-03, 1.003384e-03,
1.005296e-03, 1.007191e-03, 1.009069e-03, 1.010931e-03, 1.012776e-03, 1.014606e-03, 1.016420e-03, 1.018219e-03,
1.020003e-03, 1.021772e-03, 1.023526e-03, 1.025266e-03, 1.026992e-03, 1.028705e-03, 1.030403e-03, 1.032088e-03,
1.033760e-03, 1.035419e-03, 1.037065e-03, 1.038699e-03, 1.040320e-03, 1.041929e-03, 1.043525e-03, 1.045110e-03,
1.046683e-03, 1.048245e-03, 1.049795e-03, 1.051335e-03, 1.052863e-03, 1.054380e-03, 1.055886e-03, 1.057382e-03,
1.058868e-03, 1.060343e-03, 1.061808e-03, 1.063263e-03, 1.064709e-03, 1.066144e-03, 1.067570e-03, 1.068987e-03,
1.070394e-03, 1.071792e-03, 1.073180e-03, 1.074560e-03, 1.075931e-03, 1.077293e-03, 1.078647e-03, 1.079992e-03,
1.081328e-03, 1.082656e-03, 1.083976e-03, 1.085288e-03, 1.086592e-03, 1.087888e-03, 1.089176e-03, 1.090457e-03,
1.091729e-03, 1.092994e-03, 1.094252e-03, 1.095502e-03, 1.096745e-03, 1.097981e-03, 1.099210e-03, 1.100432e-03,
1.101646e-03, 1.102854e-03, 1.104055e-03, 1.105250e-03, 1.106437e-03, 1.107618e-03, 1.108793e-03, 1.109961e-03,
1.111123e-03, 1.112278e-03, 1.113427e-03, 1.114571e-03, 1.115708e-03, 1.116838e-03, 1.117963e-03, 1.119083e-03,
1.120196e-03, 1.121303e-03, 1.122405e-03, 1.123501e-03, 1.124592e-03, 1.125676e-03, 1.126756e-03, 1.127830e-03,
1.128899e-03, 1.129962e-03, 1.131020e-03, 1.132073e-03, 1.133120e-03, 1.134163e-03, 1.135200e-03, 1.136233e-03,
1.137260e-03, 1.138282e-03, 1.139300e-03, 1.140313e-03, 1.141321e-03, 1.142324e-03, 1.143323e-03, 1.144317e-03,
1.145306e-03, 1.146291e-03, 1.147271e-03, 1.148246e-03, 1.149218e-03, 1.150185e-03, 1.151147e-03, 1.152105e-03,
1.153059e-03, 1.154009e-03, 1.154954e-03, 1.155895e-03, 1.156833e-03, 1.157766e-03, 1.158694e-03, 1.159619e-03,
1.160540e-03, 1.161457e-03, 1.162370e-03, 1.163279e-03, 1.164185e-03, 1.165086e-03, 1.165984e-03, 1.166878e-03,
1.167768e-03, 1.168654e-03, 1.169537e-03, 1.170416e-03, 1.171292e-03, 1.172164e-03, 1.173032e-03, 1.173897e-03,
1.174759e-03, 1.175617e-03, 1.176471e-03, 1.177322e-03, 1.178170e-03, 1.179014e-03, 1.179855e-03, 1.180693e-03,
1.181527e-03, 1.182359e-03, 1.183187e-03, 1.184011e-03, 1.184833e-03, 1.185651e-03, 1.186467e-03, 1.187279e-03,
1.188088e-03, 1.188894e-03, 1.189697e-03, 1.190497e-03, 1.191294e-03, 1.192088e-03, 1.192879e-03, 1.193667e-03,
1.194453e-03, 1.195235e-03, 1.196015e-03, 1.196791e-03, 1.197565e-03, 1.198336e-03, 1.199104e-03, 1.199870e-03,
1.200633e-03, 1.201393e-03, 1.202150e-03, 1.202905e-03, 1.203657e-03, 1.204406e-03, 1.205153e-03, 1.205897e-03,
1.206639e-03, 1.207378e-03, 1.208114e-03, 1.208848e-03, 1.209580e-03, 1.210309e-03, 1.211035e-03, 1.211759e-03,
1.212481e-03, 1.213200e-03, 1.213916e-03, 1.214631e-03, 1.215342e-03, 1.216052e-03, 1.216759e-03, 1.217464e-03,
1.218166e-03, 1.218867e-03, 1.219564e-03, 1.220260e-03, 1.220953e-03, 1.221645e-03, 1.222333e-03, 1.223020e-03,
1.223705e-03, 1.224387e-03, 1.225067e-03, 1.225745e-03, 1.226421e-03, 1.227094e-03, 1.227766e-03, 1.228435e-03,
1.229102e-03, 1.229768e-03, 1.230431e-03, 1.231092e-03, 1.231751e-03, 1.232408e-03, 1.233063e-03, 1.233716e-03,
1.234367e-03, 1.235016e-03, 1.235663e-03, 1.236308e-03, 1.236952e-03, 1.237593e-03, 1.238232e-03, 1.238870e-03,
1.239505e-03, 1.240139e-03, 1.240770e-03, 1.241400e-03, 1.242028e-03, 1.242654e-03, 1.243279e-03, 1.243901e-03,
1.244522e-03, 1.245141e-03, 1.245758e-03, 1.246373e-03, 1.246987e-03, 1.247599e-03, 1.248209e-03, 1.248817e-03,
1.249424e-03, 1.250029e-03, 1.250632e-03, 1.251233e-03, 1.251833e-03, 1.252431e-03, 1.253027e-03, 1.253622e-03,
1.254215e-03, 1.254807e-03, 1.255396e-03, 1.255985e-03, 1.256571e-03, 1.257156e-03, 1.257739e-03, 1.258321e-03,
1.258901e-03, 1.259480e-03, 1.260057e-03, 1.260633e-03, 1.261206e-03, 1.261779e-03, 1.262350e-03, 1.262919e-03,
1.263487e-03, 1.264053e-03, 1.264618e-03, 1.265181e-03, 1.265743e-03, 1.266304e-03, 1.266862e-03, 1.267420e-03,
1.267976e-03, 1.268530e-03, 1.269083e-03, 1.269635e-03, 1.270185e-03, 1.270734e-03, 1.271282e-03, 1.271828e-03,
1.272372e-03, 1.272915e-03, 1.273457e-03, 1.273998e-03, 1.274537e-03, 1.275075e-03, 1.275611e-03, 1.276146e-03,
1.276680e-03, 1.277212e-03, 1.277743e-03, 1.278273e-03, 1.278801e-03, 1.279329e-03, 1.279854e-03, 1.280379e-03,
1.280902e-03, 1.281424e-03, 1.281945e-03, 1.282464e-03, 1.282982e-03, 1.283499e-03, 1.284015e-03, 1.284529e-03,
1.285042e-03, 1.285554e-03, 1.286065e-03, 1.286575e-03, 1.287083e-03, 1.287590e-03, 1.288096e-03, 1.288600e-03,
1.289104e-03, 1.289606e-03, 1.290107e-03, 1.290607e-03, 1.291106e-03, 1.291604e-03, 1.292100e-03, 1.292595e-03,
1.293089e-03, 1.293582e-03, 1.294074e-03, 1.294565e-03, 1.295055e-03, 1.295543e-03, 1.296031e-03, 1.296517e-03,
1.297002e-03, 1.297486e-03, 1.297969e-03, 1.298451e-03, 1.298932e-03, 1.299411e-03, 1.299890e-03, 1.300367e-03,
1.300844e-03, 1.301319e-03, 1.301794e-03, 1.302267e-03, 1.302739e-03, 1.303210e-03, 1.303681e-03, 1.304150e-03,
1.304618e-03, 1.305085e-03, 1.305551e-03, 1.306016e-03, 1.306480e-03, 1.306943e-03, 1.307405e-03, 1.307866e-03,
1.308326e-03, 1.308785e-03, 1.309243e-03, 1.309700e-03, 1.310157e-03, 1.310612e-03, 1.311066e-03, 1.311519e-03,
1.311971e-03, 1.312423e-03, 1.312873e-03, 1.313322e-03, 1.313771e-03, 1.314218e-03, 1.314665e-03, 1.315110e-03,
1.315555e-03, 1.315999e-03, 1.316442e-03, 1.316884e-03, 1.317325e-03, 1.317765e-03, 1.318204e-03, 1.318642e-03,
1.319079e-03, 1.319516e-03, 1.319952e-03, 1.320386e-03, 1.320820e-03, 1.321253e-03, 1.321685e-03, 1.322116e-03,
1.322547e-03, 1.322976e-03, 1.323405e-03, 1.323832e-03, 1.324259e-03, 1.324685e-03, 1.325111e-03, 1.325535e-03,
1.325958e-03, 1.326381e-03, 1.326803e-03, 1.327224e-03, 1.327644e-03, 1.328063e-03, 1.328482e-03, 1.328900e-03,
};
f32 D_8007C760[] = {
-1.0, 0.0, 1.768389e-04, 2.802975e-04, 3.537091e-04, 4.106552e-04, 4.571860e-04, 4.965289e-04,
5.306105e-04, 5.606736e-04, 5.875667e-04, 6.118951e-04, 6.341057e-04, 6.545379e-04, 6.734556e-04, 6.910678e-04,
7.075432e-04, 7.230198e-04, 7.376116e-04, 7.514146e-04, 7.645095e-04, 7.769656e-04, 7.888422e-04, 8.001910e-04,
8.110567e-04, 8.214790e-04, 8.314926e-04, 8.411283e-04, 8.504136e-04, 8.593731e-04, 8.680289e-04, 8.764010e-04,
8.845072e-04, 8.923641e-04, 8.999865e-04, 9.073880e-04, 9.145810e-04, 9.215769e-04, 9.283863e-04, 9.350189e-04,
9.414836e-04, 9.477887e-04, 9.539419e-04, 9.599503e-04, 9.658206e-04, 9.715590e-04, 9.771714e-04, 9.826630e-04,
9.880391e-04, 9.933043e-04, 9.984632e-04, 1.003520e-03, 1.008479e-03, 1.013343e-03, 1.018116e-03, 1.022802e-03,
1.027403e-03, 1.031923e-03, 1.036364e-03, 1.040729e-03, 1.045021e-03, 1.049242e-03, 1.053395e-03, 1.057481e-03,
1.061503e-03, 1.065462e-03, 1.069361e-03, 1.073201e-03, 1.076985e-03, 1.080713e-03, 1.084387e-03, 1.088010e-03,
1.091582e-03, 1.095104e-03, 1.098579e-03, 1.102007e-03, 1.105389e-03, 1.108728e-03, 1.112023e-03, 1.115277e-03,
1.118489e-03, 1.121662e-03, 1.124795e-03, 1.127891e-03, 1.130949e-03, 1.133972e-03, 1.136959e-03, 1.139911e-03,
1.142830e-03, 1.145716e-03, 1.148570e-03, 1.151392e-03, 1.154183e-03, 1.156944e-03, 1.159676e-03, 1.162378e-03,
1.165053e-03, 1.167699e-03, 1.170319e-03, 1.172912e-03, 1.175479e-03, 1.178020e-03, 1.180536e-03, 1.183028e-03,
1.185496e-03, 1.187940e-03, 1.190361e-03, 1.192759e-03, 1.195135e-03, 1.197489e-03, 1.199821e-03, 1.202133e-03,
1.204423e-03, 1.206694e-03, 1.208944e-03, 1.211175e-03, 1.213386e-03, 1.215579e-03, 1.217752e-03, 1.219908e-03,
1.222045e-03, 1.224165e-03, 1.226267e-03, 1.228352e-03, 1.230420e-03, 1.232472e-03, 1.234507e-03, 1.236526e-03,
1.238529e-03, 1.240517e-03, 1.242489e-03, 1.244446e-03, 1.246389e-03, 1.248317e-03, 1.250230e-03, 1.252129e-03,
1.254014e-03, 1.255885e-03, 1.257743e-03, 1.259587e-03, 1.261418e-03, 1.263236e-03, 1.265041e-03, 1.266834e-03,
1.268614e-03, 1.270381e-03, 1.272137e-03, 1.273880e-03, 1.275612e-03, 1.277332e-03, 1.279041e-03, 1.280738e-03,
1.282424e-03, 1.284099e-03, 1.285763e-03, 1.287416e-03, 1.289059e-03, 1.290691e-03, 1.292313e-03, 1.293924e-03,
1.295526e-03, 1.297117e-03, 1.298699e-03, 1.300271e-03, 1.301833e-03, 1.303386e-03, 1.304929e-03, 1.306463e-03,
1.307988e-03, 1.309504e-03, 1.311011e-03, 1.312509e-03, 1.313999e-03, 1.315480e-03, 1.316952e-03, 1.318416e-03,
1.319871e-03, 1.321319e-03, 1.322758e-03, 1.324189e-03, 1.325612e-03, 1.327027e-03, 1.328434e-03, 1.329834e-03,
1.331226e-03, 1.332611e-03, 1.333988e-03, 1.335357e-03, 1.336720e-03, 1.338075e-03, 1.339423e-03, 1.340764e-03,
1.342098e-03, 1.343425e-03, 1.344745e-03, 1.346058e-03, 1.347365e-03, 1.348665e-03, 1.349958e-03, 1.351245e-03,
1.352525e-03, 1.353799e-03, 1.355067e-03, 1.356329e-03, 1.357584e-03, 1.358833e-03, 1.360076e-03, 1.361313e-03,
1.362544e-03, 1.363769e-03, 1.364989e-03, 1.366202e-03, 1.367410e-03, 1.368612e-03, 1.369809e-03, 1.371000e-03,
1.372185e-03, 1.373365e-03, 1.374539e-03, 1.375709e-03, 1.376872e-03, 1.378031e-03, 1.379184e-03, 1.380332e-03,
1.381475e-03, 1.382613e-03, 1.383746e-03, 1.384874e-03, 1.385997e-03, 1.387115e-03, 1.388228e-03, 1.389336e-03,
1.390440e-03, 1.391538e-03, 1.392632e-03, 1.393722e-03, 1.394806e-03, 1.395887e-03, 1.396962e-03, 1.398033e-03,
1.399100e-03, 1.400162e-03, 1.401220e-03, 1.402273e-03, 1.403323e-03, 1.404367e-03, 1.405408e-03, 1.406444e-03,
1.407476e-03, 1.408505e-03, 1.409528e-03, 1.410548e-03, 1.411564e-03, 1.412576e-03, 1.413583e-03, 1.414587e-03,
1.415587e-03, 1.416583e-03, 1.417575e-03, 1.418563e-03, 1.419548e-03, 1.420529e-03, 1.421505e-03, 1.422479e-03,
1.423448e-03, 1.424414e-03, 1.425376e-03, 1.426335e-03, 1.427290e-03, 1.428241e-03, 1.429189e-03, 1.430134e-03,
1.431075e-03, 1.432012e-03, 1.432946e-03, 1.433877e-03, 1.434804e-03, 1.435728e-03, 1.436649e-03, 1.437566e-03,
1.438480e-03, 1.439391e-03, 1.440298e-03, 1.441203e-03, 1.442104e-03, 1.443002e-03, 1.443896e-03, 1.444788e-03,
1.445677e-03, 1.446562e-03, 1.447445e-03, 1.448324e-03, 1.449201e-03, 1.450074e-03, 1.450944e-03, 1.451812e-03,
1.452676e-03, 1.453538e-03, 1.454397e-03, 1.455253e-03, 1.456106e-03, 1.456956e-03, 1.457803e-03, 1.458648e-03,
1.459489e-03, 1.460328e-03, 1.461165e-03, 1.461998e-03, 1.462829e-03, 1.463657e-03, 1.464483e-03, 1.465305e-03,
1.466126e-03, 1.466943e-03, 1.467758e-03, 1.468570e-03, 1.469380e-03, 1.470187e-03, 1.470992e-03, 1.471794e-03,
1.472594e-03, 1.473391e-03, 1.474185e-03, 1.474978e-03, 1.475767e-03, 1.476555e-03, 1.477340e-03, 1.478122e-03,
1.478902e-03, 1.479680e-03, 1.480455e-03, 1.481228e-03, 1.481999e-03, 1.482767e-03, 1.483533e-03, 1.484297e-03,
1.485059e-03, 1.485818e-03, 1.486575e-03, 1.487329e-03, 1.488082e-03, 1.488832e-03, 1.489580e-03, 1.490326e-03,
1.491070e-03, 1.491812e-03, 1.492551e-03, 1.493289e-03, 1.494024e-03, 1.494757e-03, 1.495488e-03, 1.496217e-03,
1.496944e-03, 1.497668e-03, 1.498391e-03, 1.499112e-03, 1.499830e-03, 1.500547e-03, 1.501262e-03, 1.501974e-03,
1.502685e-03, 1.503394e-03, 1.504100e-03, 1.504805e-03, 1.505508e-03, 1.506209e-03, 1.506908e-03, 1.507605e-03,
1.508300e-03, 1.508994e-03, 1.509685e-03, 1.510375e-03, 1.511062e-03, 1.511748e-03, 1.512432e-03, 1.513115e-03,
1.513795e-03, 1.514474e-03, 1.515150e-03, 1.515825e-03, 1.516499e-03, 1.517170e-03, 1.517840e-03, 1.518508e-03,
1.519174e-03, 1.519838e-03, 1.520501e-03, 1.521162e-03, 1.521821e-03, 1.522479e-03, 1.523135e-03, 1.523789e-03,
1.524442e-03, 1.525093e-03, 1.525742e-03, 1.526390e-03, 1.527036e-03, 1.527680e-03, 1.528323e-03, 1.528964e-03,
1.529603e-03, 1.530241e-03, 1.530878e-03, 1.531513e-03, 1.532146e-03, 1.532777e-03, 1.533407e-03, 1.534036e-03,
1.534663e-03, 1.535288e-03, 1.535912e-03, 1.536535e-03, 1.537156e-03, 1.537775e-03, 1.538393e-03, 1.539009e-03,
1.539624e-03, 1.540238e-03, 1.540850e-03, 1.541460e-03, 1.542069e-03, 1.542677e-03, 1.543283e-03, 1.543888e-03,
1.544491e-03, 1.545093e-03, 1.545693e-03, 1.546292e-03, 1.546890e-03, 1.547486e-03, 1.548081e-03, 1.548675e-03,
1.549267e-03, 1.549857e-03, 1.550447e-03, 1.551035e-03, 1.551621e-03, 1.552207e-03, 1.552791e-03, 1.553373e-03,
1.553955e-03, 1.554535e-03, 1.555114e-03, 1.555691e-03, 1.556267e-03, 1.556842e-03, 1.557415e-03, 1.557988e-03,
1.558559e-03, 1.559128e-03, 1.559697e-03, 1.560264e-03, 1.560830e-03, 1.561394e-03, 1.561958e-03, 1.562520e-03,
1.563081e-03, 1.563640e-03, 1.564199e-03, 1.564756e-03, 1.565312e-03, 1.565867e-03, 1.566421e-03, 1.566973e-03,
1.567524e-03, 1.568074e-03, 1.568623e-03, 1.569171e-03, 1.569718e-03, 1.570263e-03, 1.570807e-03, 1.571350e-03,
1.571892e-03, 1.572433e-03, 1.572972e-03, 1.573511e-03, 1.574048e-03, 1.574584e-03, 1.575119e-03, 1.575653e-03,
1.576186e-03, 1.576718e-03, 1.577249e-03, 1.577778e-03, 1.578307e-03, 1.578834e-03, 1.579360e-03, 1.579886e-03,
1.580410e-03, 1.580933e-03, 1.581455e-03, 1.581976e-03, 1.582495e-03, 1.583014e-03, 1.583532e-03, 1.584049e-03,
1.584564e-03, 1.585079e-03, 1.585592e-03, 1.586105e-03, 1.586617e-03, 1.587127e-03, 1.587637e-03, 1.588145e-03,
1.588652e-03, 1.589159e-03, 1.589664e-03, 1.590169e-03, 1.590672e-03, 1.591175e-03, 1.591676e-03, 1.592177e-03,
};
f32 D_8007CF60[] = {
-1.0, 0.0, 2.204910e-04, 3.494924e-04, 4.410305e-04, 5.120388e-04, 5.700605e-04, 6.191197e-04,
6.616188e-04, 6.991070e-04, 7.326426e-04, 7.629803e-04, 7.906771e-04, 8.161565e-04, 8.397472e-04, 8.617102e-04,
8.822556e-04, 9.015554e-04, 9.197522e-04, 9.369651e-04, 9.532952e-04, 9.688286e-04, 9.836395e-04, 9.977921e-04,
1.011342e-03, 1.024340e-03, 1.036827e-03, 1.048844e-03, 1.060423e-03, 1.071597e-03, 1.082391e-03, 1.092832e-03,
1.102941e-03, 1.112739e-03, 1.122245e-03, 1.131476e-03, 1.140446e-03, 1.149171e-03, 1.157663e-03, 1.165934e-03,
1.173996e-03, 1.181859e-03, 1.189533e-03, 1.197026e-03, 1.204347e-03, 1.211504e-03, 1.218503e-03, 1.225352e-03,
1.232056e-03, 1.238623e-03, 1.245057e-03, 1.251363e-03, 1.257547e-03, 1.263613e-03, 1.269566e-03, 1.275410e-03,
1.281148e-03, 1.286785e-03, 1.292324e-03, 1.297768e-03, 1.303121e-03, 1.308385e-03, 1.313564e-03, 1.318660e-03,
1.323675e-03, 1.328613e-03, 1.333476e-03, 1.338265e-03, 1.342984e-03, 1.347633e-03, 1.352216e-03, 1.356734e-03,
1.361188e-03, 1.365582e-03, 1.369915e-03, 1.374190e-03, 1.378409e-03, 1.382572e-03, 1.386682e-03, 1.390740e-03,
1.394746e-03, 1.398703e-03, 1.402611e-03, 1.406472e-03, 1.410286e-03, 1.414056e-03, 1.417781e-03, 1.421464e-03,
1.425104e-03, 1.428703e-03, 1.432262e-03, 1.435782e-03, 1.439263e-03, 1.442706e-03, 1.446113e-03, 1.449484e-03,
1.452819e-03, 1.456120e-03, 1.459387e-03, 1.462621e-03, 1.465822e-03, 1.468992e-03, 1.472130e-03, 1.475238e-03,
1.478315e-03, 1.481363e-03, 1.484383e-03, 1.487374e-03, 1.490337e-03, 1.493273e-03, 1.496182e-03, 1.499065e-03,
1.501922e-03, 1.504753e-03, 1.507560e-03, 1.510342e-03, 1.513100e-03, 1.515834e-03, 1.518545e-03, 1.521233e-03,
1.523899e-03, 1.526543e-03, 1.529164e-03, 1.531765e-03, 1.534344e-03, 1.536903e-03, 1.539441e-03, 1.541960e-03,
1.544458e-03, 1.546937e-03, 1.549397e-03, 1.551838e-03, 1.554261e-03, 1.556665e-03, 1.559051e-03, 1.561420e-03,
1.563771e-03, 1.566104e-03, 1.568421e-03, 1.570721e-03, 1.573005e-03, 1.575272e-03, 1.577524e-03, 1.579759e-03,
1.581979e-03, 1.584184e-03, 1.586374e-03, 1.588548e-03, 1.590708e-03, 1.592853e-03, 1.594984e-03, 1.597101e-03,
1.599204e-03, 1.601293e-03, 1.603368e-03, 1.605430e-03, 1.607479e-03, 1.609515e-03, 1.611537e-03, 1.613547e-03,
1.615545e-03, 1.617530e-03, 1.619502e-03, 1.621463e-03, 1.623411e-03, 1.625348e-03, 1.627273e-03, 1.629186e-03,
1.631088e-03, 1.632979e-03, 1.634859e-03, 1.636727e-03, 1.638585e-03, 1.640432e-03, 1.642268e-03, 1.644094e-03,
1.645909e-03, 1.647714e-03, 1.649509e-03, 1.651294e-03, 1.653069e-03, 1.654834e-03, 1.656589e-03, 1.658335e-03,
1.660071e-03, 1.661798e-03, 1.663515e-03, 1.665224e-03, 1.666923e-03, 1.668613e-03, 1.670294e-03, 1.671967e-03,
1.673630e-03, 1.675285e-03, 1.676932e-03, 1.678570e-03, 1.680200e-03, 1.681821e-03, 1.683434e-03, 1.685039e-03,
1.686636e-03, 1.688225e-03, 1.689806e-03, 1.691380e-03, 1.692945e-03, 1.694503e-03, 1.696054e-03, 1.697597e-03,
1.699132e-03, 1.700660e-03, 1.702181e-03, 1.703695e-03, 1.705201e-03, 1.706700e-03, 1.708193e-03, 1.709678e-03,
1.711157e-03, 1.712628e-03, 1.714093e-03, 1.715551e-03, 1.717003e-03, 1.718448e-03, 1.719886e-03, 1.721318e-03,
1.722744e-03, 1.724163e-03, 1.725576e-03, 1.726983e-03, 1.728383e-03, 1.729777e-03, 1.731166e-03, 1.732548e-03,
1.733924e-03, 1.735295e-03, 1.736659e-03, 1.738018e-03, 1.739371e-03, 1.740718e-03, 1.742060e-03, 1.743396e-03,
1.744726e-03, 1.746051e-03, 1.747370e-03, 1.748684e-03, 1.749993e-03, 1.751296e-03, 1.752594e-03, 1.753886e-03,
1.755174e-03, 1.756456e-03, 1.757733e-03, 1.759005e-03, 1.760272e-03, 1.761534e-03, 1.762791e-03, 1.764043e-03,
1.765290e-03, 1.766532e-03, 1.767769e-03, 1.769002e-03, 1.770230e-03, 1.771453e-03, 1.772671e-03, 1.773885e-03,
1.775094e-03, 1.776299e-03, 1.777499e-03, 1.778695e-03, 1.779886e-03, 1.781073e-03, 1.782255e-03, 1.783433e-03,
1.784606e-03, 1.785776e-03, 1.786941e-03, 1.788102e-03, 1.789258e-03, 1.790411e-03, 1.791559e-03, 1.792703e-03,
1.793843e-03, 1.794979e-03, 1.796111e-03, 1.797239e-03, 1.798363e-03, 1.799483e-03, 1.800599e-03, 1.801711e-03,
1.802819e-03, 1.803924e-03, 1.805024e-03, 1.806121e-03, 1.807214e-03, 1.808304e-03, 1.809389e-03, 1.810471e-03,
1.811550e-03, 1.812624e-03, 1.813695e-03, 1.814763e-03, 1.815827e-03, 1.816887e-03, 1.817944e-03, 1.818997e-03,
1.820047e-03, 1.821094e-03, 1.822137e-03, 1.823176e-03, 1.824213e-03, 1.825246e-03, 1.826275e-03, 1.827301e-03,
1.828324e-03, 1.829344e-03, 1.830360e-03, 1.831374e-03, 1.832384e-03, 1.833390e-03, 1.834394e-03, 1.835394e-03,
1.836392e-03, 1.837386e-03, 1.838377e-03, 1.839365e-03, 1.840350e-03, 1.841332e-03, 1.842311e-03, 1.843287e-03,
1.844260e-03, 1.845230e-03, 1.846197e-03, 1.847161e-03, 1.848123e-03, 1.849081e-03, 1.850036e-03, 1.850989e-03,
1.851939e-03, 1.852886e-03, 1.853830e-03, 1.854771e-03, 1.855710e-03, 1.856646e-03, 1.857579e-03, 1.858509e-03,
1.859437e-03, 1.860362e-03, 1.861284e-03, 1.862204e-03, 1.863121e-03, 1.864035e-03, 1.864947e-03, 1.865856e-03,
1.866763e-03, 1.867667e-03, 1.868568e-03, 1.869467e-03, 1.870364e-03, 1.871257e-03, 1.872149e-03, 1.873038e-03,
1.873924e-03, 1.874808e-03, 1.875690e-03, 1.876569e-03, 1.877445e-03, 1.878320e-03, 1.879191e-03, 1.880061e-03,
1.880928e-03, 1.881793e-03, 1.882655e-03, 1.883515e-03, 1.884373e-03, 1.885229e-03, 1.886082e-03, 1.886933e-03,
1.887781e-03, 1.888628e-03, 1.889472e-03, 1.890314e-03, 1.891153e-03, 1.891991e-03, 1.892826e-03, 1.893659e-03,
1.894490e-03, 1.895319e-03, 1.896146e-03, 1.896970e-03, 1.897793e-03, 1.898613e-03, 1.899431e-03, 1.900247e-03,
1.901061e-03, 1.901873e-03, 1.902683e-03, 1.903491e-03, 1.904296e-03, 1.905100e-03, 1.905902e-03, 1.906701e-03,
1.907499e-03, 1.908295e-03, 1.909088e-03, 1.909880e-03, 1.910670e-03, 1.911458e-03, 1.912244e-03, 1.913028e-03,
1.913810e-03, 1.914590e-03, 1.915368e-03, 1.916144e-03, 1.916919e-03, 1.917691e-03, 1.918462e-03, 1.919231e-03,
1.919998e-03, 1.920763e-03, 1.921526e-03, 1.922288e-03, 1.923047e-03, 1.923805e-03, 1.924561e-03, 1.925315e-03,
1.926068e-03, 1.926819e-03, 1.927568e-03, 1.928315e-03, 1.929060e-03, 1.929804e-03, 1.930546e-03, 1.931286e-03,
1.932025e-03, 1.932762e-03, 1.933497e-03, 1.934230e-03, 1.934962e-03, 1.935692e-03, 1.936420e-03, 1.937147e-03,
1.937872e-03, 1.938596e-03, 1.939318e-03, 1.940038e-03, 1.940756e-03, 1.941473e-03, 1.942189e-03, 1.942902e-03,
1.943615e-03, 1.944325e-03, 1.945034e-03, 1.945741e-03, 1.946447e-03, 1.947152e-03, 1.947854e-03, 1.948555e-03,
1.949255e-03, 1.949953e-03, 1.950650e-03, 1.951345e-03, 1.952038e-03, 1.952730e-03, 1.953421e-03, 1.954110e-03,
1.954798e-03, 1.955484e-03, 1.956168e-03, 1.956851e-03, 1.957533e-03, 1.958213e-03, 1.958892e-03, 1.959570e-03,
1.960245e-03, 1.960920e-03, 1.961593e-03, 1.962265e-03, 1.962935e-03, 1.963604e-03, 1.964271e-03, 1.964937e-03,
1.965602e-03, 1.966265e-03, 1.966927e-03, 1.967587e-03, 1.968246e-03, 1.968904e-03, 1.969561e-03, 1.970216e-03,
1.970869e-03, 1.971522e-03, 1.972173e-03, 1.972823e-03, 1.973471e-03, 1.974118e-03, 1.974764e-03, 1.975408e-03,
1.976052e-03, 1.976693e-03, 1.977334e-03, 1.977973e-03, 1.978611e-03, 1.979248e-03, 1.979884e-03, 1.980518e-03,
1.981151e-03, 1.981783e-03, 1.982413e-03, 1.983042e-03, 1.983670e-03, 1.984297e-03, 1.984922e-03, 1.985547e-03,
};
f32 D_8007D760[] = {
-1.0, 0.0, 4.341567e-03, 6.889954e-03, 8.701984e-03, 1.010975e-02, 1.126143e-02, 1.223620e-02,
1.308133e-02, 1.382738e-02, 1.449521e-02, 1.509971e-02, 1.565189e-02, 1.616012e-02, 1.663089e-02, 1.706936e-02,
1.747969e-02, 1.786529e-02, 1.822898e-02, 1.857312e-02, 1.889971e-02, 1.921046e-02, 1.950684e-02, 1.979012e-02,
2.006142e-02, 2.032170e-02, 2.057185e-02, 2.081260e-02, 2.104466e-02, 2.126862e-02, 2.148503e-02, 2.169439e-02,
2.189715e-02, 2.209370e-02, 2.228442e-02, 2.246965e-02, 2.264969e-02, 2.282483e-02, 2.299532e-02, 2.316141e-02,
2.332333e-02, 2.348127e-02, 2.363543e-02, 2.378598e-02, 2.393309e-02, 2.407692e-02, 2.421760e-02, 2.435528e-02,
2.449008e-02, 2.462212e-02, 2.475150e-02, 2.487834e-02, 2.500273e-02, 2.512476e-02, 2.524453e-02, 2.536211e-02,
2.547759e-02, 2.559104e-02, 2.570253e-02, 2.581212e-02, 2.591988e-02, 2.602587e-02, 2.613015e-02, 2.623277e-02,
2.633378e-02, 2.643324e-02, 2.653119e-02, 2.662768e-02, 2.672274e-02, 2.681642e-02, 2.690877e-02, 2.699981e-02,
2.708959e-02, 2.717814e-02, 2.726549e-02, 2.735167e-02, 2.743672e-02, 2.752067e-02, 2.760354e-02, 2.768536e-02,
2.776616e-02, 2.784596e-02, 2.792478e-02, 2.800266e-02, 2.807961e-02, 2.815565e-02, 2.823082e-02, 2.830511e-02,
2.837857e-02, 2.845120e-02, 2.852302e-02, 2.859405e-02, 2.866431e-02, 2.873382e-02, 2.880259e-02, 2.887064e-02,
2.893797e-02, 2.900462e-02, 2.907058e-02, 2.913588e-02, 2.920053e-02, 2.926453e-02, 2.932792e-02, 2.939068e-02,
2.945285e-02, 2.951442e-02, 2.957541e-02, 2.963583e-02, 2.969570e-02, 2.975501e-02, 2.981379e-02, 2.987204e-02,
2.992977e-02, 2.998699e-02, 3.004371e-02, 3.009994e-02, 3.015568e-02, 3.021095e-02, 3.026575e-02, 3.032009e-02,
3.037398e-02, 3.042742e-02, 3.048043e-02, 3.053301e-02, 3.058516e-02, 3.063690e-02, 3.068823e-02, 3.073915e-02,
3.078968e-02, 3.083982e-02, 3.088957e-02, 3.093894e-02, 3.098794e-02, 3.103658e-02, 3.108485e-02, 3.113276e-02,
3.118033e-02, 3.122754e-02, 3.127442e-02, 3.132096e-02, 3.136716e-02, 3.141304e-02, 3.145860e-02, 3.150384e-02,
3.154877e-02, 3.159339e-02, 3.163770e-02, 3.168171e-02, 3.172543e-02, 3.176886e-02, 3.181199e-02, 3.185484e-02,
3.189741e-02, 3.193970e-02, 3.198172e-02, 3.202347e-02, 3.206495e-02, 3.210617e-02, 3.214712e-02, 3.218782e-02,
3.222827e-02, 3.226847e-02, 3.230842e-02, 3.234812e-02, 3.238759e-02, 3.242681e-02, 3.246580e-02, 3.250456e-02,
3.254309e-02, 3.258139e-02, 3.261946e-02, 3.265731e-02, 3.269495e-02, 3.273237e-02, 3.276957e-02, 3.280656e-02,
3.284334e-02, 3.287992e-02, 3.291629e-02, 3.295245e-02, 3.298842e-02, 3.302419e-02, 3.305976e-02, 3.309514e-02,
3.313033e-02, 3.316533e-02, 3.320014e-02, 3.323476e-02, 3.326921e-02, 3.330347e-02, 3.333755e-02, 3.337145e-02,
3.340518e-02, 3.343873e-02, 3.347211e-02, 3.350532e-02, 3.353836e-02, 3.357123e-02, 3.360394e-02, 3.363649e-02,
3.366887e-02, 3.370109e-02, 3.373316e-02, 3.376506e-02, 3.379681e-02, 3.382841e-02, 3.385985e-02, 3.389114e-02,
3.392228e-02, 3.395328e-02, 3.398412e-02, 3.401482e-02, 3.404538e-02, 3.407579e-02, 3.410607e-02, 3.413620e-02,
3.416619e-02, 3.419605e-02, 3.422577e-02, 3.425535e-02, 3.428480e-02, 3.431412e-02, 3.434330e-02, 3.437236e-02,
3.440128e-02, 3.443008e-02, 3.445875e-02, 3.448730e-02, 3.451572e-02, 3.454401e-02, 3.457219e-02, 3.460024e-02,
3.462817e-02, 3.465599e-02, 3.468368e-02, 3.471126e-02, 3.473872e-02, 3.476606e-02, 3.479329e-02, 3.482041e-02,
3.484742e-02, 3.487431e-02, 3.490109e-02, 3.492777e-02, 3.495433e-02, 3.498079e-02, 3.500714e-02, 3.503338e-02,
3.505952e-02, 3.508555e-02, 3.511148e-02, 3.513731e-02, 3.516303e-02, 3.518865e-02, 3.521418e-02, 3.523960e-02,
3.526492e-02, 3.529015e-02, 3.531528e-02, 3.534031e-02, 3.536525e-02, 3.539009e-02, 3.541483e-02, 3.543949e-02,
3.546405e-02, 3.548852e-02, 3.551289e-02, 3.553718e-02, 3.556137e-02, 3.558548e-02, 3.560949e-02, 3.563342e-02,
3.565726e-02, 3.568102e-02, 3.570469e-02, 3.572827e-02, 3.575176e-02, 3.577518e-02, 3.579851e-02, 3.582175e-02,
3.584491e-02, 3.586799e-02, 3.589099e-02, 3.591391e-02, 3.593675e-02, 3.595951e-02, 3.598219e-02, 3.600479e-02,
3.602731e-02, 3.604975e-02, 3.607212e-02, 3.609441e-02, 3.611663e-02, 3.613877e-02, 3.616083e-02, 3.618282e-02,
3.620474e-02, 3.622658e-02, 3.624835e-02, 3.627005e-02, 3.629167e-02, 3.631323e-02, 3.633471e-02, 3.635612e-02,
3.637746e-02, 3.639873e-02, 3.641994e-02, 3.644107e-02, 3.646214e-02, 3.648314e-02, 3.650407e-02, 3.652493e-02,
3.654573e-02, 3.656646e-02, 3.658712e-02, 3.660772e-02, 3.662826e-02, 3.664873e-02, 3.666914e-02, 3.668948e-02,
3.670976e-02, 3.672998e-02, 3.675013e-02, 3.677022e-02, 3.679025e-02, 3.681022e-02, 3.683013e-02, 3.684998e-02,
3.686977e-02, 3.688949e-02, 3.690916e-02, 3.692877e-02, 3.694832e-02, 3.696781e-02, 3.698725e-02, 3.700662e-02,
3.702594e-02, 3.704520e-02, 3.706441e-02, 3.708356e-02, 3.710265e-02, 3.712168e-02, 3.714067e-02, 3.715959e-02,
3.717846e-02, 3.719728e-02, 3.721604e-02, 3.723475e-02, 3.725341e-02, 3.727201e-02, 3.729056e-02, 3.730906e-02,
3.732750e-02, 3.734589e-02, 3.736423e-02, 3.738252e-02, 3.740076e-02, 3.741895e-02, 3.743709e-02, 3.745517e-02,
3.747321e-02, 3.749120e-02, 3.750913e-02, 3.752702e-02, 3.754486e-02, 3.756265e-02, 3.758039e-02, 3.759809e-02,
3.761573e-02, 3.763333e-02, 3.765088e-02, 3.766839e-02, 3.768585e-02, 3.770326e-02, 3.772062e-02, 3.773794e-02,
3.775521e-02, 3.777244e-02, 3.778962e-02, 3.780676e-02, 3.782385e-02, 3.784090e-02, 3.785790e-02, 3.787486e-02,
3.789177e-02, 3.790865e-02, 3.792547e-02, 3.794226e-02, 3.795900e-02, 3.797570e-02, 3.799235e-02, 3.800897e-02,
3.802554e-02, 3.804207e-02, 3.805855e-02, 3.807500e-02, 3.809140e-02, 3.810777e-02, 3.812409e-02, 3.814037e-02,
3.815661e-02, 3.817281e-02, 3.818898e-02, 3.820510e-02, 3.822118e-02, 3.823722e-02, 3.825322e-02, 3.826919e-02,
3.828511e-02, 3.830100e-02, 3.831684e-02, 3.833265e-02, 3.834842e-02, 3.836416e-02, 3.837985e-02, 3.839551e-02,
3.841113e-02, 3.842671e-02, 3.844226e-02, 3.845776e-02, 3.847324e-02, 3.848867e-02, 3.850407e-02, 3.851943e-02,
3.853476e-02, 3.855005e-02, 3.856530e-02, 3.858052e-02, 3.859571e-02, 3.861086e-02, 3.862597e-02, 3.864105e-02,
3.865609e-02, 3.867110e-02, 3.868608e-02, 3.870102e-02, 3.871593e-02, 3.873080e-02, 3.874564e-02, 3.876044e-02,
3.877522e-02, 3.878995e-02, 3.880466e-02, 3.881933e-02, 3.883397e-02, 3.884858e-02, 3.886315e-02, 3.887770e-02,
3.889220e-02, 3.890668e-02, 3.892113e-02, 3.893554e-02, 3.894992e-02, 3.896427e-02, 3.897859e-02, 3.899288e-02,
3.900714e-02, 3.902136e-02, 3.903556e-02, 3.904972e-02, 3.906385e-02, 3.907795e-02, 3.909203e-02, 3.910607e-02,
3.912008e-02, 3.913406e-02, 3.914801e-02, 3.916194e-02, 3.917583e-02, 3.918969e-02, 3.920353e-02, 3.921733e-02,
3.923111e-02, 3.924485e-02, 3.925857e-02, 3.927226e-02, 3.928592e-02, 3.929955e-02, 3.931315e-02, 3.932673e-02,
3.934028e-02, 3.935380e-02, 3.936729e-02, 3.938075e-02, 3.939419e-02, 3.940759e-02, 3.942098e-02, 3.943433e-02,
3.944766e-02, 3.946095e-02, 3.947423e-02, 3.948747e-02, 3.950069e-02, 3.951388e-02, 3.952705e-02, 3.954019e-02,
3.955330e-02, 3.956638e-02, 3.957944e-02, 3.959248e-02, 3.960549e-02, 3.961847e-02, 3.963142e-02, 3.964436e-02,
3.965726e-02, 3.967014e-02, 3.968299e-02, 3.969582e-02, 3.970863e-02, 3.972141e-02, 3.973416e-02, 3.974689e-02,
};
f32 D_8007DF60[] = {
-1.0, 0.0, 5.429901e-03, 8.619847e-03, 1.088929e-02, 1.265312e-02, 1.409655e-02, 1.531857e-02,
1.637831e-02, 1.731400e-02, 1.815172e-02, 1.891013e-02, 1.960300e-02, 2.024079e-02, 2.083165e-02, 2.138203e-02,
2.189715e-02, 2.238126e-02, 2.283791e-02, 2.327005e-02, 2.368018e-02, 2.407046e-02, 2.444271e-02, 2.479854e-02,
2.513934e-02, 2.546633e-02, 2.578060e-02, 2.608309e-02, 2.637466e-02, 2.665608e-02, 2.692803e-02, 2.719114e-02,
2.744595e-02, 2.769298e-02, 2.793269e-02, 2.816551e-02, 2.839182e-02, 2.861197e-02, 2.882630e-02, 2.903511e-02,
2.923867e-02, 2.943724e-02, 2.963106e-02, 2.982036e-02, 3.000533e-02, 3.018619e-02, 3.036310e-02, 3.053623e-02,
3.070575e-02, 3.087179e-02, 3.103451e-02, 3.119403e-02, 3.135048e-02, 3.150397e-02, 3.165462e-02, 3.180252e-02,
3.194777e-02, 3.209048e-02, 3.223072e-02, 3.236859e-02, 3.250415e-02, 3.263749e-02, 3.276868e-02, 3.289779e-02,
3.302488e-02, 3.315001e-02, 3.327325e-02, 3.339465e-02, 3.351427e-02, 3.363215e-02, 3.374835e-02, 3.386291e-02,
3.397589e-02, 3.408731e-02, 3.419724e-02, 3.430570e-02, 3.441273e-02, 3.451837e-02, 3.462267e-02, 3.472564e-02,
3.482733e-02, 3.492777e-02, 3.502698e-02, 3.512500e-02, 3.522185e-02, 3.531757e-02, 3.541218e-02, 3.550570e-02,
3.559816e-02, 3.568959e-02, 3.578000e-02, 3.586942e-02, 3.595787e-02, 3.604537e-02, 3.613194e-02, 3.621760e-02,
3.630238e-02, 3.638628e-02, 3.646933e-02, 3.655154e-02, 3.663293e-02, 3.671352e-02, 3.679332e-02, 3.687234e-02,
3.695061e-02, 3.702814e-02, 3.710494e-02, 3.718102e-02, 3.725640e-02, 3.733109e-02, 3.740510e-02, 3.747845e-02,
3.755115e-02, 3.762320e-02, 3.769463e-02, 3.776544e-02, 3.783563e-02, 3.790523e-02, 3.797425e-02, 3.804268e-02,
3.811055e-02, 3.817785e-02, 3.824461e-02, 3.831083e-02, 3.837651e-02, 3.844168e-02, 3.850632e-02, 3.857046e-02,
3.863410e-02, 3.869725e-02, 3.875992e-02, 3.882210e-02, 3.888382e-02, 3.894508e-02, 3.900588e-02, 3.906624e-02,
3.912615e-02, 3.918562e-02, 3.924467e-02, 3.930329e-02, 3.936150e-02, 3.941929e-02, 3.947668e-02, 3.953368e-02,
3.959027e-02, 3.964648e-02, 3.970230e-02, 3.975775e-02, 3.981282e-02, 3.986753e-02, 3.992187e-02, 3.997586e-02,
4.002949e-02, 4.008277e-02, 4.013571e-02, 4.018830e-02, 4.024057e-02, 4.029250e-02, 4.034410e-02, 4.039538e-02,
4.044634e-02, 4.049699e-02, 4.054732e-02, 4.059735e-02, 4.064707e-02, 4.069650e-02, 4.074563e-02, 4.079446e-02,
4.084301e-02, 4.089127e-02, 4.093924e-02, 4.098694e-02, 4.103436e-02, 4.108151e-02, 4.112839e-02, 4.117501e-02,
4.122136e-02, 4.126745e-02, 4.131328e-02, 4.135885e-02, 4.140418e-02, 4.144926e-02, 4.149408e-02, 4.153867e-02,
4.158301e-02, 4.162712e-02, 4.167099e-02, 4.171463e-02, 4.175803e-02, 4.180121e-02, 4.184416e-02, 4.188689e-02,
4.192940e-02, 4.197168e-02, 4.201375e-02, 4.205561e-02, 4.209725e-02, 4.213868e-02, 4.217991e-02, 4.222093e-02,
4.226174e-02, 4.230236e-02, 4.234277e-02, 4.238298e-02, 4.242300e-02, 4.246283e-02, 4.250246e-02, 4.254190e-02,
4.258115e-02, 4.262022e-02, 4.265910e-02, 4.269780e-02, 4.273632e-02, 4.277465e-02, 4.281281e-02, 4.285079e-02,
4.288860e-02, 4.292623e-02, 4.296370e-02, 4.300099e-02, 4.303811e-02, 4.307507e-02, 4.311186e-02, 4.314849e-02,
4.318495e-02, 4.322125e-02, 4.325740e-02, 4.329338e-02, 4.332921e-02, 4.336488e-02, 4.340040e-02, 4.343576e-02,
4.347098e-02, 4.350604e-02, 4.354096e-02, 4.357572e-02, 4.361034e-02, 4.364482e-02, 4.367915e-02, 4.371334e-02,
4.374738e-02, 4.378129e-02, 4.381506e-02, 4.384869e-02, 4.388218e-02, 4.391553e-02, 4.394875e-02, 4.398184e-02,
4.401480e-02, 4.404762e-02, 4.408031e-02, 4.411287e-02, 4.414531e-02, 4.417762e-02, 4.420980e-02, 4.424185e-02,
4.427378e-02, 4.430559e-02, 4.433727e-02, 4.436884e-02, 4.440028e-02, 4.443160e-02, 4.446281e-02, 4.449389e-02,
4.452486e-02, 4.455571e-02, 4.458645e-02, 4.461707e-02, 4.464758e-02, 4.467798e-02, 4.470826e-02, 4.473844e-02,
4.476850e-02, 4.479845e-02, 4.482830e-02, 4.485803e-02, 4.488766e-02, 4.491719e-02, 4.494661e-02, 4.497592e-02,
4.500513e-02, 4.503424e-02, 4.506324e-02, 4.509214e-02, 4.512094e-02, 4.514964e-02, 4.517824e-02, 4.520674e-02,
4.523514e-02, 4.526345e-02, 4.529166e-02, 4.531977e-02, 4.534779e-02, 4.537571e-02, 4.540353e-02, 4.543127e-02,
4.545891e-02, 4.548645e-02, 4.551391e-02, 4.554127e-02, 4.556855e-02, 4.559573e-02, 4.562282e-02, 4.564983e-02,
4.567675e-02, 4.570357e-02, 4.573032e-02, 4.575697e-02, 4.578354e-02, 4.581003e-02, 4.583642e-02, 4.586274e-02,
4.588897e-02, 4.591512e-02, 4.594118e-02, 4.596716e-02, 4.599307e-02, 4.601889e-02, 4.604462e-02, 4.607028e-02,
4.609586e-02, 4.612136e-02, 4.614678e-02, 4.617213e-02, 4.619739e-02, 4.622258e-02, 4.624769e-02, 4.627273e-02,
4.629768e-02, 4.632257e-02, 4.634738e-02, 4.637211e-02, 4.639677e-02, 4.642136e-02, 4.644587e-02, 4.647031e-02,
4.649468e-02, 4.651898e-02, 4.654320e-02, 4.656736e-02, 4.659144e-02, 4.661546e-02, 4.663940e-02, 4.666327e-02,
4.668708e-02, 4.671082e-02, 4.673448e-02, 4.675809e-02, 4.678162e-02, 4.680509e-02, 4.682848e-02, 4.685182e-02,
4.687509e-02, 4.689829e-02, 4.692143e-02, 4.694450e-02, 4.696751e-02, 4.699045e-02, 4.701333e-02, 4.703615e-02,
4.705890e-02, 4.708159e-02, 4.710422e-02, 4.712679e-02, 4.714929e-02, 4.717174e-02, 4.719412e-02, 4.721645e-02,
4.723871e-02, 4.726091e-02, 4.728305e-02, 4.730514e-02, 4.732716e-02, 4.734913e-02, 4.737104e-02, 4.739288e-02,
4.741468e-02, 4.743641e-02, 4.745809e-02, 4.747971e-02, 4.750127e-02, 4.752278e-02, 4.754423e-02, 4.756563e-02,
4.758697e-02, 4.760826e-02, 4.762949e-02, 4.765066e-02, 4.767178e-02, 4.769285e-02, 4.771387e-02, 4.773483e-02,
4.775574e-02, 4.777659e-02, 4.779739e-02, 4.781814e-02, 4.783884e-02, 4.785949e-02, 4.788008e-02, 4.790063e-02,
4.792112e-02, 4.794156e-02, 4.796195e-02, 4.798230e-02, 4.800259e-02, 4.802283e-02, 4.804302e-02, 4.806316e-02,
4.808326e-02, 4.810330e-02, 4.812330e-02, 4.814324e-02, 4.816314e-02, 4.818300e-02, 4.820280e-02, 4.822256e-02,
4.824227e-02, 4.826193e-02, 4.828154e-02, 4.830111e-02, 4.832064e-02, 4.834011e-02, 4.835954e-02, 4.837893e-02,
4.839827e-02, 4.841757e-02, 4.843682e-02, 4.845602e-02, 4.847518e-02, 4.849430e-02, 4.851337e-02, 4.853240e-02,
4.855138e-02, 4.857032e-02, 4.858922e-02, 4.860807e-02, 4.862689e-02, 4.864565e-02, 4.866438e-02, 4.868306e-02,
4.870170e-02, 4.872030e-02, 4.873886e-02, 4.875738e-02, 4.877585e-02, 4.879429e-02, 4.881268e-02, 4.883103e-02,
4.884934e-02, 4.886761e-02, 4.888584e-02, 4.890403e-02, 4.892218e-02, 4.894029e-02, 4.895836e-02, 4.897639e-02,
4.899438e-02, 4.901234e-02, 4.903025e-02, 4.904812e-02, 4.906596e-02, 4.908376e-02, 4.910152e-02, 4.911924e-02,
4.913692e-02, 4.915457e-02, 4.917218e-02, 4.918975e-02, 4.920728e-02, 4.922478e-02, 4.924224e-02, 4.925966e-02,
4.927704e-02, 4.929439e-02, 4.931171e-02, 4.932898e-02, 4.934622e-02, 4.936343e-02, 4.938060e-02, 4.939773e-02,
4.941483e-02, 4.943189e-02, 4.944892e-02, 4.946591e-02, 4.948287e-02, 4.949979e-02, 4.951668e-02, 4.953354e-02,
4.955035e-02, 4.956714e-02, 4.958389e-02, 4.960061e-02, 4.961729e-02, 4.963394e-02, 4.965056e-02, 4.966714e-02,
4.968369e-02, 4.970021e-02, 4.971669e-02, 4.973315e-02, 4.974956e-02, 4.976595e-02, 4.978230e-02, 4.979863e-02,
4.981491e-02, 4.983117e-02, 4.984740e-02, 4.986359e-02, 4.987975e-02, 4.989588e-02, 4.991198e-02, 4.992805e-02,
};
f32 D_8007E760[] = {
-1.0, 0.0, 7.246412e-03, 1.150961e-02, 1.454533e-02, 1.690630e-02, 1.883943e-02, 2.047673e-02,
2.189715e-02, 2.315169e-02, 2.427522e-02, 2.529264e-02, 2.622236e-02, 2.707835e-02, 2.787152e-02, 2.861049e-02,
2.930224e-02, 2.995245e-02, 3.056587e-02, 3.114645e-02, 3.169754e-02, 3.222202e-02, 3.272233e-02, 3.320064e-02,
3.365879e-02, 3.409842e-02, 3.452099e-02, 3.492777e-02, 3.531990e-02, 3.569842e-02, 3.606423e-02, 3.641817e-02,
3.676098e-02, 3.709336e-02, 3.741591e-02, 3.772921e-02, 3.803377e-02, 3.833008e-02, 3.861856e-02, 3.889963e-02,
3.917365e-02, 3.944097e-02, 3.970192e-02, 3.995679e-02, 4.020587e-02, 4.044940e-02, 4.068763e-02, 4.092080e-02,
4.114910e-02, 4.137275e-02, 4.159192e-02, 4.180680e-02, 4.201755e-02, 4.222433e-02, 4.242728e-02, 4.262655e-02,
4.282226e-02, 4.301454e-02, 4.320351e-02, 4.338929e-02, 4.357198e-02, 4.375168e-02, 4.392848e-02, 4.410249e-02,
4.427378e-02, 4.444245e-02, 4.460857e-02, 4.477221e-02, 4.493346e-02, 4.509237e-02, 4.524903e-02, 4.540348e-02,
4.555580e-02, 4.570603e-02, 4.585425e-02, 4.600049e-02, 4.614482e-02, 4.628728e-02, 4.642792e-02, 4.656679e-02,
4.670393e-02, 4.683938e-02, 4.697319e-02, 4.710539e-02, 4.723603e-02, 4.736514e-02, 4.749275e-02, 4.761890e-02,
4.774363e-02, 4.786696e-02, 4.798892e-02, 4.810956e-02, 4.822889e-02, 4.834694e-02, 4.846374e-02, 4.857932e-02,
4.869370e-02, 4.880691e-02, 4.891897e-02, 4.902990e-02, 4.913973e-02, 4.924848e-02, 4.935617e-02, 4.946281e-02,
4.956844e-02, 4.967307e-02, 4.977672e-02, 4.987940e-02, 4.998114e-02, 5.008195e-02, 5.018185e-02, 5.028085e-02,
5.037898e-02, 5.047624e-02, 5.057265e-02, 5.066824e-02, 5.076300e-02, 5.085695e-02, 5.095012e-02, 5.104251e-02,
5.113413e-02, 5.122500e-02, 5.131513e-02, 5.140453e-02, 5.149322e-02, 5.158120e-02, 5.166849e-02, 5.175509e-02,
5.184102e-02, 5.192629e-02, 5.201091e-02, 5.209489e-02, 5.217823e-02, 5.226095e-02, 5.234306e-02, 5.242457e-02,
5.250547e-02, 5.258580e-02, 5.266554e-02, 5.274472e-02, 5.282333e-02, 5.290139e-02, 5.297890e-02, 5.305588e-02,
5.313232e-02, 5.320824e-02, 5.328365e-02, 5.335854e-02, 5.343294e-02, 5.350683e-02, 5.358024e-02, 5.365317e-02,
5.372561e-02, 5.379759e-02, 5.386911e-02, 5.394016e-02, 5.401077e-02, 5.408093e-02, 5.415064e-02, 5.421992e-02,
5.428878e-02, 5.435720e-02, 5.442521e-02, 5.449281e-02, 5.455999e-02, 5.462677e-02, 5.469315e-02, 5.475914e-02,
5.482473e-02, 5.488995e-02, 5.495478e-02, 5.501923e-02, 5.508331e-02, 5.514703e-02, 5.521038e-02, 5.527337e-02,
5.533601e-02, 5.539829e-02, 5.546023e-02, 5.552183e-02, 5.558308e-02, 5.564400e-02, 5.570459e-02, 5.576485e-02,
5.582478e-02, 5.588440e-02, 5.594369e-02, 5.600267e-02, 5.606134e-02, 5.611970e-02, 5.617776e-02, 5.623551e-02,
5.629297e-02, 5.635013e-02, 5.640699e-02, 5.646357e-02, 5.651987e-02, 5.657587e-02, 5.663160e-02, 5.668705e-02,
5.674223e-02, 5.679713e-02, 5.685176e-02, 5.690613e-02, 5.696023e-02, 5.701407e-02, 5.706765e-02, 5.712098e-02,
5.717405e-02, 5.722687e-02, 5.727943e-02, 5.733175e-02, 5.738383e-02, 5.743567e-02, 5.748726e-02, 5.753861e-02,
5.758973e-02, 5.764062e-02, 5.769127e-02, 5.774170e-02, 5.779190e-02, 5.784187e-02, 5.789162e-02, 5.794115e-02,
5.799046e-02, 5.803955e-02, 5.808842e-02, 5.813709e-02, 5.818554e-02, 5.823378e-02, 5.828181e-02, 5.832964e-02,
5.837726e-02, 5.842468e-02, 5.847190e-02, 5.851892e-02, 5.856574e-02, 5.861236e-02, 5.865880e-02, 5.870503e-02,
5.875108e-02, 5.879694e-02, 5.884261e-02, 5.888809e-02, 5.893339e-02, 5.897851e-02, 5.902344e-02, 5.906820e-02,
5.911277e-02, 5.915717e-02, 5.920139e-02, 5.924544e-02, 5.928931e-02, 5.933301e-02, 5.937654e-02, 5.941990e-02,
5.946309e-02, 5.950612e-02, 5.954898e-02, 5.959168e-02, 5.963421e-02, 5.967659e-02, 5.971880e-02, 5.976085e-02,
5.980275e-02, 5.984449e-02, 5.988607e-02, 5.992750e-02, 5.996877e-02, 6.000990e-02, 6.005087e-02, 6.009169e-02,
6.013236e-02, 6.017289e-02, 6.021327e-02, 6.025350e-02, 6.029359e-02, 6.033354e-02, 6.037334e-02, 6.041300e-02,
6.045252e-02, 6.049190e-02, 6.053115e-02, 6.057025e-02, 6.060922e-02, 6.064806e-02, 6.068676e-02, 6.072532e-02,
6.076375e-02, 6.080206e-02, 6.084023e-02, 6.087827e-02, 6.091618e-02, 6.095396e-02, 6.099161e-02, 6.102914e-02,
6.106655e-02, 6.110382e-02, 6.114098e-02, 6.117801e-02, 6.121492e-02, 6.125171e-02, 6.128837e-02, 6.132492e-02,
6.136135e-02, 6.139765e-02, 6.143385e-02, 6.146992e-02, 6.150588e-02, 6.154172e-02, 6.157745e-02, 6.161306e-02,
6.164856e-02, 6.168395e-02, 6.171923e-02, 6.175440e-02, 6.178945e-02, 6.182440e-02, 6.185924e-02, 6.189397e-02,
6.192859e-02, 6.196310e-02, 6.199751e-02, 6.203181e-02, 6.206601e-02, 6.210010e-02, 6.213409e-02, 6.216798e-02,
6.220177e-02, 6.223545e-02, 6.226903e-02, 6.230251e-02, 6.233589e-02, 6.236917e-02, 6.240236e-02, 6.243544e-02,
6.246843e-02, 6.250132e-02, 6.253411e-02, 6.256681e-02, 6.259941e-02, 6.263192e-02, 6.266434e-02, 6.269666e-02,
6.272888e-02, 6.276102e-02, 6.279306e-02, 6.282501e-02, 6.285687e-02, 6.288864e-02, 6.292032e-02, 6.295191e-02,
6.298341e-02, 6.301482e-02, 6.304615e-02, 6.307738e-02, 6.310853e-02, 6.313960e-02, 6.317057e-02, 6.320147e-02,
6.323227e-02, 6.326300e-02, 6.329364e-02, 6.332419e-02, 6.335466e-02, 6.338505e-02, 6.341536e-02, 6.344558e-02,
6.347573e-02, 6.350579e-02, 6.353577e-02, 6.356567e-02, 6.359549e-02, 6.362524e-02, 6.365490e-02, 6.368449e-02,
6.371400e-02, 6.374343e-02, 6.377278e-02, 6.380206e-02, 6.383126e-02, 6.386038e-02, 6.388943e-02, 6.391840e-02,
6.394730e-02, 6.397612e-02, 6.400487e-02, 6.403355e-02, 6.406216e-02, 6.409069e-02, 6.411914e-02, 6.414753e-02,
6.417584e-02, 6.420409e-02, 6.423226e-02, 6.426036e-02, 6.428839e-02, 6.431635e-02, 6.434424e-02, 6.437206e-02,
6.439982e-02, 6.442750e-02, 6.445512e-02, 6.448267e-02, 6.451015e-02, 6.453756e-02, 6.456491e-02, 6.459219e-02,
6.461940e-02, 6.464655e-02, 6.467363e-02, 6.470065e-02, 6.472760e-02, 6.475449e-02, 6.478131e-02, 6.480807e-02,
6.483477e-02, 6.486140e-02, 6.488797e-02, 6.491447e-02, 6.494092e-02, 6.496730e-02, 6.499362e-02, 6.501987e-02,
6.504607e-02, 6.507221e-02, 6.509828e-02, 6.512429e-02, 6.515025e-02, 6.517614e-02, 6.520198e-02, 6.522775e-02,
6.525347e-02, 6.527912e-02, 6.530472e-02, 6.533026e-02, 6.535574e-02, 6.538117e-02, 6.540653e-02, 6.543184e-02,
6.545709e-02, 6.548229e-02, 6.550743e-02, 6.553251e-02, 6.555754e-02, 6.558251e-02, 6.560743e-02, 6.563229e-02,
6.565709e-02, 6.568184e-02, 6.570654e-02, 6.573118e-02, 6.575577e-02, 6.578030e-02, 6.580478e-02, 6.582921e-02,
6.585359e-02, 6.587791e-02, 6.590218e-02, 6.592639e-02, 6.595056e-02, 6.597467e-02, 6.599873e-02, 6.602274e-02,
6.604670e-02, 6.607060e-02, 6.609446e-02, 6.611827e-02, 6.614202e-02, 6.616573e-02, 6.618938e-02, 6.621299e-02,
6.623654e-02, 6.626005e-02, 6.628351e-02, 6.630691e-02, 6.633027e-02, 6.635358e-02, 6.637685e-02, 6.640006e-02,
6.642323e-02, 6.644635e-02, 6.646942e-02, 6.649244e-02, 6.651542e-02, 6.653835e-02, 6.656123e-02, 6.658407e-02,
6.660686e-02, 6.662961e-02, 6.665230e-02, 6.667496e-02, 6.669756e-02, 6.672013e-02, 6.674264e-02, 6.676511e-02,
6.678754e-02, 6.680992e-02, 6.683226e-02, 6.685455e-02, 6.687680e-02, 6.689900e-02, 6.692116e-02, 6.694328e-02,
6.696536e-02, 6.698739e-02, 6.700937e-02, 6.703132e-02, 6.705322e-02, 6.707508e-02, 6.709689e-02, 6.711867e-02,
};
u8 D_8007EF60[] = {
0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0,
1, 2, 3, 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 5, 6, 7,
8, 5, 6, 7, 8, 5, 6, 7, 8, 5, 6, 7, 8, 9, 10, 11,
9, 10, 11, 9, 10, 11, 9, 10, 11, 9, 10, 11, 0, 0, 0, 0,
0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3,
4, 4, 4, 4, 4, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2,
2, 3, 3, 3, 3, 4, 4, 4, 4, 0, 0, 0, 1, 1, 1, 2,
2, 2, 3, 3, 3, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0,
};

View File

@ -11,7 +11,7 @@ EvtScript NAMESPACE = {
EVT_WAIT(3) EVT_WAIT(3)
EVT_CALL(SetCamViewport, 1, 29, 20, 262, 177) EVT_CALL(SetCamViewport, 1, 29, 20, 262, 177)
EVT_CALL(func_802535B4, 0) EVT_CALL(func_802535B4, 0)
EVT_SET(LocalVar(0), 5) EVT_SET(LVar0, 5)
EVT_CALL(N(Set80218630_Var0)) EVT_CALL(N(Set80218630_Var0))
EVT_CALL(WaitForState, BATTLE_STATE_PLAYER_MENU) EVT_CALL(WaitForState, BATTLE_STATE_PLAYER_MENU)
EVT_CALL(SetBattleState, BATTLE_STATE_NEXT_ENEMY) EVT_CALL(SetBattleState, BATTLE_STATE_NEXT_ENEMY)

View File

@ -1,5 +1,8 @@
#include "food.h" #include "food.h"
#include "effects.h" #include "effects.h"
#include "entity.h"
extern EntityModelScript D_80283EE8;
#include "ItemRefund.inc.c" #include "ItemRefund.inc.c"
@ -116,7 +119,7 @@ EvtScript N(script6) = {
EVT_WAIT(20) EVT_WAIT(20)
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_Mario_10002) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_Mario_10002)
EVT_END_THREAD EVT_END_THREAD
EVT_CALL(CreateVirtualEntity, LVarA, 0x80283EE8) EVT_CALL(CreateVirtualEntity, LVarA, EVT_PTR(D_80283EE8))
EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar0, LVar1, LVar2) EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar0, LVar1, LVar2)
EVT_ADD(LVar0, 0) EVT_ADD(LVar0, 0)
EVT_ADD(LVar1, 30) EVT_ADD(LVar1, 30)

View File

@ -1,5 +1,8 @@
#include "life_shroom.h" #include "life_shroom.h"
#include "effects.h" #include "effects.h"
#include "entity.h"
extern EntityModelScript D_80283EE8;
#include "ItemRefund.inc.c" #include "ItemRefund.inc.c"
@ -105,7 +108,7 @@ EvtScript N(script6) = {
EVT_WAIT(20) EVT_WAIT(20)
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_Mario_10002) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_Mario_10002)
EVT_END_THREAD EVT_END_THREAD
EVT_CALL(CreateVirtualEntity, LVarA, 0x80283EE8) EVT_CALL(CreateVirtualEntity, LVarA, EVT_PTR(D_80283EE8))
EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar0, LVar1, LVar2) EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar0, LVar1, LVar2)
EVT_ADD(LVar0, 0) EVT_ADD(LVar0, 0)
EVT_ADD(LVar1, 30) EVT_ADD(LVar1, 30)

View File

@ -1,5 +1,8 @@
#include "mushroom.h" #include "mushroom.h"
#include "effects.h" #include "effects.h"
#include "entity.h"
extern EntityModelScript D_80283EE8;
#include "ItemRefund.inc.c" #include "ItemRefund.inc.c"
@ -104,7 +107,7 @@ EvtScript N(script6) = {
EVT_WAIT(20) EVT_WAIT(20)
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_Mario_10002) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_Mario_10002)
EVT_END_THREAD EVT_END_THREAD
EVT_CALL(CreateVirtualEntity, LVarA, 0x80283EE8) EVT_CALL(CreateVirtualEntity, LVarA, EVT_PTR(D_80283EE8))
EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar0, LVar1, LVar2) EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar0, LVar1, LVar2)
EVT_ADD(LVar0, 0) EVT_ADD(LVar0, 0)
EVT_ADD(LVar1, 30) EVT_ADD(LVar1, 30)
@ -168,7 +171,7 @@ EvtScript N(main) = {
EVT_CALL(N(func_802A15A0_715DF0), LVarA) EVT_CALL(N(func_802A15A0_715DF0), LVarA)
EVT_CALL(InitTargetIterator) EVT_CALL(InitTargetIterator)
EVT_CALL(GetOwnerTarget, LVar0, LVar1) EVT_CALL(GetOwnerTarget, LVar0, LVar1)
EVT_IF_EQ(LVar0, 256) EVT_IF_EQ(LVar0, ACTOR_PARTNER)
EVT_EXEC_WAIT(N(script6)) EVT_EXEC_WAIT(N(script6))
EVT_RETURN EVT_RETURN
EVT_END_IF EVT_END_IF

View File

@ -1,5 +1,8 @@
#include "super_soda.h" #include "super_soda.h"
#include "effects.h" #include "effects.h"
#include "entity.h"
extern EntityModelScript D_80283EE8;
#include "ItemRefund.inc.c" #include "ItemRefund.inc.c"
@ -108,7 +111,7 @@ EvtScript N(script6) = {
EVT_WAIT(20) EVT_WAIT(20)
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_Mario_10002) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_Mario_10002)
EVT_END_THREAD EVT_END_THREAD
EVT_CALL(CreateVirtualEntity, LVarA, 0x80283EE8) EVT_CALL(CreateVirtualEntity, LVarA, EVT_PTR(D_80283EE8))
EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar0, LVar1, LVar2) EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar0, LVar1, LVar2)
EVT_ADD(LVar0, 0) EVT_ADD(LVar0, 0)
EVT_ADD(LVar1, 30) EVT_ADD(LVar1, 30)

View File

@ -6,6 +6,8 @@
#include "battle/action_cmd/bomb.h" #include "battle/action_cmd/bomb.h"
#include "battle/action_cmd/body_slam.h" #include "battle/action_cmd/body_slam.h"
#define NAMESPACE battle_partner_bombette
extern EvtScript N(init_80238780); extern EvtScript N(init_80238780);
extern EvtScript N(takeTurn_80239AB8); extern EvtScript N(takeTurn_80239AB8);
extern EvtScript N(idle_802387E0); extern EvtScript N(idle_802387E0);

View File

@ -539,7 +539,7 @@ ActorPartBlueprint N(partsTable_802392A4)[] = {
extern EvtScript N(init_802392F0); extern EvtScript N(init_802392F0);
ActorBlueprint N(goombario) = { ActorBlueprint NAMESPACE = {
.flags = 0, .flags = 0,
.type = ACTOR_TYPE_GOOMBARIO, .type = ACTOR_TYPE_GOOMBARIO,
.level = 0, .level = 0,

View File

@ -3,7 +3,7 @@
#include "script_api/battle.h" #include "script_api/battle.h"
#include "sprite/npc/Goompa.h" #include "sprite/npc/Goompa.h"
#define NAMESPACE battle_partner_goombario #define NAMESPACE battle_partner_goompa
extern EvtScript N(init_80238110); extern EvtScript N(init_80238110);
extern EvtScript N(takeTurn_802383F4); extern EvtScript N(takeTurn_802383F4);

View File

@ -2,6 +2,9 @@
#include "battle/battle.h" #include "battle/battle.h"
#include "script_api/battle.h" #include "script_api/battle.h"
#include "sprite/npc/BattleKalmar.h" #include "sprite/npc/BattleKalmar.h"
#include "entity.h"
extern EntityModelScript D_80283EE8;
#define NAMESPACE battle_star_up_and_away #define NAMESPACE battle_star_up_and_away
@ -337,7 +340,7 @@ EvtScript N(usePower) = {
EVT_THREAD EVT_THREAD
EVT_CALL(GetOwnerTarget, LVarB, LVar1) EVT_CALL(GetOwnerTarget, LVarB, LVar1)
EVT_WAIT(10) EVT_WAIT(10)
EVT_CALL(CreateVirtualEntity, LVarA, 0x80283EE8) EVT_CALL(CreateVirtualEntity, LVarA, EVT_PTR(D_80283EE8))
EVT_CALL(GetActorPos, LVarB, LVar0, LVar1, LVar2) EVT_CALL(GetActorPos, LVarB, LVar0, LVar1, LVar2)
EVT_SET(LVarD, LVar0) EVT_SET(LVarD, LVar0)
EVT_SET(LVarE, LVar1) EVT_SET(LVarE, LVar1)

387
src/level_up.c Normal file
View File

@ -0,0 +1,387 @@
#include "common.h"
#include "hud_element.h"
#include "entity.h"
Lights1 level_up_lights = gdSPDefLights1(0, 0, 0, 0, 0, 0, 0, 0, 0);
#include "level_up/draw_second_E.vtx.inc.c"
#include "level_up/draw_V.vtx.inc.c"
#include "level_up/draw_E.vtx.inc.c"
#include "level_up/draw_second_L.vtx.inc.c"
#include "level_up/draw_L.vtx.inc.c"
#include "level_up/draw_P.vtx.inc.c"
#include "level_up/draw_U.vtx.inc.c"
#include "level_up/draw_exclamation_mark.vtx.inc.c"
#include "level_up/big_V.png.inc.c"
#include "level_up/big_V.gfx.inc.c"
#include "level_up/big_P.png.inc.c"
#include "level_up/big_P.gfx.inc.c"
#include "level_up/big_exclamation_mark.png.inc.c"
#include "level_up/big_exclamation_mark.gfx.inc.c"
#include "level_up/big_U.png.inc.c"
#include "level_up/big_U.gfx.inc.c"
#include "level_up/big_L.png.inc.c"
#include "level_up/big_L.gfx.inc.c"
#include "level_up/big_E.png.inc.c"
#include "level_up/big_E.gfx.inc.c"
Gfx D_802A76E8_7A5628[] = {
gsSPSetLights1(level_up_lights),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
gsSPDisplayList(D_802A4508_7A2448),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(&D_802A1398_79F2D8[0], 8, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSPEndDisplayList(),
};
Gfx D_802A7750_7A5690[] = {
gsSPSetLights1(level_up_lights),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
gsSPDisplayList(D_802A5580_7A34C0),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(&D_802A1318_79F258[0], 8, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSPEndDisplayList(),
};
Gfx D_802A77B8_7A56F8[] = {
gsSPSetLights1(level_up_lights),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
gsSPDisplayList(D_802A3490_7A13D0),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(&D_802A1298_79F1D8[0], 8, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSPEndDisplayList(),
};
Gfx D_802A7820_7A5760[] = {
gsSPSetLights1(level_up_lights),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
gsSPDisplayList(D_802A65F8_7A4538),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(&D_802A1218_79F158[0], 8, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSPEndDisplayList(),
};
Gfx D_802A7888_7A57C8[] = {
gsSPSetLights1(level_up_lights),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
gsSPDisplayList(D_802A65F8_7A4538),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(&D_802A1198_79F0D8[0], 8, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSPEndDisplayList(),
};
Gfx D_802A78F0_7A5830[] = {
gsSPSetLights1(level_up_lights),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
gsSPDisplayList(D_802A7670_7A55B0),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(&D_802A1118_79F058[0], 8, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSPEndDisplayList(),
};
Gfx D_802A7958_7A5898[] = {
gsSPSetLights1(level_up_lights),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
gsSPDisplayList(D_802A2418_7A0358),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(&D_802A1098_79EFD8[0], 8, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSPEndDisplayList(),
};
Gfx D_802A79C0_7A5900[] = {
gsSPSetLights1(level_up_lights),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
gsSPDisplayList(D_802A7670_7A55B0),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(&D_802A1018_79EF58[0], 8, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSPEndDisplayList(),
};
Gfx D_802A7A28_7A5968[] = {
gsSPSetLights1(level_up_lights),
gsSPDisplayList(D_802A79C0_7A5900),
gsSPDisplayList(D_802A7958_7A5898),
gsSPDisplayList(D_802A78F0_7A5830),
gsSPDisplayList(D_802A7888_7A57C8),
gsSPDisplayList(D_802A7820_7A5760),
gsSPDisplayList(D_802A77B8_7A56F8),
gsSPDisplayList(D_802A7750_7A5690),
gsSPDisplayList(D_802A76E8_7A5628),
gsSPEndDisplayList(),
};
Gfx D_802A7A88_7A59C8[] = {
gsSPSetLights1(level_up_lights),
gsSPDisplayList(D_802A7A28_7A5968),
gsSPEndDisplayList(),
};
#include "level_up/heart.png.inc.c"
#include "level_up/heart.pal.inc.c"
#include "level_up/flower.png.inc.c"
#include "level_up/flower.pal.inc.c"
#include "level_up/leaves.png.inc.c"
#include "level_up/leaves.pal.inc.c"
#include "level_up/badge.png.inc.c"
#include "level_up/badge.pal.inc.c"
#include "level_up/FP.png.inc.c"
#include "level_up/FP.pal.inc.c"
#include "level_up/BP.png.inc.c"
#include "level_up/BP.pal.inc.c"
#include "level_up/HP.png.inc.c"
#include "level_up/HP.pal.inc.c"
#include "level_up/digit_0.png.inc.c"
#include "level_up/digit_0.pal.inc.c"
#include "level_up/digit_1.png.inc.c"
#include "level_up/digit_1.pal.inc.c"
#include "level_up/digit_2.png.inc.c"
#include "level_up/digit_2.pal.inc.c"
#include "level_up/digit_3.png.inc.c"
#include "level_up/digit_3.pal.inc.c"
#include "level_up/digit_4.png.inc.c"
#include "level_up/digit_4.pal.inc.c"
#include "level_up/digit_5.png.inc.c"
#include "level_up/digit_5.pal.inc.c"
#include "level_up/digit_6.png.inc.c"
#include "level_up/digit_6.pal.inc.c"
#include "level_up/digit_7.png.inc.c"
#include "level_up/digit_7.pal.inc.c"
#include "level_up/digit_8.png.inc.c"
#include "level_up/digit_8.pal.inc.c"
#include "level_up/digit_9.png.inc.c"
#include "level_up/digit_9.pal.inc.c"
#include "level_up/small_digit_0.png.inc.c"
#include "level_up/small_digit_0.pal.inc.c"
#include "level_up/small_digit_1.png.inc.c"
#include "level_up/small_digit_1.pal.inc.c"
#include "level_up/small_digit_2.png.inc.c"
#include "level_up/small_digit_2.pal.inc.c"
#include "level_up/small_digit_3.png.inc.c"
#include "level_up/small_digit_3.pal.inc.c"
#include "level_up/small_digit_4.png.inc.c"
#include "level_up/small_digit_4.pal.inc.c"
#include "level_up/small_digit_5.png.inc.c"
#include "level_up/small_digit_5.pal.inc.c"
#include "level_up/small_digit_6.png.inc.c"
#include "level_up/small_digit_6.pal.inc.c"
#include "level_up/small_digit_7.png.inc.c"
#include "level_up/small_digit_7.pal.inc.c"
#include "level_up/small_digit_8.png.inc.c"
#include "level_up/small_digit_8.pal.inc.c"
#include "level_up/small_digit_9.png.inc.c"
#include "level_up/small_digit_9.pal.inc.c"
#include "level_up/small_arrow.png.inc.c"
#include "level_up/small_arrow.pal.inc.c"
#define level_up_digit_0_red_png level_up_digit_0_png
#include "level_up/digit_0.red.pal.inc.c"
#define level_up_digit_1_red_png level_up_digit_1_png
#include "level_up/digit_1.red.pal.inc.c"
#define level_up_digit_2_red_png level_up_digit_2_png
#include "level_up/digit_2.red.pal.inc.c"
#define level_up_digit_3_red_png level_up_digit_3_png
#include "level_up/digit_3.red.pal.inc.c"
#define level_up_digit_4_red_png level_up_digit_4_png
#include "level_up/digit_4.red.pal.inc.c"
#define level_up_digit_5_red_png level_up_digit_5_png
#include "level_up/digit_5.red.pal.inc.c"
#define level_up_digit_6_red_png level_up_digit_6_png
#include "level_up/digit_6.red.pal.inc.c"
#define level_up_digit_7_red_png level_up_digit_7_png
#include "level_up/digit_7.red.pal.inc.c"
#define level_up_digit_8_red_png level_up_digit_8_png
#include "level_up/digit_8.red.pal.inc.c"
#define level_up_digit_9_red_png level_up_digit_9_png
#include "level_up/digit_9.red.pal.inc.c"
#define level_up_small_digit_0_red_png level_up_small_digit_0_png
#include "level_up/small_digit_0.red.pal.inc.c"
#define level_up_small_digit_1_red_png level_up_small_digit_1_png
#include "level_up/small_digit_1.red.pal.inc.c"
#define level_up_small_digit_2_red_png level_up_small_digit_2_png
#include "level_up/small_digit_2.red.pal.inc.c"
#define level_up_small_digit_3_red_png level_up_small_digit_3_png
#include "level_up/small_digit_3.red.pal.inc.c"
#define level_up_small_digit_4_red_png level_up_small_digit_4_png
#include "level_up/small_digit_4.red.pal.inc.c"
#define level_up_small_digit_5_red_png level_up_small_digit_5_png
#include "level_up/small_digit_5.red.pal.inc.c"
#define level_up_small_digit_6_red_png level_up_small_digit_6_png
#include "level_up/small_digit_6.red.pal.inc.c"
#define level_up_small_digit_7_red_png level_up_small_digit_7_png
#include "level_up/small_digit_7.red.pal.inc.c"
#define level_up_small_digit_8_red_png level_up_small_digit_8_png
#include "level_up/small_digit_8.red.pal.inc.c"
#define level_up_small_digit_9_red_png level_up_small_digit_9_png
#include "level_up/small_digit_9.red.pal.inc.c"
#define level_up_small_arrow_red_png level_up_small_arrow_png
#include "level_up/small_arrow.red.pal.inc.c"
#define level_up_digit_0_blue_png level_up_digit_0_png
#include "level_up/digit_0.blue.pal.inc.c"
#define level_up_digit_1_blue_png level_up_digit_1_png
#include "level_up/digit_1.blue.pal.inc.c"
#define level_up_digit_2_blue_png level_up_digit_2_png
#include "level_up/digit_2.blue.pal.inc.c"
#define level_up_digit_3_blue_png level_up_digit_3_png
#include "level_up/digit_3.blue.pal.inc.c"
#define level_up_digit_4_blue_png level_up_digit_4_png
#include "level_up/digit_4.blue.pal.inc.c"
#define level_up_digit_5_blue_png level_up_digit_5_png
#include "level_up/digit_5.blue.pal.inc.c"
#define level_up_digit_6_blue_png level_up_digit_6_png
#include "level_up/digit_6.blue.pal.inc.c"
#define level_up_digit_7_blue_png level_up_digit_7_png
#include "level_up/digit_7.blue.pal.inc.c"
#define level_up_digit_8_blue_png level_up_digit_8_png
#include "level_up/digit_8.blue.pal.inc.c"
#define level_up_digit_9_blue_png level_up_digit_9_png
#include "level_up/digit_9.blue.pal.inc.c"
#define level_up_small_digit_0_blue_png level_up_small_digit_0_png
#include "level_up/small_digit_0.blue.pal.inc.c"
#define level_up_small_digit_1_blue_png level_up_small_digit_1_png
#include "level_up/small_digit_1.blue.pal.inc.c"
#define level_up_small_digit_2_blue_png level_up_small_digit_2_png
#include "level_up/small_digit_2.blue.pal.inc.c"
#define level_up_small_digit_3_blue_png level_up_small_digit_3_png
#include "level_up/small_digit_3.blue.pal.inc.c"
#define level_up_small_digit_4_blue_png level_up_small_digit_4_png
#include "level_up/small_digit_4.blue.pal.inc.c"
#define level_up_small_digit_5_blue_png level_up_small_digit_5_png
#include "level_up/small_digit_5.blue.pal.inc.c"
#define level_up_small_digit_6_blue_png level_up_small_digit_6_png
#include "level_up/small_digit_6.blue.pal.inc.c"
#define level_up_small_digit_7_blue_png level_up_small_digit_7_png
#include "level_up/small_digit_7.blue.pal.inc.c"
#define level_up_small_digit_8_blue_png level_up_small_digit_8_png
#include "level_up/small_digit_8.blue.pal.inc.c"
#define level_up_small_digit_9_blue_png level_up_small_digit_9_png
#include "level_up/small_digit_9.blue.pal.inc.c"
#define level_up_small_arrow_blue_png level_up_small_arrow_png
#include "level_up/small_arrow.blue.pal.inc.c"
#include "level_up/select_one_to_upgrade.png.inc.c"
#include "level_up/select_one_to_upgrade.pal.inc.c"
EntityModelScript level_up_model_script = STANDARD_ENTITY_MODEL_SCRIPT(D_802A7A88_7A59C8, RENDER_MODE_2D);
HudScript HES_level_up_heart = HES_TEMPLATE_CI_ENUM_SIZE(level_up_heart, 40, 40);
HudScript HES_level_up_heart_copy = HES_TEMPLATE_CI_ENUM_SIZE(level_up_heart, 40, 40);
HudScript HES_level_up_flower = HES_TEMPLATE_CI_ENUM_SIZE(level_up_flower, 40, 40);
HudScript HES_level_up_leaves = HES_TEMPLATE_CI_ENUM_SIZE(level_up_leaves, 40, 40);
HudScript HES_level_up_badge = HES_TEMPLATE_CI_ENUM_SIZE(level_up_badge, 40, 40);
HudScript HES_level_up_FP = HES_TEMPLATE_CI_CUSTOM_SIZE(level_up_FP, 32, 24);
HudScript HES_level_up_green_digit_0 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_0, 8, 16);
HudScript HES_level_up_green_digit_1 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_1, 8, 16);
HudScript HES_level_up_green_digit_2 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_2, 8, 16);
HudScript HES_level_up_green_digit_3 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_3, 8, 16);
HudScript HES_level_up_green_digit_4 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_4, 8, 16);
HudScript HES_level_up_green_digit_5 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_5, 8, 16);
HudScript HES_level_up_green_digit_6 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_6, 8, 16);
HudScript HES_level_up_green_digit_7 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_7, 8, 16);
HudScript HES_level_up_green_digit_8 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_8, 8, 16);
HudScript HES_level_up_green_digit_9 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_9, 8, 16);
HudScript HES_level_up_small_green_digit_0 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_0, 8, 8);
HudScript HES_level_up_small_green_digit_1 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_1, 8, 8);
HudScript HES_level_up_small_green_digit_2 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_2, 8, 8);
HudScript HES_level_up_small_green_digit_3 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_3, 8, 8);
HudScript HES_level_up_small_green_digit_4 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_4, 8, 8);
HudScript HES_level_up_small_green_digit_5 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_5, 8, 8);
HudScript HES_level_up_small_green_digit_6 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_6, 8, 8);
HudScript HES_level_up_small_green_digit_7 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_7, 8, 8);
HudScript HES_level_up_small_green_digit_8 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_8, 8, 8);
HudScript HES_level_up_small_green_digit_9 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_9, 8, 8);
HudScript HES_level_up_small_green_arrow = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_arrow, 8, 8);
HudScript HES_level_up_HP = HES_TEMPLATE_CI_CUSTOM_SIZE(level_up_HP, 32, 24);
HudScript HES_level_up_red_digit_0 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_0_red, 8, 16);
HudScript HES_level_up_red_digit_1 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_1_red, 8, 16);
HudScript HES_level_up_red_digit_2 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_2_red, 8, 16);
HudScript HES_level_up_red_digit_3 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_3_red, 8, 16);
HudScript HES_level_up_red_digit_4 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_4_red, 8, 16);
HudScript HES_level_up_red_digit_5 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_5_red, 8, 16);
HudScript HES_level_up_red_digit_6 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_6_red, 8, 16);
HudScript HES_level_up_red_digit_7 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_7_red, 8, 16);
HudScript HES_level_up_red_digit_8 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_8_red, 8, 16);
HudScript HES_level_up_red_digit_9 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_9_red, 8, 16);
HudScript HES_level_up_small_red_digit_0 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_0_red, 8, 8);
HudScript HES_level_up_small_red_digit_1 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_1_red, 8, 8);
HudScript HES_level_up_small_red_digit_2 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_2_red, 8, 8);
HudScript HES_level_up_small_red_digit_3 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_3_red, 8, 8);
HudScript HES_level_up_small_red_digit_4 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_4_red, 8, 8);
HudScript HES_level_up_small_red_digit_5 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_5_red, 8, 8);
HudScript HES_level_up_small_red_digit_6 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_6_red, 8, 8);
HudScript HES_level_up_small_red_digit_7 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_7_red, 8, 8);
HudScript HES_level_up_small_red_digit_8 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_8_red, 8, 8);
HudScript HES_level_up_small_red_digit_9 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_9_red, 8, 8);
HudScript HES_level_up_small_red_arrow = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_arrow_red, 8, 8);
HudScript HES_level_up_BP = HES_TEMPLATE_CI_CUSTOM_SIZE(level_up_BP, 32, 24);
HudScript HES_level_up_blue_digit_0 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_0_blue, 8, 16);
HudScript HES_level_up_blue_digit_1 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_1_blue, 8, 16);
HudScript HES_level_up_blue_digit_2 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_2_blue, 8, 16);
HudScript HES_level_up_blue_digit_3 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_3_blue, 8, 16);
HudScript HES_level_up_blue_digit_4 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_4_blue, 8, 16);
HudScript HES_level_up_blue_digit_5 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_5_blue, 8, 16);
HudScript HES_level_up_blue_digit_6 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_6_blue, 8, 16);
HudScript HES_level_up_blue_digit_7 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_7_blue, 8, 16);
HudScript HES_level_up_blue_digit_8 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_8_blue, 8, 16);
HudScript HES_level_up_blue_digit_9 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_digit_9_blue, 8, 16);
HudScript HES_level_up_small_blue_digit_0 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_0_blue, 8, 8);
HudScript HES_level_up_small_blue_digit_1 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_1_blue, 8, 8);
HudScript HES_level_up_small_blue_digit_2 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_2_blue, 8, 8);
HudScript HES_level_up_small_blue_digit_3 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_3_blue, 8, 8);
HudScript HES_level_up_small_blue_digit_4 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_4_blue, 8, 8);
HudScript HES_level_up_small_blue_digit_5 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_5_blue, 8, 8);
HudScript HES_level_up_small_blue_digit_6 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_6_blue, 8, 8);
HudScript HES_level_up_small_blue_digit_7 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_7_blue, 8, 8);
HudScript HES_level_up_small_blue_digit_8 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_8_blue, 8, 8);
HudScript HES_level_up_small_blue_digit_9 = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_digit_9_blue, 8, 8);
HudScript HES_level_up_small_blue_arrow = HES_TEMPLATE_CI_ENUM_SIZE(level_up_small_arrow_blue, 8, 8);
HudScript HES_level_up_select_one_to_upgrade = HES_TEMPLATE_CI_CUSTOM_SIZE(level_up_select_one_to_upgrade, 208, 16);

View File

@ -208,7 +208,7 @@ ApiStatus LoadFreeItemScript(Evt* script, s32 isInitialCall) {
EvtScript UseMystery = { EvtScript UseMystery = {
EVT_WAIT(2) EVT_WAIT(2)
EVT_CALL(LoadFreeItemScript) EVT_CALL(LoadFreeItemScript)
EVT_EXEC_WAIT(LocalVar(0)) EVT_EXEC_WAIT(LVar0)
EVT_RETURN EVT_RETURN
EVT_END EVT_END
}; };

145
src/starpoint.c Normal file
View File

@ -0,0 +1,145 @@
#include "common.h"
#include "entity.h"
Lights1 starpoint_lights1 = gdSPDefLights1(0, 0, 0, 0, 0, 0, 0, 0, 0);
#include "starpoint/starpoint.png.inc.c"
#include "starpoint/load_starpoint.gfx.inc.c"
#include "starpoint/starpoint.vtx.inc.c"
Gfx D_802A20D0_7A9A70[] = {
gsSPSetLights1(starpoint_lights1),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
gsSPDisplayList(D_802A2018_7A99B8),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(D_802A2090_7A9A30, 4, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSPEndDisplayList(),
};
Gfx D_802A2130_7A9AD0[] = {
gsSPSetLights1(starpoint_lights1),
gsSPDisplayList(D_802A20D0_7A9A70),
gsSPEndDisplayList(),
};
Gfx D_802A2158_7A9AF8[] = {
gsSPSetLights1(starpoint_lights1),
gsSPDisplayList(D_802A2130_7A9AD0),
gsSPEndDisplayList(),
};
Lights1 starpoint_lights2 = gdSPDefLights1(0, 0, 0, 0, 0, 0, 0, 0, 0);
#include "starpoint/starpoints.vtx.inc.c"
#include "starpoint/starpoints.png.inc.c"
#include "starpoint/load_starpoints.gfx.inc.c"
Gfx D_802A3250_7AABF0[] = {
gsSPSetLights1(starpoint_lights2),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_XLU_SURF, G_RM_XLU_SURF2),
gsSPDisplayList(D_802A31D8_7AAB78),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(D_802A2198_7A9B38, 4, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSPEndDisplayList(),
};
Gfx D_802A32B0_7AAC50[] = {
gsSPSetLights1(starpoint_lights2),
gsSPDisplayList(D_802A3250_7AABF0),
gsSPEndDisplayList(),
};
Gfx D_802A32D8_7AAC78[] = {
gsSPSetLights1(starpoint_lights2),
gsSPDisplayList(D_802A32B0_7AAC50),
gsSPEndDisplayList(),
};
#include "starpoint/digit_0.vtx.inc.c"
#include "starpoint/digit_0.png.inc.c"
#include "starpoint/load_digit_0.gfx.inc.c"
#include "starpoint/__render_digit_0.gfx.inc.c"
#include "starpoint/_render_digit_0.gfx.inc.c"
#include "starpoint/render_digit_0.gfx.inc.c"
#include "starpoint/digit_1.vtx.inc.c"
#include "starpoint/digit_1.png.inc.c"
#include "starpoint/load_digit_1.gfx.inc.c"
#include "starpoint/__render_digit_1.gfx.inc.c"
#include "starpoint/_render_digit_1.gfx.inc.c"
#include "starpoint/render_digit_1.gfx.inc.c"
#include "starpoint/digit_2.vtx.inc.c"
#include "starpoint/digit_2.png.inc.c"
#include "starpoint/load_digit_2.gfx.inc.c"
#include "starpoint/__render_digit_2.gfx.inc.c"
#include "starpoint/_render_digit_2.gfx.inc.c"
#include "starpoint/render_digit_2.gfx.inc.c"
#include "starpoint/digit_3.vtx.inc.c"
#include "starpoint/digit_3.png.inc.c"
#include "starpoint/load_digit_3.gfx.inc.c"
#include "starpoint/__render_digit_3.gfx.inc.c"
#include "starpoint/_render_digit_3.gfx.inc.c"
#include "starpoint/render_digit_3.gfx.inc.c"
#include "starpoint/digit_4.vtx.inc.c"
#include "starpoint/digit_4.png.inc.c"
#include "starpoint/load_digit_4.gfx.inc.c"
#include "starpoint/__render_digit_4.gfx.inc.c"
#include "starpoint/_render_digit_4.gfx.inc.c"
#include "starpoint/render_digit_4.gfx.inc.c"
#include "starpoint/digit_5.vtx.inc.c"
#include "starpoint/digit_5.png.inc.c"
#include "starpoint/load_digit_5.gfx.inc.c"
#include "starpoint/__render_digit_5.gfx.inc.c"
#include "starpoint/_render_digit_5.gfx.inc.c"
#include "starpoint/render_digit_5.gfx.inc.c"
#include "starpoint/digit_6.vtx.inc.c"
#include "starpoint/digit_6.png.inc.c"
#include "starpoint/load_digit_6.gfx.inc.c"
#include "starpoint/__render_digit_6.gfx.inc.c"
#include "starpoint/_render_digit_6.gfx.inc.c"
#include "starpoint/render_digit_6.gfx.inc.c"
#include "starpoint/digit_7.vtx.inc.c"
#include "starpoint/digit_7.png.inc.c"
#include "starpoint/load_digit_7.gfx.inc.c"
#include "starpoint/__render_digit_7.gfx.inc.c"
#include "starpoint/_render_digit_7.gfx.inc.c"
#include "starpoint/render_digit_7.gfx.inc.c"
#include "starpoint/digit_8.vtx.inc.c"
#include "starpoint/digit_8.png.inc.c"
#include "starpoint/load_digit_8.gfx.inc.c"
#include "starpoint/__render_digit_8.gfx.inc.c"
#include "starpoint/_render_digit_8.gfx.inc.c"
#include "starpoint/render_digit_8.gfx.inc.c"
#include "starpoint/digit_9.vtx.inc.c"
#include "starpoint/digit_9.png.inc.c"
#include "starpoint/load_digit_9.gfx.inc.c"
#include "starpoint/__render_digit_9.gfx.inc.c"
#include "starpoint/_render_digit_9.gfx.inc.c"
#include "starpoint/render_digit_9.gfx.inc.c"
EntityModelScript starpoint_model_script_starpoint = STANDARD_ENTITY_MODEL_SCRIPT(D_802A2158_7A9AF8, RENDER_MODE_2D);
EntityModelScript starpoint_model_script_starpoints = STANDARD_ENTITY_MODEL_SCRIPT(D_802A32D8_7AAC78, RENDER_MODE_2D);
EntityModelScript starpoint_model_script_digit_0 = STANDARD_ENTITY_MODEL_SCRIPT(D_802A4410_7ABDB0, RENDER_MODE_2D);
EntityModelScript starpoint_model_script_digit_1 = STANDARD_ENTITY_MODEL_SCRIPT(D_802A5530_7ACED0, RENDER_MODE_2D);
EntityModelScript starpoint_model_script_digit_2 = STANDARD_ENTITY_MODEL_SCRIPT(D_802A6650_7ADFF0, RENDER_MODE_2D);
EntityModelScript starpoint_model_script_digit_3 = STANDARD_ENTITY_MODEL_SCRIPT(D_802A7770_7AF110, RENDER_MODE_2D);
EntityModelScript starpoint_model_script_digit_4 = STANDARD_ENTITY_MODEL_SCRIPT(D_802A8890_7B0230, RENDER_MODE_2D);
EntityModelScript starpoint_model_script_digit_5 = STANDARD_ENTITY_MODEL_SCRIPT(D_802A99B0_7B1350, RENDER_MODE_2D);
EntityModelScript starpoint_model_script_digit_6 = STANDARD_ENTITY_MODEL_SCRIPT(D_802AAAD0_7B2470, RENDER_MODE_2D);
EntityModelScript starpoint_model_script_digit_7 = STANDARD_ENTITY_MODEL_SCRIPT(D_802ABBF0_7B3590, RENDER_MODE_2D);
EntityModelScript starpoint_model_script_digit_8 = STANDARD_ENTITY_MODEL_SCRIPT(D_802ACD10_7B46B0, RENDER_MODE_2D);
EntityModelScript starpoint_model_script_digit_9 = STANDARD_ENTITY_MODEL_SCRIPT(D_802ADE30_7B57D0, RENDER_MODE_2D);
Gfx D_802ADF90_7B5930[] = {
gsSPEndDisplayList(),
};
EntityModelScript starpoint_model_script_dummy = STANDARD_ENTITY_MODEL_SCRIPT(D_802ADF90_7B5930, RENDER_MODE_2D);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,10 @@ dlabel D_80239858_7015D8
.word 0x00000001, 0x00000064, 0x00000002, 0x00000064, 0x00000006, 0x00000064, 0x00000009, 0x00000064, 0x00000007, 0x00000064, 0x00000004, 0x00000064, 0x00000003, 0x00000064, 0x0000000B, 0x00000064, 0x00000005, 0x00000064, 0x0000000A, 0x00000064, 0x00000008, 0x00000064, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 .word 0x00000001, 0x00000064, 0x00000002, 0x00000064, 0x00000006, 0x00000064, 0x00000009, 0x00000064, 0x00000007, 0x00000064, 0x00000004, 0x00000064, 0x00000003, 0x00000064, 0x0000000B, 0x00000064, 0x00000005, 0x00000064, 0x0000000A, 0x00000064, 0x00000008, 0x00000064, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000
dlabel D_80239904_701684 dlabel D_80239904_701684
.word 0x00000000, 0x01000000, 0x0B1C00FF, D_80239810_701590, D_8023984C_7015CC, 0x00004000, 0x00000000, 0x00000000, 0x00000000, 0x00000200, 0x00720063, 0x00010000, D_80239904_701684, D_80239950_7016D0, D_80239858_7015D8, 0x00000000, 0x00045000, 0x26260000, 0xF61E0A1E .word 0x00000000, 0x01000000, 0x0B1C00FF, D_80239810_701590, D_8023984C_7015CC, 0x00004000, 0x00000000, 0x00000000, 0x00000000
dlabel battle_partner_parakarry
.word 0x00000200, 0x00720063, 0x00010000, D_80239904_701684, D_80239950_7016D0, D_80239858_7015D8, 0x00000000, 0x00045000, 0x26260000, 0xF61E0A1E
dlabel D_80239950_7016D0 dlabel D_80239950_7016D0
.word 0x00000043, 0x00000003, BindTakeTurn, 0x00000100, D_80239D68_701AE8, 0x00000043, 0x00000003, BindIdle, 0x00000100, D_802399B0_701730, 0x00000043, 0x00000003, BindHandleEvent, 0x00000100, D_802399C0_701740, 0x00000043, 0x00000003, BindNextTurn, 0x00000100, D_8023A154_701ED4, 0x00000002, 0x00000000, 0x00000001, 0x00000000 .word 0x00000043, 0x00000003, BindTakeTurn, 0x00000100, D_80239D68_701AE8, 0x00000043, 0x00000003, BindIdle, 0x00000100, D_802399B0_701730, 0x00000043, 0x00000003, BindHandleEvent, 0x00000100, D_802399C0_701740, 0x00000043, 0x00000003, BindNextTurn, 0x00000100, D_8023A154_701ED4, 0x00000002, 0x00000000, 0x00000001, 0x00000000

View File

@ -12,7 +12,10 @@ dlabel D_80238FE0_704AD0
.word 0x00000001, 0x00000064, 0x00000002, 0x00000064, 0x00000006, 0x00000064, 0x00000009, 0x00000064, 0x00000007, 0x00000064, 0x00000004, 0x00000064, 0x00000003, 0x00000064, 0x0000000B, 0x00000064, 0x00000005, 0x00000064, 0x0000000A, 0x00000064, 0x00000008, 0x00000064, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 .word 0x00000001, 0x00000064, 0x00000002, 0x00000064, 0x00000006, 0x00000064, 0x00000009, 0x00000064, 0x00000007, 0x00000064, 0x00000004, 0x00000064, 0x00000003, 0x00000064, 0x0000000B, 0x00000064, 0x00000005, 0x00000064, 0x0000000A, 0x00000064, 0x00000008, 0x00000064, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000
dlabel D_8023908C_704B7C dlabel D_8023908C_704B7C
.word 0x00800000, 0x01000000, 0x0A1600FF, D_80238F90_704A80, D_80238FCC_704ABC, 0x00000080, 0x00000000, 0x00000000, 0x00000000, 0x00000200, 0x00740063, 0x00010000, D_8023908C_704B7C, D_802390D8_704BC8, D_80238FE0_704AD0, 0x00000000, 0x00045000, 0x221C0000, 0xF6140A14 .word 0x00800000, 0x01000000, 0x0A1600FF, D_80238F90_704A80, D_80238FCC_704ABC, 0x00000080, 0x00000000, 0x00000000, 0x00000000
dlabel battle_partner_watt
.word 0x00000200, 0x00740063, 0x00010000, D_8023908C_704B7C, D_802390D8_704BC8, D_80238FE0_704AD0, 0x00000000, 0x00045000, 0x221C0000, 0xF6140A14
dlabel D_802390D8_704BC8 dlabel D_802390D8_704BC8
.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80239578_705068, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80239138_704C28, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80239160_704C50, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_802397BC_7052AC, 0x00000002, 0x00000000, 0x00000001, 0x00000000 .word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80239578_705068, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80239138_704C28, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80239160_704C50, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_802397BC_7052AC, 0x00000002, 0x00000000, 0x00000001, 0x00000000

View File

@ -12,7 +12,10 @@ dlabel D_80238F18_708BB8
.word 0x00000001, 0x00000064, 0x00000002, 0x00000064, 0x00000006, 0x00000064, 0x00000009, 0x00000064, 0x00000007, 0x00000064, 0x00000004, 0x00000064, 0x00000003, 0x00000064, 0x0000000B, 0x00000064, 0x00000005, 0x00000064, 0x0000000A, 0x00000064, 0x00000008, 0x00000064, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 .word 0x00000001, 0x00000064, 0x00000002, 0x00000064, 0x00000006, 0x00000064, 0x00000009, 0x00000064, 0x00000007, 0x00000064, 0x00000004, 0x00000064, 0x00000003, 0x00000064, 0x0000000B, 0x00000064, 0x00000005, 0x00000064, 0x0000000A, 0x00000064, 0x00000008, 0x00000064, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000
dlabel D_80238FC4_708C64 dlabel D_80238FC4_708C64
.word 0x00000000, 0x01000000, 0x0C1100FF, D_80238ED0_708B70, D_80238F0C_708BAC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00750063, 0x00010000, D_80238FC4_708C64, D_80239010_708CB0, D_80238F18_708BB8, 0x00000000, 0x00045000, 0x251A0000, 0xF6140A14 .word 0x00000000, 0x01000000, 0x0C1100FF, D_80238ED0_708B70, D_80238F0C_708BAC, 0x00000000, 0x00000000, 0x00000000, 0x00000000
dlabel battle_partner_sushie
.word 0x00000000, 0x00750063, 0x00010000, D_80238FC4_708C64, D_80239010_708CB0, D_80238F18_708BB8, 0x00000000, 0x00045000, 0x251A0000, 0xF6140A14
dlabel D_80239010_708CB0 dlabel D_80239010_708CB0
.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_802393EC_70908C, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80239070_708D10, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80239080_708D20, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_802395BC_70925C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 .word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_802393EC_70908C, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80239070_708D10, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80239080_708D20, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_802395BC_70925C, 0x00000002, 0x00000000, 0x00000001, 0x00000000

View File

@ -15,7 +15,10 @@ dlabel D_8023A204_70DF14
.word 0x00000001, 0x00000064, 0x00000002, 0x00000064, 0x00000006, 0x00000064, 0x00000009, 0x00000064, 0x00000007, 0x00000064, 0x00000004, 0x00000064, 0x00000003, 0x00000064, 0x0000000B, 0x00000064, 0x00000005, 0x00000064, 0x0000000A, 0x00000064, 0x00000008, 0x00000064, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 .word 0x00000001, 0x00000064, 0x00000002, 0x00000064, 0x00000006, 0x00000064, 0x00000009, 0x00000064, 0x00000007, 0x00000064, 0x00000004, 0x00000064, 0x00000003, 0x00000064, 0x0000000B, 0x00000064, 0x00000005, 0x00000064, 0x0000000A, 0x00000064, 0x00000008, 0x00000064, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000
dlabel D_8023A2B0_70DFC0 dlabel D_8023A2B0_70DFC0
.word 0x00000000, 0x01000000, 0x0C1E00FF, D_8023A1D0_70DEE0, D_8023A1F8_70DF08, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00100001, 0x02000000, 0x000000FF, D_8023A1EC_70DEFC, D_8023A1F8_70DF08, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000200, 0x00760063, 0x00020000, D_8023A2B0_70DFC0, D_8023A320_70E030, D_8023A204_70DF14, 0x00000000, 0x00045000, 0x2C280000, 0xF61E0D1F .word 0x00000000, 0x01000000, 0x0C1E00FF, D_8023A1D0_70DEE0, D_8023A1F8_70DF08, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00100001, 0x02000000, 0x000000FF, D_8023A1EC_70DEFC, D_8023A1F8_70DF08, 0x00000000, 0x00000000, 0x00000000, 0x00000000
dlabel battle_partner_lakilester
.word 0x00000200, 0x00760063, 0x00020000, D_8023A2B0_70DFC0, D_8023A320_70E030, D_8023A204_70DF14, 0x00000000, 0x00045000, 0x2C280000, 0xF61E0D1F
dlabel D_8023A320_70E030 dlabel D_8023A320_70E030
.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8023A6FC_70E40C, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8023A380_70E090, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8023A390_70E0A0, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_8023A8DC_70E5EC, 0x00000002, 0x00000000, 0x00000001, 0x00000000 .word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8023A6FC_70E40C, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8023A380_70E090, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8023A390_70E0A0, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_8023A8DC_70E5EC, 0x00000002, 0x00000000, 0x00000001, 0x00000000

View File

@ -12,7 +12,10 @@ dlabel D_80238348_711238
.word 0x00000001, 0x00000064, 0x00000002, 0x00000064, 0x00000006, 0x00000064, 0x00000009, 0x00000064, 0x00000007, 0x00000064, 0x00000004, 0x00000064, 0x00000003, 0x00000064, 0x0000000B, 0x00000064, 0x00000005, 0x00000064, 0x0000000A, 0x00000064, 0x00000008, 0x00000064, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 .word 0x00000001, 0x00000064, 0x00000002, 0x00000064, 0x00000006, 0x00000064, 0x00000009, 0x00000064, 0x00000007, 0x00000064, 0x00000004, 0x00000064, 0x00000003, 0x00000064, 0x0000000B, 0x00000064, 0x00000005, 0x00000064, 0x0000000A, 0x00000064, 0x00000008, 0x00000064, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000
dlabel D_802383F4_7112E4 dlabel D_802383F4_7112E4
.word 0x00000000, 0x01000000, 0x091300FF, D_80238300_7111F0, D_8023833C_71122C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000200, 0x00730063, 0x00010000, D_802383F4_7112E4, D_80238440_711330, D_80238348_711238, 0x00000000, 0x00045000, 0x241D0000, 0xF6160A16 .word 0x00000000, 0x01000000, 0x091300FF, D_80238300_7111F0, D_8023833C_71122C, 0x00000000, 0x00000000, 0x00000000, 0x00000000
dlabel battle_partner_bow
.word 0x00000200, 0x00730063, 0x00010000, D_802383F4_7112E4, D_80238440_711330, D_80238348_711238, 0x00000000, 0x00045000, 0x241D0000, 0xF6160A16
dlabel D_80238440_711330 dlabel D_80238440_711330
.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8023881C_71170C, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_802384A0_711390, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_802384B0_7113A0, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_802389EC_7118DC, 0x00000002, 0x00000000, 0x00000001, 0x00000000 .word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8023881C_71170C, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_802384A0_711390, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_802384B0_7113A0, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_802389EC_7118DC, 0x00000002, 0x00000000, 0x00000001, 0x00000000

View File

@ -12,7 +12,10 @@ dlabel D_802380F0_714DE0
.word 0x00000001, 0x00000064, 0x00000002, 0x00000064, 0x00000006, 0x00000064, 0x00000009, 0x00000064, 0x00000007, 0x00000064, 0x00000004, 0x00000064, 0x00000003, 0x00000064, 0x0000000B, 0x00000064, 0x00000005, 0x00000064, 0x0000000A, 0x00000064, 0x00000008, 0x00000064, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 .word 0x00000001, 0x00000064, 0x00000002, 0x00000064, 0x00000006, 0x00000064, 0x00000009, 0x00000064, 0x00000007, 0x00000064, 0x00000004, 0x00000064, 0x00000003, 0x00000064, 0x0000000B, 0x00000064, 0x00000005, 0x00000064, 0x0000000A, 0x00000064, 0x00000008, 0x00000064, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000
dlabel D_8023819C_714E8C dlabel D_8023819C_714E8C
.word 0x00000000, 0x01000000, 0x000000FF, D_802380D0_714DC0, D_802380E4_714DD4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00400000, 0x00770063, 0x00010000, D_8023819C_714E8C, D_802381E8_714ED8, D_802380F0_714DE0, 0x00000000, 0x00045000, 0x14140000, 0xF61E0D1F .word 0x00000000, 0x01000000, 0x000000FF, D_802380D0_714DC0, D_802380E4_714DD4, 0x00000000, 0x00000000, 0x00000000, 0x00000000
dlabel battle_partner_twink
.word 0x00400000, 0x00770063, 0x00010000, D_8023819C_714E8C, D_802381E8_714ED8, D_802380F0_714DE0, 0x00000000, 0x00045000, 0x14140000, 0xF61E0D1F
dlabel D_802381E8_714ED8 dlabel D_802381E8_714ED8
.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_802384C4_7151B4, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_802382FC_714FEC, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80238338_715028, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_80238694_715384, 0x00000043, 0x00000001, func_80238000_714CF0, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00200000, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, D_802380E4_714DD4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000009, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 .word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_802384C4_7151B4, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_802382FC_714FEC, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80238338_715028, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_80238694_715384, 0x00000043, 0x00000001, func_80238000_714CF0, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00200000, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, D_802380E4_714DD4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000009, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000

View File

@ -1,121 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80054AA0
/* 2FEA0 80054AA0 3C028008 */ lui $v0, %hi(gSynDriverPtr)
/* 2FEA4 80054AA4 8C428E54 */ lw $v0, %lo(gSynDriverPtr)($v0)
/* 2FEA8 80054AA8 27BDFF80 */ addiu $sp, $sp, -0x80
/* 2FEAC 80054AAC AFB60070 */ sw $s6, 0x70($sp)
/* 2FEB0 80054AB0 0080B02D */ daddu $s6, $a0, $zero
/* 2FEB4 80054AB4 AFB30064 */ sw $s3, 0x64($sp)
/* 2FEB8 80054AB8 00A0982D */ daddu $s3, $a1, $zero
/* 2FEBC 80054ABC AFB40068 */ sw $s4, 0x68($sp)
/* 2FEC0 80054AC0 27B40018 */ addiu $s4, $sp, 0x18
/* 2FEC4 80054AC4 AFBE0078 */ sw $fp, 0x78($sp)
/* 2FEC8 80054AC8 0000F02D */ daddu $fp, $zero, $zero
/* 2FECC 80054ACC AFB1005C */ sw $s1, 0x5c($sp)
/* 2FED0 80054AD0 2411000B */ addiu $s1, $zero, 0xb
/* 2FED4 80054AD4 AFB20060 */ sw $s2, 0x60($sp)
/* 2FED8 80054AD8 24120001 */ addiu $s2, $zero, 1
/* 2FEDC 80054ADC AFBF007C */ sw $ra, 0x7c($sp)
/* 2FEE0 80054AE0 AFB70074 */ sw $s7, 0x74($sp)
/* 2FEE4 80054AE4 AFB5006C */ sw $s5, 0x6c($sp)
/* 2FEE8 80054AE8 AFB00058 */ sw $s0, 0x58($sp)
/* 2FEEC 80054AEC AFA60088 */ sw $a2, 0x88($sp)
/* 2FEF0 80054AF0 AFA7008C */ sw $a3, 0x8c($sp)
/* 2FEF4 80054AF4 8C570018 */ lw $s7, 0x18($v0)
/* 2FEF8 80054AF8 2402000B */ addiu $v0, $zero, 0xb
.L80054AFC:
/* 2FEFC 80054AFC 1222000A */ beq $s1, $v0, .L80054B28
/* 2FF00 80054B00 2E22000C */ sltiu $v0, $s1, 0xc
/* 2FF04 80054B04 54400042 */ bnel $v0, $zero, .L80054C10
/* 2FF08 80054B08 0000902D */ daddu $s2, $zero, $zero
/* 2FF0C 80054B0C 24020015 */ addiu $v0, $zero, 0x15
/* 2FF10 80054B10 12220015 */ beq $s1, $v0, .L80054B68
/* 2FF14 80054B14 2402001F */ addiu $v0, $zero, 0x1f
/* 2FF18 80054B18 52220035 */ beql $s1, $v0, .L80054BF0
/* 2FF1C 80054B1C AFA00010 */ sw $zero, 0x10($sp)
/* 2FF20 80054B20 08015304 */ j .L80054C10
/* 2FF24 80054B24 0000902D */ daddu $s2, $zero, $zero
.L80054B28:
/* 2FF28 80054B28 27A50018 */ addiu $a1, $sp, 0x18
/* 2FF2C 80054B2C 8EC40000 */ lw $a0, ($s6)
/* 2FF30 80054B30 0C015380 */ jal au_read_rom
/* 2FF34 80054B34 24060040 */ addiu $a2, $zero, 0x40
/* 2FF38 80054B38 96830000 */ lhu $v1, ($s4)
/* 2FF3C 80054B3C 2402424B */ addiu $v0, $zero, 0x424b
/* 2FF40 80054B40 54620033 */ bnel $v1, $v0, .L80054C10
/* 2FF44 80054B44 0000902D */ daddu $s2, $zero, $zero
/* 2FF48 80054B48 8E820004 */ lw $v0, 4($s4)
/* 2FF4C 80054B4C 1040002F */ beqz $v0, .L80054C0C
/* 2FF50 80054B50 24024352 */ addiu $v0, $zero, 0x4352
/* 2FF54 80054B54 9683000C */ lhu $v1, 0xc($s4)
/* 2FF58 80054B58 5462002D */ bnel $v1, $v0, .L80054C10
/* 2FF5C 80054B5C 0000902D */ daddu $s2, $zero, $zero
/* 2FF60 80054B60 08015304 */ j .L80054C10
/* 2FF64 80054B64 24110015 */ addiu $s1, $zero, 0x15
.L80054B68:
/* 2FF68 80054B68 16600005 */ bnez $s3, .L80054B80
/* 2FF6C 80054B6C 02E0202D */ daddu $a0, $s7, $zero
/* 2FF70 80054B70 8E860004 */ lw $a2, 4($s4)
/* 2FF74 80054B74 0C015FE4 */ jal alHeapAlloc
/* 2FF78 80054B78 24050001 */ addiu $a1, $zero, 1
/* 2FF7C 80054B7C 0040982D */ daddu $s3, $v0, $zero
.L80054B80:
/* 2FF80 80054B80 8EC40000 */ lw $a0, ($s6)
/* 2FF84 80054B84 8E860004 */ lw $a2, 4($s4)
/* 2FF88 80054B88 0C015380 */ jal au_read_rom
/* 2FF8C 80054B8C 0260282D */ daddu $a1, $s3, $zero
/* 2FF90 80054B90 8FA4008C */ lw $a0, 0x8c($sp)
/* 2FF94 80054B94 8FA50088 */ lw $a1, 0x88($sp)
/* 2FF98 80054B98 0C0151D1 */ jal au_get_BK_instruments
/* 2FF9C 80054B9C 0000802D */ daddu $s0, $zero, $zero
/* 2FFA0 80054BA0 0040A82D */ daddu $s5, $v0, $zero
/* 2FFA4 80054BA4 02A0182D */ daddu $v1, $s5, $zero
/* 2FFA8 80054BA8 0200282D */ daddu $a1, $s0, $zero
/* 2FFAC 80054BAC 0280202D */ daddu $a0, $s4, $zero
.L80054BB0:
/* 2FFB0 80054BB0 94820012 */ lhu $v0, 0x12($a0)
/* 2FFB4 80054BB4 10400004 */ beqz $v0, .L80054BC8
/* 2FFB8 80054BB8 00531021 */ addu $v0, $v0, $s3
/* 2FFBC 80054BBC 26100001 */ addiu $s0, $s0, 1
/* 2FFC0 80054BC0 080152F3 */ j .L80054BCC
/* 2FFC4 80054BC4 AC620000 */ sw $v0, ($v1)
.L80054BC8:
/* 2FFC8 80054BC8 AC600000 */ sw $zero, ($v1)
.L80054BCC:
/* 2FFCC 80054BCC 24630004 */ addiu $v1, $v1, 4
/* 2FFD0 80054BD0 24A50001 */ addiu $a1, $a1, 1
/* 2FFD4 80054BD4 2CA20010 */ sltiu $v0, $a1, 0x10
/* 2FFD8 80054BD8 1440FFF5 */ bnez $v0, .L80054BB0
/* 2FFDC 80054BDC 24840002 */ addiu $a0, $a0, 2
/* 2FFE0 80054BE0 5200000B */ beql $s0, $zero, .L80054C10
/* 2FFE4 80054BE4 0000902D */ daddu $s2, $zero, $zero
/* 2FFE8 80054BE8 08015304 */ j .L80054C10
/* 2FFEC 80054BEC 2411001F */ addiu $s1, $zero, 0x1f
.L80054BF0:
/* 2FFF0 80054BF0 0260202D */ daddu $a0, $s3, $zero
/* 2FFF4 80054BF4 0260282D */ daddu $a1, $s3, $zero
/* 2FFF8 80054BF8 02A0302D */ daddu $a2, $s5, $zero
/* 2FFFC 80054BFC 0C01527E */ jal au_swizzle_BK_instruments
/* 30000 80054C00 24070010 */ addiu $a3, $zero, 0x10
/* 30004 80054C04 08015304 */ j .L80054C10
/* 30008 80054C08 0000882D */ daddu $s1, $zero, $zero
.L80054C0C:
/* 3000C 80054C0C 0000902D */ daddu $s2, $zero, $zero
.L80054C10:
/* 30010 80054C10 1640FFBA */ bnez $s2, .L80054AFC
/* 30014 80054C14 2402000B */ addiu $v0, $zero, 0xb
/* 30018 80054C18 0260102D */ daddu $v0, $s3, $zero
/* 3001C 80054C1C 8FBF007C */ lw $ra, 0x7c($sp)
/* 30020 80054C20 8FBE0078 */ lw $fp, 0x78($sp)
/* 30024 80054C24 8FB70074 */ lw $s7, 0x74($sp)
/* 30028 80054C28 8FB60070 */ lw $s6, 0x70($sp)
/* 3002C 80054C2C 8FB5006C */ lw $s5, 0x6c($sp)
/* 30030 80054C30 8FB40068 */ lw $s4, 0x68($sp)
/* 30034 80054C34 8FB30064 */ lw $s3, 0x64($sp)
/* 30038 80054C38 8FB20060 */ lw $s2, 0x60($sp)
/* 3003C 80054C3C 8FB1005C */ lw $s1, 0x5c($sp)
/* 30040 80054C40 8FB00058 */ lw $s0, 0x58($sp)
/* 30044 80054C44 03E00008 */ jr $ra
/* 30048 80054C48 27BD0080 */ addiu $sp, $sp, 0x80

View File

@ -91,6 +91,7 @@ segments:
- [0x30450, c, audio/30450] - [0x30450, c, audio/30450]
- [0x31650, c, audio/31650] - [0x31650, c, audio/31650]
- [0x33450, c, audio/33450] - [0x33450, c, audio/33450]
- [0x341D0, c, audio/tables]
- [0x341D0, c, audio/reverb] - [0x341D0, c, audio/reverb]
- [0x341D0, c, 5B320] - [0x341D0, c, 5B320]
- [0x35080, c, effects] - [0x35080, c, effects]
@ -331,7 +332,7 @@ segments:
- [0x541B0, .data, audio/30450] - [0x541B0, .data, audio/30450]
- [0x54250, .data, audio/31650] - [0x54250, .data, audio/31650]
- [0x54260, .data, audio/33450] - [0x54260, .data, audio/33450]
- [0x54360, data] # some audio table - [0x54360, .data, audio/tables]
- [0x5A3E0, .data, audio/reverb] - [0x5A3E0, .data, audio/reverb]
- [0x5A610, .data, effects] - [0x5A610, .data, effects]
- [0x5B320, .data, 5B320] - [0x5B320, .data, 5B320]
@ -1233,7 +1234,18 @@ segments:
- [0x1AF2D0, .data, 16c8e0] - [0x1AF2D0, .data, 16c8e0]
- [0x1AF5C0, .data, battle_cam] - [0x1AF5C0, .data, battle_cam]
- [0x1B2050, .data, 17D6A0] - [0x1B2050, .data, 17D6A0]
- [0x1B21E0, data, 1AF2D0] # begins with image? - start: 0x1B2050
type: .data
name: 17D6A0
subsegments:
- [0x1B2050]
- [0x1B21E0, ci4, ui/battle/cursor_hand, 32, 32]
- [0x1B23E0, palette, ui/battle/cursor_hand]
- [0x1B2400]
- [0x1B28E0, .data, 181810]
- [0x1B2960, .data, 182B30]
- [0x1B2A30, .data, 18C790]
- [0x1B3300, .data, 18F340]
- start: 0x1B7CE0 - start: 0x1B7CE0
type: .data type: .data
name: battle_ui_gfx name: battle_ui_gfx
@ -7839,16 +7851,221 @@ segments:
subsegments: subsegments:
- [0x79D8A0, c] - [0x79D8A0, c]
- [0x79DE50] - [0x79DE50]
- type: code # todo identify - type: code
name: level_up
start: 0x79EF40 start: 0x79EF40
vram: 0x802A1000 vram: 0x802A1000
symbol_name_format: $VRAM_$ROM
subsegments: subsegments:
- [0x79EF40, bin] - [0x79EF40, c, level_up]
- type: code # todo identify - start: 0x79EF40
type: .data
name: level_up
subsegments:
- [0x79EF40]
- [0x79EF58, vtx, level_up/draw_second_E]
- [0x79EFD8, vtx, level_up/draw_V]
- [0x79F058, vtx, level_up/draw_E]
- [0x79F0D8, vtx, level_up/draw_second_L]
- [0x79F158, vtx, level_up/draw_L]
- [0x79F1D8, vtx, level_up/draw_P]
- [0x79F258, vtx, level_up/draw_U]
- [0x79F2D8, vtx, level_up/draw_exclamation_mark]
- [0x79F358, ia8, level_up/big_V, 64, 64]
- [0x7A0358, gfx, level_up/big_V]
- [0x7A03D0, ia8, level_up/big_P, 64, 64]
- [0x7A13D0, gfx, level_up/big_P]
- [0x7A1448, ia8, level_up/big_exclamation_mark, 64, 64]
- [0x7A2448, gfx, level_up/big_exclamation_mark]
- [0x7A24C0, ia8, level_up/big_U, 64, 64]
- [0x7A34C0, gfx, level_up/big_U]
- [0x7A3538, ia8, level_up/big_L, 64, 64]
- [0x7A4538, gfx, level_up/big_L]
- [0x7A45B0, ia8, level_up/big_E, 64, 64]
- [0x7A55B0, gfx, level_up/big_E]
- [0x7A5628]
- [0x7A59F0, ci4, level_up/heart, 40, 40]
- [0x7A5D10, palette, level_up/heart]
- [0x7A5D30, ci4, level_up/flower, 40, 40]
- [0x7A6050, palette, level_up/flower]
- [0x7A6070, ci4, level_up/leaves, 40, 40]
- [0x7A6390, palette, level_up/leaves]
- [0x7A63B0, ci4, level_up/badge, 40, 40]
- [0x7A66D0, palette, level_up/badge]
- [0x7A66F0, ci4, level_up/FP, 32, 24]
- [0x7A6870, palette, level_up/FP]
- [0x7A6890, ci4, level_up/BP, 32, 24]
- [0x7A6A10, palette, level_up/BP]
- [0x7A6A30, ci4, level_up/HP, 32, 24]
- [0x7A6BB0, palette, level_up/HP]
- [0x7A6BD0, ci4, level_up/digit_0, 8, 16]
- [0x7A6C10, palette, level_up/digit_0]
- [0x7A6C30, ci4, level_up/digit_1, 8, 16]
- [0x7A6C70, palette, level_up/digit_1]
- [0x7A6C90, ci4, level_up/digit_2, 8, 16]
- [0x7A6CD0, palette, level_up/digit_2]
- [0x7A6CF0, ci4, level_up/digit_3, 8, 16]
- [0x7A6D30, palette, level_up/digit_3]
- [0x7A6D50, ci4, level_up/digit_4, 8, 16]
- [0x7A6D90, palette, level_up/digit_4]
- [0x7A6DB0, ci4, level_up/digit_5, 8, 16]
- [0x7A6DF0, palette, level_up/digit_5]
- [0x7A6E10, ci4, level_up/digit_6, 8, 16]
- [0x7A6E50, palette, level_up/digit_6]
- [0x7A6E70, ci4, level_up/digit_7, 8, 16]
- [0x7A6EB0, palette, level_up/digit_7]
- [0x7A6ED0, ci4, level_up/digit_8, 8, 16]
- [0x7A6F10, palette, level_up/digit_8]
- [0x7A6F30, ci4, level_up/digit_9, 8, 16]
- [0x7A6F70, palette, level_up/digit_9]
- [0x7A6F90, ci4, level_up/small_digit_0, 8, 8]
- [0x7A6FB0, palette, level_up/small_digit_0]
- [0x7A6FD0, ci4, level_up/small_digit_1, 8, 8]
- [0x7A6FF0, palette, level_up/small_digit_1]
- [0x7A7010, ci4, level_up/small_digit_2, 8, 8]
- [0x7A7030, palette, level_up/small_digit_2]
- [0x7A7050, ci4, level_up/small_digit_3, 8, 8]
- [0x7A7070, palette, level_up/small_digit_3]
- [0x7A7090, ci4, level_up/small_digit_4, 8, 8]
- [0x7A70B0, palette, level_up/small_digit_4]
- [0x7A70D0, ci4, level_up/small_digit_5, 8, 8]
- [0x7A70F0, palette, level_up/small_digit_5]
- [0x7A7110, ci4, level_up/small_digit_6, 8, 8]
- [0x7A7130, palette, level_up/small_digit_6]
- [0x7A7150, ci4, level_up/small_digit_7, 8, 8]
- [0x7A7170, palette, level_up/small_digit_7]
- [0x7A7190, ci4, level_up/small_digit_8, 8, 8]
- [0x7A71B0, palette, level_up/small_digit_8]
- [0x7A71D0, ci4, level_up/small_digit_9, 8, 8]
- [0x7A71F0, palette, level_up/small_digit_9]
- [0x7A7210, ci4, level_up/small_arrow, 8, 8]
- [0x7A7230, palette, level_up/small_arrow]
- [0x7A7250, palette, level_up/digit_0.red]
- [0x7A7270, palette, level_up/digit_1.red]
- [0x7A7290, palette, level_up/digit_2.red]
- [0x7A72B0, palette, level_up/digit_3.red]
- [0x7A72D0, palette, level_up/digit_4.red]
- [0x7A72F0, palette, level_up/digit_5.red]
- [0x7A7310, palette, level_up/digit_6.red]
- [0x7A7330, palette, level_up/digit_7.red]
- [0x7A7350, palette, level_up/digit_8.red]
- [0x7A7370, palette, level_up/digit_9.red]
- [0x7A7390, palette, level_up/small_digit_0.red]
- [0x7A73B0, palette, level_up/small_digit_1.red]
- [0x7A73D0, palette, level_up/small_digit_2.red]
- [0x7A73F0, palette, level_up/small_digit_3.red]
- [0x7A7410, palette, level_up/small_digit_4.red]
- [0x7A7430, palette, level_up/small_digit_5.red]
- [0x7A7450, palette, level_up/small_digit_6.red]
- [0x7A7470, palette, level_up/small_digit_7.red]
- [0x7A7490, palette, level_up/small_digit_8.red]
- [0x7A74B0, palette, level_up/small_digit_9.red]
- [0x7A74D0, palette, level_up/small_arrow.red]
- [0x7A74F0, palette, level_up/digit_0.blue]
- [0x7A7510, palette, level_up/digit_1.blue]
- [0x7A7530, palette, level_up/digit_2.blue]
- [0x7A7550, palette, level_up/digit_3.blue]
- [0x7A7570, palette, level_up/digit_4.blue]
- [0x7A7590, palette, level_up/digit_5.blue]
- [0x7A75B0, palette, level_up/digit_6.blue]
- [0x7A75D0, palette, level_up/digit_7.blue]
- [0x7A75F0, palette, level_up/digit_8.blue]
- [0x7A7610, palette, level_up/digit_9.blue]
- [0x7A7630, palette, level_up/small_digit_0.blue]
- [0x7A7650, palette, level_up/small_digit_1.blue]
- [0x7A7670, palette, level_up/small_digit_2.blue]
- [0x7A7690, palette, level_up/small_digit_3.blue]
- [0x7A76B0, palette, level_up/small_digit_4.blue]
- [0x7A76D0, palette, level_up/small_digit_5.blue]
- [0x7A76F0, palette, level_up/small_digit_6.blue]
- [0x7A7710, palette, level_up/small_digit_7.blue]
- [0x7A7730, palette, level_up/small_digit_8.blue]
- [0x7A7750, palette, level_up/small_digit_9.blue]
- [0x7A7770, palette, level_up/small_arrow.blue]
- [0x7A7790, ci4, level_up/select_one_to_upgrade, 208, 16]
- [0x7A7E10, palette, level_up/select_one_to_upgrade]
- [0x7A7E30]
- type: code
name: starpoint
start: 0x7A89A0 start: 0x7A89A0
vram: 0x802A1000 vram: 0x802A1000
symbol_name_format: $VRAM_$ROM
subsegments: subsegments:
- [0x7A89A0, bin] - [0x7A89A0, c, starpoint]
- start: 0x7A89A0
type: .data
name: starpoint
subsegments:
- [0x7A89A0]
- [0x7A89B8, ia8, starpoint/starpoint, 128, 32]
- [0x7A99B8, gfx, starpoint/load_starpoint]
- [0x7A9A30, vtx, starpoint/starpoint]
- [0x7A9A70]
- [0x7A9B38, vtx, starpoint/starpoints]
- [0x7A9B78, ia8, starpoint/starpoints, 128, 32]
- [0x7AAB78, gfx, starpoint/load_starpoints]
- [0x7AABF0]
- [0x7AACA0, vtx, starpoint/digit_0]
- [0x7AACE0, ia8, starpoint/digit_0, 64, 64]
- [0x7ABCE0, gfx, starpoint/load_digit_0]
- [0x7ABD58, gfx, starpoint/__render_digit_0]
- [0x7ABDA0, gfx, starpoint/_render_digit_0]
- [0x7ABDB0, gfx, starpoint/render_digit_0]
- [0x7ABDC0, vtx, starpoint/digit_1]
- [0x7ABE00, ia8, starpoint/digit_1, 64, 64]
- [0x7ACE00, gfx, starpoint/load_digit_1]
- [0x7ACE78, gfx, starpoint/__render_digit_1]
- [0x7ACEC0, gfx, starpoint/_render_digit_1]
- [0x7ACED0, gfx, starpoint/render_digit_1]
- [0x7ACEE0, vtx, starpoint/digit_2]
- [0x7ACF20, ia8, starpoint/digit_2, 64, 64]
- [0x7ADF20, gfx, starpoint/load_digit_2]
- [0x7ADF98, gfx, starpoint/__render_digit_2]
- [0x7ADFE0, gfx, starpoint/_render_digit_2]
- [0x7ADFF0, gfx, starpoint/render_digit_2]
- [0x7AE000, vtx, starpoint/digit_3]
- [0x7AE040, ia8, starpoint/digit_3, 64, 64]
- [0x7AF040, gfx, starpoint/load_digit_3]
- [0x7AF0B8, gfx, starpoint/__render_digit_3]
- [0x7AF100, gfx, starpoint/_render_digit_3]
- [0x7AF110, gfx, starpoint/render_digit_3]
- [0x7AF120, vtx, starpoint/digit_4]
- [0x7AF160, ia8, starpoint/digit_4, 64, 64]
- [0x7B0160, gfx, starpoint/load_digit_4]
- [0x7B01D8, gfx, starpoint/__render_digit_4]
- [0x7B0220, gfx, starpoint/_render_digit_4]
- [0x7B0230, gfx, starpoint/render_digit_4]
- [0x7B0240, vtx, starpoint/digit_5]
- [0x7B0280, ia8, starpoint/digit_5, 64, 64]
- [0x7B1280, gfx, starpoint/load_digit_5]
- [0x7B12F8, gfx, starpoint/__render_digit_5]
- [0x7B1340, gfx, starpoint/_render_digit_5]
- [0x7B1350, gfx, starpoint/render_digit_5]
- [0x7B1360, vtx, starpoint/digit_6]
- [0x7B13A0, ia8, starpoint/digit_6, 64, 64]
- [0x7B23A0, gfx, starpoint/load_digit_6]
- [0x7B2418, gfx, starpoint/__render_digit_6]
- [0x7B2460, gfx, starpoint/_render_digit_6]
- [0x7B2470, gfx, starpoint/render_digit_6]
- [0x7B2480, vtx, starpoint/digit_7]
- [0x7B24C0, ia8, starpoint/digit_7, 64, 64]
- [0x7B34C0, gfx, starpoint/load_digit_7]
- [0x7B3538, gfx, starpoint/__render_digit_7]
- [0x7B3580, gfx, starpoint/_render_digit_7]
- [0x7B3590, gfx, starpoint/render_digit_7]
- [0x7B35A0, vtx, starpoint/digit_8]
- [0x7B35E0, ia8, starpoint/digit_8, 64, 64]
- [0x7B45E0, gfx, starpoint/load_digit_8]
- [0x7B4658, gfx, starpoint/__render_digit_8]
- [0x7B46A0, gfx, starpoint/_render_digit_8]
- [0x7B46B0, gfx, starpoint/render_digit_8]
- [0x7B46C0, vtx, starpoint/digit_9]
- [0x7B4700, ia8, starpoint/digit_9, 64, 64]
- [0x7B5700, gfx, starpoint/load_digit_9]
- [0x7B5778, gfx, starpoint/__render_digit_9]
- [0x7B57C0, gfx, starpoint/_render_digit_9]
- [0x7B57D0, gfx, starpoint/render_digit_9]
- [0x7B57E0]
- name: world_model_anim_kzn_01 - name: world_model_anim_kzn_01
dir: world/model_anim/kzn dir: world/model_anim/kzn
type: code type: code

View File

@ -7275,10 +7275,8 @@ ui_battle_swap_arrow_left_png = 0x8028A220; // rom:0x1B8B00
ui_battle_swap_arrow_left_pal = 0x8028A260; // rom:0x1B8B40 ui_battle_swap_arrow_left_pal = 0x8028A260; // rom:0x1B8B40
ui_battle_swap_arrow_right_png = 0x8028A280; // rom:0x1B8B60 ui_battle_swap_arrow_right_png = 0x8028A280; // rom:0x1B8B60
ui_battle_swap_arrow_right_pal = 0x8028A2C0; // rom:0x1B8BA0 ui_battle_swap_arrow_right_pal = 0x8028A2C0; // rom:0x1B8BA0
ui_battle_menu_spirits_png = 0x8028A460; // rom:0x1B8D40
ui_battle_menu_spirits_png = 0x8028A460; // type:data rom:0x1B8D40 ui_battle_menu_spirits_png = 0x8028A460; // type:data rom:0x1B8D40
ui_battle_menu_spirits_pal = 0x8028A660; // type:data rom:0x1B8F40 ui_battle_menu_spirits_pal = 0x8028A660; // type:data rom:0x1B8F40
ui_battle_menu_spirits_pal = 0x8028A660; // rom:0x1B8F40
ui_battle_yellow_arrow_png = 0x8028A680; // rom:0x1B8F60 ui_battle_yellow_arrow_png = 0x8028A680; // rom:0x1B8F60
ui_battle_yellow_arrow_pal = 0x8028A700; // rom:0x1B8FE0 ui_battle_yellow_arrow_pal = 0x8028A700; // rom:0x1B8FE0
ui_battle_hp_bar_png = 0x8028A840; // rom:0x1B9120 ui_battle_hp_bar_png = 0x8028A840; // rom:0x1B9120
@ -7397,9 +7395,7 @@ ui_battle_cmd_aim_target_0_png = 0x8028F3C0; // rom:0x1BDCA0
ui_battle_cmd_aim_target_0_pal = 0x8028F4E0; // rom:0x1BDDC0 ui_battle_cmd_aim_target_0_pal = 0x8028F4E0; // rom:0x1BDDC0
ui_battle_cmd_aim_target_1_png = 0x8028F500; // rom:0x1BDDE0 ui_battle_cmd_aim_target_1_png = 0x8028F500; // rom:0x1BDDE0
ui_battle_cmd_aim_target_1_pal = 0x8028F620; // rom:0x1BDF00 ui_battle_cmd_aim_target_1_pal = 0x8028F620; // rom:0x1BDF00
ui_battle_unk_star_png = 0x8028F640; // rom:0x1BDF20
ui_battle_unk_star_png = 0x8028F640; // type:data rom:0x1BDF20 ui_battle_unk_star_png = 0x8028F640; // type:data rom:0x1BDF20
ui_battle_unk_star_pal = 0x8028F840; // rom:0x1BE120
ui_battle_unk_star_pal = 0x8028F840; // type:data rom:0x1BE120 ui_battle_unk_star_pal = 0x8028F840; // type:data rom:0x1BE120
D_8028F860 = 0x8028F860; // type:data rom:0x1BE140 D_8028F860 = 0x8028F860; // type:data rom:0x1BE140
ui_battle_projector_spot_png = 0x8028F868; // rom:0x1BE148 ui_battle_projector_spot_png = 0x8028F868; // rom:0x1BE148
@ -13910,29 +13906,29 @@ func_80238244_6FAF54 = 0x80238244; // type:func rom:0x6FAF54
func_80238358_6FB068 = 0x80238358; // type:func rom:0x6FB068 func_80238358_6FB068 = 0x80238358; // type:func rom:0x6FB068
func_8023849C_6FB1AC = 0x8023849C; // type:func rom:0x6FB1AC func_8023849C_6FB1AC = 0x8023849C; // type:func rom:0x6FB1AC
func_80238590_6FB2A0 = 0x80238590; // type:func rom:0x6FB2A0 func_80238590_6FB2A0 = 0x80238590; // type:func rom:0x6FB2A0
NAMESPACE_idleAnimations_80238640 = 0x80238640; // type:data rom:0x6FB350 battle_partner_bombette_idleAnimations_80238640 = 0x80238640; // type:data rom:0x6FB350
NAMESPACE_defenseTable_8023867C = 0x8023867C; // type:data rom:0x6FB38C battle_partner_bombette_defenseTable_8023867C = 0x8023867C; // type:data rom:0x6FB38C
NAMESPACE_statusTable_80238688 = 0x80238688; // type:data rom:0x6FB398 battle_partner_bombette_statusTable_80238688 = 0x80238688; // type:data rom:0x6FB398
NAMESPACE_partsTable_80238734 = 0x80238734; // type:data rom:0x6FB444 battle_partner_bombette_partsTable_80238734 = 0x80238734; // type:data rom:0x6FB444
NAMESPACE = 0x80238758; // type:data rom:0x6FB468 battle_partner_bombette = 0x80238758; // type:data rom:0x6FB468
NAMESPACE_init_80238780 = 0x80238780; // type:data rom:0x6FB490 battle_partner_bombette_init_80238780 = 0x80238780; // type:data rom:0x6FB490
NAMESPACE_idle_802387E0 = 0x802387E0; // type:data rom:0x6FB4F0 battle_partner_bombette_idle_802387E0 = 0x802387E0; // type:data rom:0x6FB4F0
NAMESPACE_handleEvent_802387F0 = 0x802387F0; // type:data rom:0x6FB500 battle_partner_bombette_handleEvent_802387F0 = 0x802387F0; // type:data rom:0x6FB500
NAMESPACE_takeTurn_80239AB8 = 0x80239AB8; // type:data rom:0x6FC7C8 battle_partner_bombette_takeTurn_80239AB8 = 0x80239AB8; // type:data rom:0x6FC7C8
NAMESPACE_80239B64 = 0x80239B64; // type:data rom:0x6FC874 battle_partner_bombette_80239B64 = 0x80239B64; // type:data rom:0x6FC874
NAMESPACE_80239BC0 = 0x80239BC0; // type:data rom:0x6FC8D0 battle_partner_bombette_80239BC0 = 0x80239BC0; // type:data rom:0x6FC8D0
NAMESPACE_80239D08 = 0x80239D08; // type:data rom:0x6FCA18 battle_partner_bombette_80239D08 = 0x80239D08; // type:data rom:0x6FCA18
NAMESPACE_80239D8C = 0x80239D8C; // type:data rom:0x6FCA9C battle_partner_bombette_80239D8C = 0x80239D8C; // type:data rom:0x6FCA9C
NAMESPACE_80239DC8 = 0x80239DC8; // type:data rom:0x6FCAD8 battle_partner_bombette_80239DC8 = 0x80239DC8; // type:data rom:0x6FCAD8
NAMESPACE_nextTurn_80239E7C = 0x80239E7C; // type:data rom:0x6FCB8C battle_partner_bombette_nextTurn_80239E7C = 0x80239E7C; // type:data rom:0x6FCB8C
NAMESPACE_80239E8C = 0x80239E8C; // type:data rom:0x6FCB9C battle_partner_bombette_80239E8C = 0x80239E8C; // type:data rom:0x6FCB9C
NAMESPACE_8023A1AC = 0x8023A1AC; // type:data rom:0x6FCEBC battle_partner_bombette_8023A1AC = 0x8023A1AC; // type:data rom:0x6FCEBC
NAMESPACE_8023A4BC = 0x8023A4BC; // type:data rom:0x6FD1CC battle_partner_bombette_8023A4BC = 0x8023A4BC; // type:data rom:0x6FD1CC
NAMESPACE_8023A4F8 = 0x8023A4F8; // type:data rom:0x6FD208 battle_partner_bombette_8023A4F8 = 0x8023A4F8; // type:data rom:0x6FD208
NAMESPACE_8023A584 = 0x8023A584; // type:data rom:0x6FD294 battle_partner_bombette_8023A584 = 0x8023A584; // type:data rom:0x6FD294
NAMESPACE_8023A5F8 = 0x8023A5F8; // type:data rom:0x6FD308 battle_partner_bombette_8023A5F8 = 0x8023A5F8; // type:data rom:0x6FD308
NAMESPACE_8023B228 = 0x8023B228; // type:data rom:0x6FDF38 battle_partner_bombette_8023B228 = 0x8023B228; // type:data rom:0x6FDF38
NAMESPACE_8023C990 = 0x8023C990; // type:data rom:0x6FF6A0 battle_partner_bombette_8023C990 = 0x8023C990; // type:data rom:0x6FF6A0
func_80238000_6FFD80 = 0x80238000; // type:func rom:0x6FFD80 func_80238000_6FFD80 = 0x80238000; // type:func rom:0x6FFD80
func_80238C88_700A08 = 0x80238C88; // type:func rom:0x700A08 func_80238C88_700A08 = 0x80238C88; // type:func rom:0x700A08
func_80238CE0_700A60 = 0x80238CE0; // type:func rom:0x700A60 func_80238CE0_700A60 = 0x80238CE0; // type:func rom:0x700A60
@ -14843,6 +14839,106 @@ battle_star_peach_dash_802A1CE0 = 0x802A1CE0; // type:data rom:0x79E580
battle_star_peach_dash_802A1EEC = 0x802A1EEC; // type:data rom:0x79E78C battle_star_peach_dash_802A1EEC = 0x802A1EEC; // type:data rom:0x79E78C
battle_star_peach_dash_802A233C = 0x802A233C; // type:data rom:0x79EBDC battle_star_peach_dash_802A233C = 0x802A233C; // type:data rom:0x79EBDC
battle_star_peach_dash_usePower = 0x802A2468; // type:data rom:0x79ED08 battle_star_peach_dash_usePower = 0x802A2468; // type:data rom:0x79ED08
level_up_heart_png = 0x802A7AB0; // type:data rom:0x7A59F0
level_up_heart_pal = 0x802A7DD0; // type:data rom:0x7A5D10
level_up_flower_png = 0x802A7DF0; // type:data rom:0x7A5D30
level_up_flower_pal = 0x802A8110; // type:data rom:0x7A6050
level_up_leaves_png = 0x802A8130; // type:data rom:0x7A6070
level_up_leaves_pal = 0x802A8450; // type:data rom:0x7A6390
level_up_badge_png = 0x802A8470; // type:data rom:0x7A63B0
level_up_badge_pal = 0x802A8790; // type:data rom:0x7A66D0
level_up_FP_png = 0x802A87B0; // type:data rom:0x7A66F0
level_up_FP_pal = 0x802A8930; // type:data rom:0x7A6870
level_up_BP_png = 0x802A8950; // type:data rom:0x7A6890
level_up_BP_pal = 0x802A8AD0; // type:data rom:0x7A6A10
level_up_HP_png = 0x802A8AF0; // type:data rom:0x7A6A30
level_up_HP_pal = 0x802A8C70; // type:data rom:0x7A6BB0
level_up_digit_0_png = 0x802A8C90; // type:data rom:0x7A6BD0
level_up_digit_0_pal = 0x802A8CD0; // type:data rom:0x7A6C10
level_up_digit_1_png = 0x802A8CF0; // type:data rom:0x7A6C30
level_up_digit_1_pal = 0x802A8D30; // type:data rom:0x7A6C70
level_up_digit_2_png = 0x802A8D50; // type:data rom:0x7A6C90
level_up_digit_2_pal = 0x802A8D90; // type:data rom:0x7A6CD0
level_up_digit_3_png = 0x802A8DB0; // type:data rom:0x7A6CF0
level_up_digit_3_pal = 0x802A8DF0; // type:data rom:0x7A6D30
level_up_digit_4_png = 0x802A8E10; // type:data rom:0x7A6D50
level_up_digit_4_pal = 0x802A8E50; // type:data rom:0x7A6D90
level_up_digit_5_png = 0x802A8E70; // type:data rom:0x7A6DB0
level_up_digit_5_pal = 0x802A8EB0; // type:data rom:0x7A6DF0
level_up_digit_6_png = 0x802A8ED0; // type:data rom:0x7A6E10
level_up_digit_6_pal = 0x802A8F10; // type:data rom:0x7A6E50
level_up_digit_7_png = 0x802A8F30; // type:data rom:0x7A6E70
level_up_digit_7_pal = 0x802A8F70; // type:data rom:0x7A6EB0
level_up_digit_8_png = 0x802A8F90; // type:data rom:0x7A6ED0
level_up_digit_8_pal = 0x802A8FD0; // type:data rom:0x7A6F10
level_up_digit_9_png = 0x802A8FF0; // type:data rom:0x7A6F30
level_up_digit_9_pal = 0x802A9030; // type:data rom:0x7A6F70
level_up_small_digit_0_png = 0x802A9050; // type:data rom:0x7A6F90
level_up_small_digit_0_pal = 0x802A9070; // type:data rom:0x7A6FB0
level_up_small_digit_1_png = 0x802A9090; // type:data rom:0x7A6FD0
level_up_small_digit_1_pal = 0x802A90B0; // type:data rom:0x7A6FF0
level_up_small_digit_2_png = 0x802A90D0; // type:data rom:0x7A7010
level_up_small_digit_2_pal = 0x802A90F0; // type:data rom:0x7A7030
level_up_small_digit_3_png = 0x802A9110; // type:data rom:0x7A7050
level_up_small_digit_3_pal = 0x802A9130; // type:data rom:0x7A7070
level_up_small_digit_4_png = 0x802A9150; // type:data rom:0x7A7090
level_up_small_digit_4_pal = 0x802A9170; // type:data rom:0x7A70B0
level_up_small_digit_5_png = 0x802A9190; // type:data rom:0x7A70D0
level_up_small_digit_5_pal = 0x802A91B0; // type:data rom:0x7A70F0
level_up_small_digit_6_png = 0x802A91D0; // type:data rom:0x7A7110
level_up_small_digit_6_pal = 0x802A91F0; // type:data rom:0x7A7130
level_up_small_digit_7_png = 0x802A9210; // type:data rom:0x7A7150
level_up_small_digit_7_pal = 0x802A9230; // type:data rom:0x7A7170
level_up_small_digit_8_png = 0x802A9250; // type:data rom:0x7A7190
level_up_small_digit_8_pal = 0x802A9270; // type:data rom:0x7A71B0
level_up_small_digit_9_png = 0x802A9290; // type:data rom:0x7A71D0
level_up_small_digit_9_pal = 0x802A92B0; // type:data rom:0x7A71F0
level_up_small_arrow_png = 0x802A92D0; // type:data rom:0x7A7210
level_up_small_arrow_pal = 0x802A92F0; // type:data rom:0x7A7230
level_up_digit_0_red_pal = 0x802A9310; // type:data rom:0x7A7250
level_up_digit_1_red_pal = 0x802A9330; // type:data rom:0x7A7270
level_up_digit_2_red_pal = 0x802A9350; // type:data rom:0x7A7290
level_up_digit_3_red_pal = 0x802A9370; // type:data rom:0x7A72B0
level_up_digit_4_red_pal = 0x802A9390; // type:data rom:0x7A72D0
level_up_digit_5_red_pal = 0x802A93B0; // type:data rom:0x7A72F0
level_up_digit_6_red_pal = 0x802A93D0; // type:data rom:0x7A7310
level_up_digit_7_red_pal = 0x802A93F0; // type:data rom:0x7A7330
level_up_digit_8_red_pal = 0x802A9410; // type:data rom:0x7A7350
level_up_digit_9_red_pal = 0x802A9430; // type:data rom:0x7A7370
level_up_small_digit_0_red_pal = 0x802A9450; // type:data rom:0x7A7390
level_up_small_digit_1_red_pal = 0x802A9470; // type:data rom:0x7A73B0
level_up_small_digit_2_red_pal = 0x802A9490; // type:data rom:0x7A73D0
level_up_small_digit_3_red_pal = 0x802A94B0; // type:data rom:0x7A73F0
level_up_small_digit_4_red_pal = 0x802A94D0; // type:data rom:0x7A7410
level_up_small_digit_5_red_pal = 0x802A94F0; // type:data rom:0x7A7430
level_up_small_digit_6_red_pal = 0x802A9510; // type:data rom:0x7A7450
level_up_small_digit_7_red_pal = 0x802A9530; // type:data rom:0x7A7470
level_up_small_digit_8_red_pal = 0x802A9550; // type:data rom:0x7A7490
level_up_small_digit_9_red_pal = 0x802A9570; // type:data rom:0x7A74B0
level_up_small_arrow_red_pal = 0x802A9590; // type:data rom:0x7A74D0
level_up_digit_0_blue_pal = 0x802A95B0; // type:data rom:0x7A74F0
level_up_digit_1_blue_pal = 0x802A95D0; // type:data rom:0x7A7510
level_up_digit_2_blue_pal = 0x802A95F0; // type:data rom:0x7A7530
level_up_digit_3_blue_pal = 0x802A9610; // type:data rom:0x7A7550
level_up_digit_4_blue_pal = 0x802A9630; // type:data rom:0x7A7570
level_up_digit_5_blue_pal = 0x802A9650; // type:data rom:0x7A7590
level_up_digit_6_blue_pal = 0x802A9670; // type:data rom:0x7A75B0
level_up_digit_7_blue_pal = 0x802A9690; // type:data rom:0x7A75D0
level_up_digit_8_blue_pal = 0x802A96B0; // type:data rom:0x7A75F0
level_up_digit_9_blue_pal = 0x802A96D0; // type:data rom:0x7A7610
level_up_small_digit_0_blue_pal = 0x802A96F0; // type:data rom:0x7A7630
level_up_small_digit_1_blue_pal = 0x802A9710; // type:data rom:0x7A7650
level_up_small_digit_2_blue_pal = 0x802A9730; // type:data rom:0x7A7670
level_up_small_digit_3_blue_pal = 0x802A9750; // type:data rom:0x7A7690
level_up_small_digit_4_blue_pal = 0x802A9770; // type:data rom:0x7A76B0
level_up_small_digit_5_blue_pal = 0x802A9790; // type:data rom:0x7A76D0
level_up_small_digit_6_blue_pal = 0x802A97B0; // type:data rom:0x7A76F0
level_up_small_digit_7_blue_pal = 0x802A97D0; // type:data rom:0x7A7710
level_up_small_digit_8_blue_pal = 0x802A97F0; // type:data rom:0x7A7730
level_up_small_digit_9_blue_pal = 0x802A9810; // type:data rom:0x7A7750
level_up_small_arrow_blue_pal = 0x802A9830; // type:data rom:0x7A7770
level_up_select_one_to_upgrade_png = 0x802A9850; // type:data rom:0x7A7790
level_up_select_one_to_upgrade_pal = 0x802A9ED0; // type:data rom:0x7A7E10
shop_owner_begin_speech = 0x80280000; // type:func rom:0x7E0E80 shop_owner_begin_speech = 0x80280000; // type:func rom:0x7E0E80
shop_owner_buy_dialog = 0x80280088; // type:func rom:0x7E0F08 shop_owner_buy_dialog = 0x80280088; // type:func rom:0x7E0F08
shop_owner_continue_speech = 0x8028017C; // type:func rom:0x7E0FFC shop_owner_continue_speech = 0x8028017C; // type:func rom:0x7E0FFC
@ -26920,17 +27016,8 @@ func_802A99D4 = 0x802A99D4; //
func_802A9A30 = 0x802A9A30; // func_802A9A30 = 0x802A9A30; //
func_802A9A54 = 0x802A9A54; // func_802A9A54 = 0x802A9A54; //
D_802A9B00 = 0x802A9B00; // type:data D_802A9B00 = 0x802A9B00; // type:data
D_802A9F0C = 0x802A9F0C; // type:data
D_802A9F34 = 0x802A9F34; // type:data
D_802A9F5C = 0x802A9F5C; // type:data
D_802A9F84 = 0x802A9F84; // type:data
D_802A9FAC = 0x802A9FAC; // type:data
func_802AA014 = 0x802AA014; // func_802AA014 = 0x802AA014; //
func_802AA0D8 = 0x802AA0D8; // func_802AA0D8 = 0x802AA0D8; //
D_802AA320 = 0x802AA320; // type:data
D_802AA694 = 0x802AA694; // type:data
D_802AAA08 = 0x802AAA08; // type:data
D_802AAA30 = 0x802AAA30; // type:data
D_802AB513 = 0x802AB513; // type:data D_802AB513 = 0x802AB513; // type:data
padding2 = 0x802ACC04; // type:data padding2 = 0x802ACC04; // type:data
D_802ACC38 = 0x802ACC38; // type:data D_802ACC38 = 0x802ACC38; // type:data

View File

@ -729,15 +729,6 @@ D_802A9620 = 0x802A9620;
D_802A98C0 = 0x802A98C0; D_802A98C0 = 0x802A98C0;
D_802A9920 = 0x802A9920; D_802A9920 = 0x802A9920;
D_802A9B00 = 0x802A9B00; D_802A9B00 = 0x802A9B00;
D_802A9F0C = 0x802A9F0C;
D_802A9F34 = 0x802A9F34;
D_802A9F5C = 0x802A9F5C;
D_802A9F84 = 0x802A9F84;
D_802A9FAC = 0x802A9FAC;
D_802AA320 = 0x802AA320;
D_802AA694 = 0x802AA694;
D_802AAA08 = 0x802AAA08;
D_802AAA30 = 0x802AAA30;
D_802B6E90_E2A300 = 0x802B6E90; D_802B6E90_E2A300 = 0x802B6E90;
mdl_clearRenderTasks = 0x802B7E00; mdl_clearRenderTasks = 0x802B7E00;