summaryrefslogtreecommitdiff
path: root/docs/design_flaws.md
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-01-09 15:16:05 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-01-09 15:16:05 -0500
commit7d3ea88611efbc2f9b903063e2816b1cae1bad35 (patch)
tree7475d498e4a1695aefd4a7e3356e735a51245d35 /docs/design_flaws.md
parentf773fd1dd89782eb1e92b850c7409a8d8be37651 (diff)
Rename GetFarHalfword to GetFarWord
Fixes #796
Diffstat (limited to 'docs/design_flaws.md')
-rw-r--r--docs/design_flaws.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/design_flaws.md b/docs/design_flaws.md
index 620e5b8af..f01385948 100644
--- a/docs/design_flaws.md
+++ b/docs/design_flaws.md
@@ -586,7 +586,7 @@ Edit [engine/items/item_effects.asm](https://github.com/pret/pokecrystal/blob/ma
+ push af
+ inc hl
ld a, BANK(PokedexDataPointerTable)
- call GetFarHalfword
+ call GetFarWord
+ pop de
.SkipText:
@@ -602,7 +602,7 @@ Edit [engine/items/item_effects.asm](https://github.com/pret/pokecrystal/blob/ma
push bc
inc hl
inc hl
- call GetFarHalfword
+ call GetFarWord
```
And edit [engine/pokegear/radio.asm](https://github.com/pret/pokecrystal/blob/master/engine/pokegear/radio.asm):
@@ -624,7 +624,7 @@ And edit [engine/pokegear/radio.asm](https://github.com/pret/pokecrystal/blob/ma
+ inc hl
+ ; hl = address
ld a, BANK(PokedexDataPointerTable)
- call GetFarHalfword
+ call GetFarWord
- call PokedexShow_GetDexEntryBank
+ ld a, b
push af