ref: 846e3e65de52b9cd09df75cc72da198f8b3d9140
parent: 9afacc7842a733770ec73893bb6c14d434c828e7
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun May 20 13:55:27 EDT 2018
adc a, 0 → adc 0; fix comments
--- a/audio/engine.asm
+++ b/audio/engine.asm
@@ -1775,7 +1775,7 @@
swap a
srl a ; halve
ld e, a
- adc a, 0; round up
+ adc 0 ; round up
swap a
or e
ld [hl], a
--- a/engine/pokemon/bills_pc_top.asm
+++ b/engine/pokemon/bills_pc_top.asm
@@ -96,9 +96,9 @@
dw BillsPC_SeeYa
.items ; e4c4
- db 5
+ db 5 ; # items
db 0 ; WITHDRAW
- db 1; DEPOSIT
+ db 1 ; DEPOSIT
db 2 ; CHANGE BOX
db 3 ; MOVE PKMN
db 4 ; SEE YA!
--- a/home/copy2.asm
+++ b/home/copy2.asm
@@ -1,7 +1,7 @@
CopyBytes:: ; 0x3026
; copy bc bytes from hl to de
- inc b ; we bail the moment b hits 0, so include the last run
- inc c ; same thing; include last byte
+ inc b ; we bail the moment b hits 0, so include the last run
+ inc c ; same thing; include last byte
jr .HandleLoop
.CopyByte:
ld a, [hli]
@@ -39,8 +39,8 @@
ByteFill:: ; 0x3041
; fill bc bytes with the value of a, starting at hl
- inc b ; we bail the moment b hits 0, so include the last run
- inc c ; same thing; include last byte
+ inc b ; we bail the moment b hits 0, so include the last run
+ inc c ; same thing; include last byte
jr .HandleLoop
.PutByte:
ld [hli], a