From f66f4d51c78274e7aec80cf303a70fb97bdc8e3a Mon Sep 17 00:00:00 2001 From: yenatch Date: Sat, 12 Apr 2014 15:45:40 -0400 Subject: Replace static bank 0 calls in the event scripting engine. --- engine/scripting.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine') diff --git a/engine/scripting.asm b/engine/scripting.asm index 21feaf5d2..4886327ca 100644 --- a/engine/scripting.asm +++ b/engine/scripting.asm @@ -519,7 +519,7 @@ Script_interpretmenu2: ; 0x96f30 ; script command 0x59 ld a, [ScriptBank] - ld hl, $1d81 + ld hl, Function1d81 rst FarCall ld a, [$cfa9] jr nc, .asm_96f3d ; 0x96f3a $1 @@ -533,7 +533,7 @@ Script_interpretmenu: ; 0x96f41 ; script command 0x58 ld a, [ScriptBank] - ld hl, $202a + ld hl, Function202a rst FarCall ld a, [$cf88] jr nc, .asm_96f4e ; 0x96f4b $1 @@ -2284,7 +2284,7 @@ Script_stringtotext: ; 0x9777d call GetScriptByte ld d, a ld a, [ScriptBank] - ld hl, $30d6 + ld hl, CopyName1 rst FarCall ld de, StringBuffer2 jp Unknown_976c0 -- cgit v1.2.3 From 113dd395d246de4f15f9a9ebe6124ce8d54cdaa1 Mon Sep 17 00:00:00 2001 From: yenatch Date: Sun, 13 Apr 2014 00:03:21 -0400 Subject: Include palette 0 in PokemonPalettes. Now PokemonPalettes is referenced. --- engine/color.asm | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'engine') diff --git a/engine/color.asm b/engine/color.asm index 0fd85de15..fbbc45144 100644 --- a/engine/color.asm +++ b/engine/color.asm @@ -1927,16 +1927,9 @@ Palettes_a8be: ; a8be Palettes_a8ca: ; a8ca RGB 30, 26, 15 RGB 04, 17, 31 +; a8ce -Palettes_a8ce: ; a8ce - RGB 30, 22, 17 - RGB 16, 14, 19 - - RGB 30, 22, 17 - RGB 16, 14, 19 -; a8d6 - -; a8d6 +; a8ce INCLUDE "gfx/pics/palette_pointers.asm" ; b0ce -- cgit v1.2.3