80ffaa5e2c
* Expanded the amount of max items per stack from 99 to 999 * Set Battle Pyramid Bag stack limit back to 99 This commit exists for archival purposes. People who may want to set the limit of item stacks in the Battle Pyramid's bag to 999 can refer to its code diff. * Reintroduced the Battle Pyramid changes through a MAX_PYRAMID_BAG_ITEM_CAPACITY constant * Gave 3 digit support to the Battle Pyramid's bag * Rewrote the comment for MAX_PYRAMID_BAG_ITEM_CAPACITY * Made DebugAction_Give_Item_SelectQuantity use MAX_ITEM_DIGITS * Ditched BERRY_CAPACITY_DIGITS and BAG_ITEM_CAPACITY_DIGITS * Removed MAX_BERRY_CAPACITY No point in keeping it if we're making all item stacks cap at 999. * Applied review corrections * Removed pointless local var in DebugAction_Give_Item_SelectQuantity * Defined a MAX_PYRAMID_ITEM_DIGITS * Cleaned up some of the functions in which MAX_ITEM_DIGITS is used Summary: -Removed pointless local variables in CheckBagHasSpace, AddBagItem, PrintItemQuantity and PrintItemSoldAmount. -Removed pointless brackets in an if statement of CheckBagHasSpace. -Initialized the pocket local variable of CheckBagHasSpace from the get go to save a few lines too. --------- Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com> |
||
---|---|---|
.. | ||
abilities.h | ||
apprentice.h | ||
battle.h | ||
battle_ai.h | ||
battle_anim.h | ||
battle_anim_scripts.h | ||
battle_arena.h | ||
battle_dome.h | ||
battle_factory.h | ||
battle_frontier.h | ||
battle_frontier_mons.h | ||
battle_frontier_trainers.h | ||
battle_move_effects.h | ||
battle_palace.h | ||
battle_partner.h | ||
battle_pike.h | ||
battle_pyramid.h | ||
battle_script_commands.h | ||
battle_setup.h | ||
battle_string_ids.h | ||
battle_tent.h | ||
battle_tent_mons.h | ||
battle_tent_trainers.h | ||
battle_tower.h | ||
battle_z_move_effects.h | ||
berry.h | ||
cable_club.h | ||
coins.h | ||
contest.h | ||
cries.h | ||
daycare.h | ||
decorations.h | ||
easy_chat.h | ||
event_bg.h | ||
event_object_movement.h | ||
event_objects.h | ||
expansion.h | ||
field_effects.h | ||
field_poison.h | ||
field_specials.h | ||
field_tasks.h | ||
field_weather.h | ||
flags.h | ||
form_change_types.h | ||
frontier_util.h | ||
game_stat.h | ||
global.h | ||
heal_locations.h | ||
hold_effects.h | ||
item.h | ||
item_effects.h | ||
items.h | ||
layouts.h | ||
lilycove_lady.h | ||
map_groups.h | ||
map_scripts.h | ||
map_types.h | ||
maps.h | ||
mauville_old_man.h | ||
metatile_behaviors.h | ||
metatile_labels.h | ||
moves.h | ||
mystery_gift.h | ||
opponents.h | ||
party_menu.h | ||
pokedex.h | ||
pokemon.h | ||
pokemon_debug.h | ||
region_map_sections.h | ||
rgb.h | ||
roulette.h | ||
script_menu.h | ||
secret_bases.h | ||
slot_machine.h | ||
songs.h | ||
sound.h | ||
species.h | ||
tms_hms.h | ||
trade.h | ||
trainer_hill.h | ||
trainer_types.h | ||
trainers.h | ||
tv.h | ||
union_room.h | ||
vars.h | ||
weather.h | ||
wild_encounter.h |