Skip to content

Commit

Permalink
unlink vanilla battles and model anims
Browse files Browse the repository at this point in the history
  • Loading branch information
bates64 committed Feb 7, 2024
1 parent 1257786 commit 5e2582c
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1,085 deletions.
9 changes: 9 additions & 0 deletions src/battle/area/ham/area.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#include "area.h"

BattleList A(Formations) = {
{},
};

StageList A(Stages) = {
{},
};
6 changes: 6 additions & 0 deletions src/battle/area/ham/area.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include "common.h"
#include "effects.h"
#include "battle/battle.h"
#include "script_api/battle.h"

#define AREA b_area_ham
47 changes: 1 addition & 46 deletions src/battle/battle.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,52 +53,7 @@ SHIFT_BSS Battle* gCurrentBattlePtr;
} \

BattleArea gBattleAreas[] = {
[BTL_AREA_KMR_1] BTL_AREA(kmr_part_1, "エリア KMR その1"),
[BTL_AREA_KMR_2] BTL_AREA(kmr_part_2, "エリア KMR その2"),
[BTL_AREA_KMR_3] BTL_AREA(kmr_part_3, "エリア KMR その3"),
[BTL_AREA_MAC] BTL_AREA(mac, "エリア MAC"),
[BTL_AREA_HOS] BTL_AREA(hos, "エリア HOS"),
[BTL_AREA_NOK] BTL_AREA(nok, "エリア NOK"),
[BTL_AREA_TRD_1] BTL_AREA(trd_part_1, "エリア TRD その1"),
[BTL_AREA_TRD_2] BTL_AREA(trd_part_2, "エリア TRD その2"),
[BTL_AREA_TRD_3] BTL_AREA(trd_part_3, "エリア TRD その3"),
[BTL_AREA_IWA] BTL_AREA(iwa, "エリア IWA"),
[BTL_AREA_SBK] BTL_AREA(sbk, "エリア SBK"),
[BTL_AREA_ISK_1] BTL_AREA(isk_part_1, "エリア ISK その1"),
[BTL_AREA_ISK_2] BTL_AREA(isk_part_2, "エリア ISK その2"),
[BTL_AREA_MIM] BTL_AREA(mim, "エリア MIM"),
[BTL_AREA_ARN] BTL_AREA(arn, "エリア ARN"),
[BTL_AREA_DGB] BTL_AREA(dgb, "エリア DGB"),
[BTL_AREA_OMO] BTL_AREA(omo, "エリア OMO"),
[BTL_AREA_OMO2] BTL_AREA(omo2, "エリア OMO2"),
[BTL_AREA_OMO3] BTL_AREA(omo3, "エリア OMO3"),
[BTL_AREA_KGR] BTL_AREA(kgr, "エリア KGR"),
[BTL_AREA_JAN] BTL_AREA(jan, "エリア JAN"),
[BTL_AREA_JAN2] BTL_AREA(jan2, "エリア JAN2"),
[BTL_AREA_KZN] BTL_AREA(kzn, "エリア KZN"),
[BTL_AREA_KZN2] BTL_AREA_DMA(kzn2, "エリア KZN2"),
[BTL_AREA_FLO] BTL_AREA(flo, "エリア FLO"),
[BTL_AREA_FLO2] BTL_AREA(flo2, "エリア FLO2"),
[BTL_AREA_TIK] BTL_AREA(tik, "エリア TIK"),
[BTL_AREA_TIK2] BTL_AREA(tik2, "エリア TIK2"),
[BTL_AREA_TIK3] BTL_AREA(tik3, "エリア TIK3"),
[BTL_AREA_SAM] BTL_AREA(sam, "エリア SAM"),
[BTL_AREA_SAM2] BTL_AREA(sam2, "エリア SAM2"),
[BTL_AREA_PRA] BTL_AREA(pra, "エリア PRA"),
[BTL_AREA_PRA2] BTL_AREA(pra2, "エリア PRA2"),
[BTL_AREA_PRA3] BTL_AREA(pra3, "エリア PRA3"),
[BTL_AREA_KPA] BTL_AREA(kpa, "エリア KPA"),
[BTL_AREA_KPA2] BTL_AREA(kpa2, "エリア KPA2"),
[BTL_AREA_KPA3] BTL_AREA(kpa3, "エリア KPA3"),
[BTL_AREA_KPA4] BTL_AREA(kpa4, "エリア KPA4"),
[BTL_AREA_KKJ] BTL_AREA(kkj, "エリア KKJ"),
[BTL_AREA_DIG] BTL_AREA(dig, "エリア DIG"),
[BTL_AREA_OMO2_1] BTL_AREA_AUX(omo2_1, "エリア OMO2_1"),
[BTL_AREA_OMO2_2] BTL_AREA_AUX(omo2_2, "エリア OMO2_2"),
[BTL_AREA_OMO2_3] BTL_AREA_AUX(omo2_3, "エリア OMO2_3"),
[BTL_AREA_OMO2_4] BTL_AREA_AUX(omo2_4, "エリア OMO2_4"),
[BTL_AREA_OMO2_5] BTL_AREA_AUX(omo2_5, "エリア OMO2_5"),
[BTL_AREA_OMO2_6] BTL_AREA_AUX(omo2_6, "エリア OMO2_6"),
// TODO
};

void reset_battle_status(void) {
Expand Down
1 change: 1 addition & 0 deletions src/battle/battle.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#define STAGE_MODEL_LIST_END 0

enum BattleAreaIDs {
// TODO: remove these vanilla areas because they are not linked
BTL_AREA_KMR_1 = 0x00,
BTL_AREA_KMR_2 = 0x01,
BTL_AREA_KMR_3 = 0x02,
Expand Down
Loading

0 comments on commit 5e2582c

Please sign in to comment.