diff --git a/data/data_8107010.s b/data/data_8107010.s index 3100ca838..db006ceba 100644 --- a/data/data_8107010.s +++ b/data/data_8107010.s @@ -3,9 +3,6 @@ .align 2 -@ ??? -.string "pksdir0\0" -@ ??? .string "pksdir0\0" @ ??? .string "pksdir0\0" diff --git a/ld_script.txt b/ld_script.txt index 65c8dd9f7..7b82c06ed 100755 --- a/ld_script.txt +++ b/ld_script.txt @@ -618,6 +618,7 @@ SECTIONS { src/weather.o(.rodata); src/dungeon_kecleon_shop.o(.rodata); src/hurl_orb.o(.rodata); + src/trap.o(.rodata); data/data_8107010.o(.rodata); src/dungeon_serializer.o(.rodata); data/data_8107224.o(.rodata); diff --git a/src/trap.c b/src/trap.c index 718d9589f..5da4a52ba 100644 --- a/src/trap.c +++ b/src/trap.c @@ -1,4 +1,5 @@ #include "global.h" +#include "globaldata.h" #include "trap.h" #include "code_803E668.h" #include "code_803E724.h"