diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-05 10:51:02 -0500 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-05 10:51:02 -0500 |
| commit | 6fe56af2cd63abaf30040cc5031e3db5358cf638 (patch) | |
| tree | b024aa8480912ebf2667184068466ee7f354012c /home/hidden_objects.asm | |
| parent | Merge pull request #59 from Rangi42/master (diff) | |
| download | pokeyellow-6fe56af2cd63abaf30040cc5031e3db5358cf638.tar.gz pokeyellow-6fe56af2cd63abaf30040cc5031e3db5358cf638.tar.xz pokeyellow-6fe56af2cd63abaf30040cc5031e3db5358cf638.zip | |
Organize home and macro code
Diffstat (limited to 'home/hidden_objects.asm')
| -rw-r--r-- | home/hidden_objects.asm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/home/hidden_objects.asm b/home/hidden_objects.asm index 40c49c3e..0003022b 100644 --- a/home/hidden_objects.asm +++ b/home/hidden_objects.asm @@ -9,7 +9,9 @@ CheckForHiddenObjectOrBookshelfOrCardKeyDoor:: bit 0, a ; A button jr z, .nothingFound ; A button is pressed - callbs CheckForHiddenObject + ld a, BANK(CheckForHiddenObject) + call BankswitchCommon + call CheckForHiddenObject ldh a, [hDidntFindAnyHiddenObject] and a jr nz, .hiddenObjectNotFound |
