mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-22 15:02:54 -04:00
don't change save file length and use unused slot for ghost lantern
This commit is contained in:
@@ -2386,7 +2386,6 @@ public:
|
||||
void setGroundFishingRodActor();
|
||||
int procFishingCastInit();
|
||||
int procFishingCast();
|
||||
void procLensOfTruthOn();
|
||||
int procFishingFoodInit();
|
||||
int procFishingFood();
|
||||
f32 getCrawlMoveAnmSpeed();
|
||||
|
||||
+2
-2
@@ -71,7 +71,7 @@ void item_func_WOOD_STICK();
|
||||
void item_func_BOOMERANG();
|
||||
void item_func_SPINNER();
|
||||
void item_func_IRONBALL();
|
||||
void item_func_LENS_OF_TRUTH();
|
||||
void item_func_GHOST_LANTERN();
|
||||
void item_func_BOW();
|
||||
void item_func_HOOKSHOT();
|
||||
void item_func_HVY_BOOTS();
|
||||
@@ -261,7 +261,7 @@ int item_getcheck_func_WOOD_STICK();
|
||||
int item_getcheck_func_BOOMERANG();
|
||||
int item_getcheck_func_SPINNER();
|
||||
int item_getcheck_func_IRONBALL();
|
||||
int item_getcheck_func_LENS_OF_TRUTH();
|
||||
int item_getcheck_func_GHOST_LANTERN();
|
||||
int item_getcheck_func_BOW();
|
||||
int item_getcheck_func_HOOKSHOT();
|
||||
int item_getcheck_func_HVY_BOOTS();
|
||||
|
||||
@@ -317,7 +317,7 @@ enum {
|
||||
/* 0xDE */ dItemNo_NOENTRY_222_e,
|
||||
/* 0xDF */ dItemNo_NOENTRY_223_e,
|
||||
/* 0xE0 */ dItemNo_POU_SPIRIT_e,
|
||||
/* 0xE1 */ dItemNo_LENS_OF_TRUTH_e,
|
||||
/* 0xE1 */ dItemNo_GHOST_LANTERN_e,
|
||||
/* 0xE2 */ dItemNo_NOENTRY_226_e,
|
||||
/* 0xE3 */ dItemNo_NOENTRY_227_e,
|
||||
/* 0xE4 */ dItemNo_NOENTRY_228_e,
|
||||
|
||||
+4
-5
@@ -15,7 +15,7 @@ static const int MAX_SELECT_ITEM = 4;
|
||||
static const int SELECT_ITEM_NUM = 2;
|
||||
static const int MAX_EQUIPMENT = 6;
|
||||
static const int MAX_EVENTS = 256;
|
||||
static const int MAX_ITEM_SLOTS = 25;
|
||||
static const int MAX_ITEM_SLOTS = 24;
|
||||
static const int LIGHT_DROP_STAGE = 4;
|
||||
static const int LETTER_INFO_BIT = 64;
|
||||
static const int MAX_INSECT_NUM = 24;
|
||||
@@ -75,8 +75,7 @@ enum ItemSlots {
|
||||
/* 0x14 */ SLOT_20,
|
||||
/* 0x15 */ SLOT_21,
|
||||
/* 0x16 */ SLOT_22,
|
||||
/* 0x17 */ SLOT_23,
|
||||
/* 0x18 */ SLOT_24,
|
||||
/* 0x17 */ SLOT_23
|
||||
};
|
||||
|
||||
enum CollectItem {
|
||||
@@ -350,8 +349,8 @@ public:
|
||||
static const int BOMB_BAG_MAX = 3;
|
||||
static const int BOTTLE_MAX = 4;
|
||||
|
||||
/* 0x00 */ u8 mItems[25];
|
||||
/* 0x18 */ u8 mItemSlots[25];
|
||||
/* 0x00 */ u8 mItems[24];
|
||||
/* 0x18 */ u8 mItemSlots[24];
|
||||
}; // Size: 0x30
|
||||
|
||||
class dSv_player_get_item_c {
|
||||
|
||||
Reference in New Issue
Block a user