mirror of https://github.com/pret/pokecrystal.git
Every diff line starts with +, -, or space
This commit is contained in:
parent
366330e981
commit
e346cc7b41
|
@ -161,12 +161,12 @@ Modify `GetFrontpicPointer`:
|
|||
ld d, BANK(PokemonPicPointers)
|
||||
jr .ok
|
||||
|
||||
.unown
|
||||
.unown
|
||||
ld a, [wUnownLetter]
|
||||
+ ld hl, UnownPicPointers
|
||||
ld d, BANK(UnownPicPointers)
|
||||
|
||||
.ok
|
||||
.ok
|
||||
- ld hl, PokemonPicPointers ; UnownPicPointers
|
||||
dec a
|
||||
ld bc, 6
|
||||
|
@ -175,7 +175,7 @@ Modify `GetFrontpicPointer`:
|
|||
|
||||
And `GetMonBackpic`:
|
||||
|
||||
```asm
|
||||
```diff
|
||||
- ; These are assumed to be at the same address in their respective banks.
|
||||
- ld hl, PokemonPicPointers ; UnownPicPointers
|
||||
ld a, b
|
||||
|
@ -186,7 +186,7 @@ And `GetMonBackpic`:
|
|||
ld a, c
|
||||
+ ld hl, UnownPicPointers
|
||||
ld d, BANK(UnownPicPointers)
|
||||
.ok
|
||||
.ok
|
||||
dec a
|
||||
ld bc, 6
|
||||
call AddNTimes
|
||||
|
@ -359,8 +359,8 @@ Move `ITEM_C3` and `ITEM_DC` above all the TMs in every table of item data.
|
|||
Modify engine/items/items.asm:
|
||||
|
||||
```diff
|
||||
GetTMHMNumber::
|
||||
; Return the number of a TM/HM by item id c.
|
||||
GetTMHMNumber::
|
||||
; Return the number of a TM/HM by item id c.
|
||||
ld a, c
|
||||
-; Skip any dummy items.
|
||||
- cp ITEM_C3 ; TM04-05
|
||||
|
@ -376,8 +376,8 @@ GetTMHMNumber::
|
|||
ld c, a
|
||||
ret
|
||||
|
||||
GetNumberedTMHM:
|
||||
; Return the item id of a TM/HM by number c.
|
||||
GetNumberedTMHM:
|
||||
; Return the item id of a TM/HM by number c.
|
||||
ld a, c
|
||||
-; Skip any gaps.
|
||||
- cp ITEM_C3 - (TM01 - 1)
|
||||
|
|
Loading…
Reference in New Issue