diff options
| author | dannye <33dannye@gmail.com> | 2026-01-17 22:38:33 -0600 |
|---|---|---|
| committer | dannye <33dannye@gmail.com> | 2026-01-17 22:38:33 -0600 |
| commit | bc2354dd6626ce28bb9561547ed2107cfa56c18e (patch) | |
| tree | 5902d4c3389253c76b7c3351e0d7dfecb551c28d /home/hidden_objects.asm | |
| parent | Identify characters in `_OakSpeechText2B` and `Printer_GetMonStats.IDNo` (#144) (diff) | |
| parent | Use macros for `WildMonEncounterSlotChances` (#562) (diff) | |
| download | pokeyellow-bc2354dd6626ce28bb9561547ed2107cfa56c18e.tar.gz pokeyellow-bc2354dd6626ce28bb9561547ed2107cfa56c18e.tar.xz pokeyellow-bc2354dd6626ce28bb9561547ed2107cfa56c18e.zip | |
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'home/hidden_objects.asm')
| -rw-r--r-- | home/hidden_objects.asm | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/home/hidden_objects.asm b/home/hidden_objects.asm deleted file mode 100644 index c1e1c9d3..00000000 --- a/home/hidden_objects.asm +++ /dev/null @@ -1,37 +0,0 @@ -UpdateCinnabarGymGateTileBlocks:: - farcall UpdateCinnabarGymGateTileBlocks_ - ret - -CheckForHiddenObjectOrBookshelfOrCardKeyDoor:: - ldh a, [hLoadedROMBank] - push af - ldh a, [hJoyHeld] - bit B_PAD_A, a - jr z, .nothingFound -; A button is pressed - ld a, BANK(CheckForHiddenObject) - call BankswitchCommon - call CheckForHiddenObject - ldh a, [hDidntFindAnyHiddenObject] - and a - jr nz, .hiddenObjectNotFound - xor a - ldh [hItemAlreadyFound], a - ld a, [wHiddenObjectFunctionRomBank] - call BankswitchCommon - call JumpToAddress - ldh a, [hItemAlreadyFound] - jr .done -.hiddenObjectNotFound - predef GetTileAndCoordsInFrontOfPlayer - farcall PrintBookshelfText - ldh a, [hInteractedWithBookshelf] - and a - jr z, .done -.nothingFound - ld a, $ff -.done - ldh [hItemAlreadyFound], a - pop af - call BankswitchCommon - ret |
