Some script clean up, document secret base secrets show
This commit is contained in:
+2
-1
@@ -14,6 +14,7 @@
|
||||
#include "battle_pyramid_bag.h"
|
||||
#include "constants/items.h"
|
||||
#include "constants/hold_effects.h"
|
||||
#include "constants/tv.h"
|
||||
|
||||
extern u16 gUnknown_0203CF30[];
|
||||
|
||||
@@ -542,7 +543,7 @@ bool8 RemoveBagItem(u16 itemId, u16 count)
|
||||
|
||||
if (CurMapIsSecretBase() == TRUE)
|
||||
{
|
||||
VarSet(VAR_SECRET_BASE_LOW_TV_FLAGS, VarGet(VAR_SECRET_BASE_LOW_TV_FLAGS) | 0x200);
|
||||
VarSet(VAR_SECRET_BASE_LOW_TV_FLAGS, VarGet(VAR_SECRET_BASE_LOW_TV_FLAGS) | SECRET_BASE_USED_BAG);
|
||||
VarSet(VAR_SECRET_BASE_LAST_ITEM_USED, itemId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user