Bug docs match code

This commit is contained in:
Rangi
2018-03-04 02:29:39 -05:00
parent 7e9dbde549
commit 159a0ef7b4

View File

@@ -903,18 +903,20 @@ StartTrainerBattle_DetermineWhichAnimation: ; 8c365 (23:4365)
([Video](https://www.youtube.com/watch?v=iHkWubvxmSg)) ([Video](https://www.youtube.com/watch?v=iHkWubvxmSg))
This is a bug with `HallOfFame` in [engine/events/halloffame.asm](/engine/events/halloffame.asm): This is a bug with `_HallOfFamePC.DisplayMonAndStrings` in [engine/events/halloffame.asm](/engine/events/halloffame.asm):
```asm ```asm
ld hl, wHallOfFameCount ld a, [wHallOfFameTempWinCount]
ld a, [hl] cp HOF_MASTER_COUNT + 1 ; should be HOF_MASTER_COUNT
cp HOF_MASTER_COUNT - 1 ; should be HOF_MASTER_COUNT jr c, .print_num_hof
jr nc, .ok ld de, .HOFMaster
inc [hl] hlcoord 1, 2
.ok call PlaceString
hlcoord 13, 2
jr .finish
``` ```
**Fix:** Change `HOF_MASTER_COUNT - 1` to `HOF_MASTER_COUNT`. **Fix:** Change `HOF_MASTER_COUNT + 1` to `HOF_MASTER_COUNT`.
## Slot machine payout sound effects cut each other off ## Slot machine payout sound effects cut each other off