summaryrefslogtreecommitdiff
path: root/src/weather.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-12-04 03:35:28 -0800
committerYamaArashi <shadow962@live.com>2016-12-04 03:35:28 -0800
commit087d746c8bf066013a42f450d77abb39f81b9abb (patch)
tree152aa79f924fa71355f30a712753aebba5e56653 /src/weather.c
parent4ceea5913e430464ccde4ac17b050a8faff5f97c (diff)
parent97f58f823c6cfc031e48fd30d84bcbfeb667c881 (diff)
Merge branch 'clean/warnings-1' of https://github.com/marijnvdwerf/pokeruby into marijnvdwerf-clean/warnings-1
Diffstat (limited to 'src/weather.c')
-rw-r--r--src/weather.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weather.c b/src/weather.c
index 90831f014..5cd8257e5 100644
--- a/src/weather.c
+++ b/src/weather.c
@@ -67,7 +67,7 @@ void sub_807C828(void) {
index = AllocSpritePalette(0x1200);
CpuSet(&gUnknown_083970E8,
&gPlttBufferUnfaded[0x100 + index * 16],
- &REG_BG0CNT);
+ CPU_SET_32BIT | 8);
sub_807CB10();
gWeather.unknown_6D5 = index;
gWeather.unknown_6D4 = AllocSpritePalette(0x1201);