summaryrefslogtreecommitdiff
path: root/engine/pokedex
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-17 17:03:38 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-06-17 17:03:38 -0400
commitcc460a17b0b99208592ca31de99f526fce2bf5ad (patch)
treefb9c860aa0a578e43e8ccf56c16fcef40101ee04 /engine/pokedex
parentbe93ab33a752fe0360c3b23dd4f33e1b0a05bf0e (diff)
Harmonize engine/{movie, pokemon} with pokegold (renames GetSRAMBank to OpenSRAM)
To do: engine/{menus, overworld}
Diffstat (limited to 'engine/pokedex')
-rw-r--r--engine/pokedex/pokedex.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/pokedex/pokedex.asm b/engine/pokedex/pokedex.asm
index a98871828..245cbf11f 100644
--- a/engine/pokedex/pokedex.asm
+++ b/engine/pokedex/pokedex.asm
@@ -2362,7 +2362,7 @@ Pokedex_LoadSelectedMonTiles:
.QuestionMark:
ld a, BANK(sScratch)
- call GetSRAMBank
+ call OpenSRAM
farcall LoadQuestionMarkPic
ld hl, vTiles2
ld de, sScratch
@@ -2478,7 +2478,7 @@ Pokedex_CheckSGB:
Pokedex_LoadUnownFont:
ld a, BANK(sScratch)
- call GetSRAMBank
+ call OpenSRAM
ld hl, UnownFont
ld de, sScratch + $188
ld bc, 39 tiles