diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-21 11:18:32 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-21 11:18:32 -0400 |
commit | 7faef5b8cfaf4ef953feaf3e69ea085f3da1d5d0 (patch) | |
tree | 1a26f2020476aa29bc7b930a7136bf9af090c63d | |
parent | d8c57580dbc0fc98f1275294a1c0fa115888f3ec (diff) |
GetSRAMBank → OpenSRAM
-rw-r--r-- | Add-a-new-Unown-form.md | 2 | ||||
-rw-r--r-- | Allow-more-trainer-parties,-with-individual-DVs,-stat-experience,-and-nicknames.md | 4 | ||||
-rw-r--r-- | Increase-Pokémon-sprite-animation-size.md | 2 | ||||
-rw-r--r-- | Useful-unused-data-and-routines.md | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/Add-a-new-Unown-form.md b/Add-a-new-Unown-form.md index b9a4dff..ba339af 100644 --- a/Add-a-new-Unown-form.md +++ b/Add-a-new-Unown-form.md @@ -476,7 +476,7 @@ Edit [engine/pokedex/pokedex.asm](../blob/master/engine/pokedex/pokedex.asm): Pokedex_LoadUnownFont: ld a, BANK(sScratch) - call GetSRAMBank + call OpenSRAM ld hl, UnownFont ld de, sScratch + $188 ld bc, 39 tiles diff --git a/Allow-more-trainer-parties,-with-individual-DVs,-stat-experience,-and-nicknames.md b/Allow-more-trainer-parties,-with-individual-DVs,-stat-experience,-and-nicknames.md index c087eb2..f52a890 100644 --- a/Allow-more-trainer-parties,-with-individual-DVs,-stat-experience,-and-nicknames.md +++ b/Allow-more-trainer-parties,-with-individual-DVs,-stat-experience,-and-nicknames.md @@ -99,7 +99,7 @@ Edit [engine/battle/read_trainer_party.asm](../blob/master/engine/battle/read_tr .cal2 ld a, BANK(sMysteryGiftTrainer) - call GetSRAMBank + call OpenSRAM + ld a, TRAINERTYPE_MOVES + ld [wOtherTrainerType], a ld de, sMysteryGiftTrainer @@ -930,7 +930,7 @@ Edit [engine/battle/read_trainer_party.asm](../blob/master/engine/battle/read_tr .cal2 ld a, BANK(sMysteryGiftTrainer) - call GetSRAMBank + call OpenSRAM ld a, TRAINERTYPE_MOVES ld [wOtherTrainerType], a ld de, sMysteryGiftTrainer diff --git a/Increase-Pokémon-sprite-animation-size.md b/Increase-Pokémon-sprite-animation-size.md index df3c105..a6aaeb0 100644 --- a/Increase-Pokémon-sprite-animation-size.md +++ b/Increase-Pokémon-sprite-animation-size.md @@ -129,7 +129,7 @@ Edit [engine/gfx/load_pics.asm](../blob/master/engine/gfx/load_pics.asm): ```diff _GetFrontpic: + ld a, BANK(sEnemyFrontpicTileCount) -+ call GetSRAMBank ++ call OpenSRAM push de call GetBaseData ld a, [wBasePicSize] diff --git a/Useful-unused-data-and-routines.md b/Useful-unused-data-and-routines.md index 3ac5a85..d2f8230 100644 --- a/Useful-unused-data-and-routines.md +++ b/Useful-unused-data-and-routines.md @@ -25,7 +25,7 @@ The initial script where you get the GS Ball is in [maps/GoldenrodPokecenter1F.a ```asm EnableGSBallScene: ld a, BANK(sMobileEventIndex) - call GetSRAMBank + call OpenSRAM ld a, MOBILE_EVENT_OBJECT_GS_BALL ld [sMobileEventIndex], a jp CloseSRAM |