Hotfix coverage script

This commit is contained in:
Ethan Roseman 2023-03-20 10:36:13 +09:00
parent 07569d8668
commit 42d899fd44
No known key found for this signature in database
GPG Key ID: 27F9FCEB8E4969BD
6 changed files with 8 additions and 7 deletions

View File

@ -76,6 +76,7 @@ def stuff(version):
if not os.listdir(folder[0]): if not os.listdir(folder[0]):
os.removedirs(folder[0]) os.removedirs(folder[0])
stuff("us")
stuff("jp") stuff("jp")
stuff("us")
stuff("pal")
stuff("ique") stuff("ique")

View File

@ -196,7 +196,7 @@ API_CALLABLE(N(AwaitPlayerPressATimer)) {
// unlike the common import, does not mask out 0xF0000 from itemID // unlike the common import, does not mask out 0xF0000 from itemID
#if VERSION_PAL #if VERSION_PAL
API_CALLABLE(N(GetItemNameRaw)); API_CALLABLE(N(GetItemNameRaw));
INCLUDE_ASM(ApiResult, "world/area_kkj/kkj_19/kkj_19_5_baking", N(GetItemNameRaw)); INCLUDE_ASM(ApiResult, "world/area_kkj/kkj_19/kkj_19_5_baking", kkj_19_GetItemNameRaw);
#else #else
API_CALLABLE(N(GetItemNameRaw)) { API_CALLABLE(N(GetItemNameRaw)) {
Bytecode* args = script->ptrReadPos; Bytecode* args = script->ptrReadPos;

View File

@ -70,7 +70,7 @@ Gfx N(Gfx_RecordDisplay_Init)[] = {
#if VERSION_PAL #if VERSION_PAL
void N(draw_record_display)(RecordDisplayData* data, s32 alpha); void N(draw_record_display)(RecordDisplayData* data, s32 alpha);
INCLUDE_ASM(void, "world/area_mgm/mgm_00/mgm_00_3_scoreboard", N(draw_record_display)); INCLUDE_ASM(void, "world/area_mgm/mgm_00/mgm_00_3_scoreboard", mgm_00_draw_record_display);
#else #else
void N(draw_record_display)(RecordDisplayData* data, s32 alpha) { void N(draw_record_display)(RecordDisplayData* data, s32 alpha) {
if (alpha > 0) { if (alpha > 0) {

View File

@ -658,7 +658,7 @@ API_CALLABLE(N(GetCoinCount)) {
#if VERSION_PAL #if VERSION_PAL
API_CALLABLE(N(SetMsgVars_BlocksRemaining)); API_CALLABLE(N(SetMsgVars_BlocksRemaining));
INCLUDE_ASM(ApiStatus, "world/area_mgm/mgm_01/mgm_01_2_npc", N(SetMsgVars_BlocksRemaining)) INCLUDE_ASM(ApiStatus, "world/area_mgm/mgm_01/mgm_01_2_npc", mgm_01_SetMsgVars_BlocksRemaining)
#else #else
API_CALLABLE(N(SetMsgVars_BlocksRemaining)) { API_CALLABLE(N(SetMsgVars_BlocksRemaining)) {
Enemy* scorekeeper = get_enemy(SCOREKEEPER_ENEMY_IDX); Enemy* scorekeeper = get_enemy(SCOREKEEPER_ENEMY_IDX);

View File

@ -2,7 +2,7 @@
#if VERSION_PAL #if VERSION_PAL
s32 N(get_tattle)(void); s32 N(get_tattle)(void);
INCLUDE_ASM(void, "world/area_mgm/mgm_02/mgm_02_0_header", N(get_tattle)); INCLUDE_ASM(void, "world/area_mgm/mgm_02/mgm_02_0_header", mgm_02_get_tattle);
#endif #endif
EntryList N(Entrances) = { EntryList N(Entrances) = {

View File

@ -289,7 +289,7 @@ API_CALLABLE(N(OnHitBox)) {
#if VERSION_PAL #if VERSION_PAL
API_CALLABLE(N(SetBoxContents)); API_CALLABLE(N(SetBoxContents));
INCLUDE_ASM(ApiResult, "world/area_mgm/mgm_02/mgm_02_2_npc", N(SetBoxContents)); INCLUDE_ASM(ApiResult, "world/area_mgm/mgm_02/mgm_02_2_npc", mgm_02_SetBoxContents);
#else #else
API_CALLABLE(N(SetBoxContents)) { API_CALLABLE(N(SetBoxContents)) {
s32 initialConfiguration; s32 initialConfiguration;
@ -417,7 +417,7 @@ API_CALLABLE(N(SetBoxContents)) {
#if VERSION_PAL #if VERSION_PAL
API_CALLABLE(N(RunMinigame)); API_CALLABLE(N(RunMinigame));
INCLUDE_ASM(ApiResult, "world/area_mgm/mgm_02/mgm_02_2_npc", N(RunMinigame)); INCLUDE_ASM(ApiResult, "world/area_mgm/mgm_02/mgm_02_2_npc", mgm_02_RunMinigame);
#else #else
API_CALLABLE(N(RunMinigame)) { API_CALLABLE(N(RunMinigame)) {
SmashGameData* data; SmashGameData* data;