rename ast_reward to ast_ending_expert

This commit is contained in:
Alejandro Javier Asenjo Nitti 2024-02-22 01:02:16 -03:00
parent 28bf7d9424
commit 647f0f5d2e
7 changed files with 13 additions and 8 deletions

View File

@ -3,7 +3,7 @@
seg8: 0xD91F10
header:
code:
- '#include "assets/ast_reward.h"'
- '#include "assets/ast_ending_expert.h"'
header:
- '#include "gfx.h"'
- '#include "sf64object.h"'

View File

@ -5,4 +5,7 @@
#include "sf64object.h"
#include "structs.h"
extern u16 gEndingExpertReward[];
extern u16 gEndingNormalReward[];
#endif

View File

@ -173,7 +173,7 @@ DECLARE_SEGMENT(ast_logo);
DECLARE_SEGMENT(ast_ending);
DECLARE_SEGMENT(ast_ending_award_front);
DECLARE_SEGMENT(ast_ending_award_back);
DECLARE_SEGMENT(ast_reward);
DECLARE_SEGMENT(ast_ending_expert);
DECLARE_SEGMENT(ast_training);
DECLARE_SEGMENT(ast_radio);
DECLARE_SEGMENT(ovl_i1);

View File

@ -70,7 +70,9 @@ DmaEntry gDmaTable[90] = {
{ SEGMENT_ROM_START(ast_ending_award_back),
{ SEGMENT_ROM_START(ast_ending_award_back), SEGMENT_ROM_END(ast_ending_award_back) },
false },
{ SEGMENT_ROM_START(ast_reward), { SEGMENT_ROM_START(ast_reward), SEGMENT_ROM_END(ast_reward) }, false },
{ SEGMENT_ROM_START(ast_ending_expert),
{ SEGMENT_ROM_START(ast_ending_expert), SEGMENT_ROM_END(ast_ending_expert) },
false },
{ SEGMENT_ROM_START(ast_training), { SEGMENT_ROM_START(ast_training), SEGMENT_ROM_END(ast_training) }, false },
{ SEGMENT_ROM_START(ast_radio), { SEGMENT_ROM_START(ast_radio), SEGMENT_ROM_END(ast_radio) }, false },
{ SEGMENT_ROM_START(ovl_i1), { SEGMENT_ROM_START(ovl_i1), SEGMENT_ROM_END(ovl_i1) }, false },

View File

@ -97,7 +97,7 @@ OverlayInit sOvlending_Ending[6] = {
/* 0x5 */ ROM_SEGMENT(ast_font),
/* 0x6 */ ROM_SEGMENT(ast_title),
/* 0x7 */ ROM_SEGMENT(ast_ending),
/* 0x8 */ ROM_SEGMENT(ast_reward),
/* 0x8 */ ROM_SEGMENT(ast_ending_expert),
/* 0x9 */ NO_SEGMENT,
/* 0xA */ NO_SEGMENT,
/* 0xB */ NO_SEGMENT,
@ -129,7 +129,7 @@ OverlayInit sOvlending_Ending[6] = {
/* 0x5 */ ROM_SEGMENT(ast_font),
/* 0x6 */ NO_SEGMENT,
/* 0x7 */ ROM_SEGMENT(ast_ending),
/* 0x8 */ ROM_SEGMENT(ast_reward),
/* 0x8 */ ROM_SEGMENT(ast_ending_expert),
/* 0x9 */ ROM_SEGMENT(ast_font_3d),
/* 0xA */ NO_SEGMENT,
/* 0xB */ NO_SEGMENT,

View File

@ -1,6 +1,6 @@
#include "global.h"
#include "fox_end2_data.c"
#include "assets/ast_reward.h"
#include "assets/ast_ending_expert.h"
void func_ending_8018CE20(u32 arg0) {
u8 alpha;

View File

@ -261,14 +261,14 @@
subsegments:
- [0xD68480, .data, ast_ending_award_back/ast_ending_award_back]
- name: ast_reward
- name: ast_ending_expert
exclusive_ram_id: segment_08
type: code
dir: assets
start: 0xD91F10
vram: 0x08000000
subsegments:
- [0xD91F10, .data, ast_reward/ast_reward]
- [0xD91F10, .data, ast_ending_expert/ast_ending_expert]
- name: ast_training
exclusive_ram_id: segment_06