Skip to content

Commit

Permalink
Blue Coin change
Browse files Browse the repository at this point in the history
  • Loading branch information
Evanbowl committed Apr 27, 2024
1 parent b4da2e2 commit 75157ba
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modules/BlueCoinSystem/source/BlueCoinUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include "BlueCoinUtil.h"
#include "Game/Screen/GameSceneLayoutHolder.h"
#include "Game/Screen/CounterLayoutControllerExt.h"
//#include "Util/ActorUtil.h"
#include "Game/NPC/TalkMessageCtrl.h"

#define BINSIZE 867
Expand All @@ -13,8 +12,13 @@
#define SPENT_LOCATION 861
#define TEXTBOX_LOCATION 864

void* initializeBlueCoinArrayAndLoadArchive() {
BlueCoinUtil::initBlueCoinArray();
return pt::loadArcAndFile("SystemData/BlueCoinIDRangeTable.arc", "/BlueCoinIDRangeTable.bcsv");
}

BlueCoinData* gBlueCoinData;
void* gBlueCoinIDRangeTable = pt::loadArcAndFile("SystemData/BlueCoinIDRangeTable.arc", "/BlueCoinIDRangeTable.bcsv");
void* gBlueCoinIDRangeTable = initializeBlueCoinArrayAndLoadArchive();

namespace BlueCoinUtil {
void loadBlueCoinData() {
Expand Down

0 comments on commit 75157ba

Please sign in to comment.