Skip to content

Commit

Permalink
Add DEFEAT_ITEM_LOSS_CHANCE literal
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostbyte0x70 committed Sep 22, 2024
1 parent f734235 commit b052ff5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions headers/data/literals.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ extern const struct data_processing_instruction PARTNER_START_LEVEL;
// Overlay 0
extern const struct data_processing_instruction TOP_MENU_MUSIC_ID;

// Overlay 10
extern const struct data_processing_instruction DEFEAT_ITEM_LOSS_CHANCE;

// Overlay 29
extern const struct data_processing_instruction NECTAR_IQ_BOOST;
extern const struct data_processing_instruction COMPRESSED_SPRITE_BUFFER_SIZE;
Expand Down
7 changes: 6 additions & 1 deletion symbols/literals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,12 @@ overlay10:
JP: 0x1F6A0
description: Hard-coded immediate values (literals) in instructions within overlay 10.
functions: []
data: []
data:
- name: DEFEAT_ITEM_LOSS_CHANCE
address:
EU: 0x22C3560
NA: 0x22C2C08
description: Chance of losing each individual bag item after being defeated in a dungeon (50%).
overlay11:
versions:
- EU
Expand Down

0 comments on commit b052ff5

Please sign in to comment.