|
@@ -81,7 +81,7 @@ extern pchar name_rival_female[5];
|
81
|
81
|
/* === STATICS === */
|
82
|
82
|
|
83
|
83
|
static special_func special_routines[10] = {
|
84
|
|
- met_play, cam_sp_move_camera, sp_init_script, NULL, sp_dns_switch,
|
|
84
|
+ met_play, cam_sp_move_camera, sp_init_script, NULL, NULL,
|
85
|
85
|
sp_random_number, sp_check_tileset, sp_batchmaptile, sp_crystal_fade, sp_set_rival,
|
86
|
86
|
};
|
87
|
87
|
|
|
@@ -95,12 +95,6 @@ void sp_set_rival(void) {
|
95
|
95
|
}
|
96
|
96
|
}
|
97
|
97
|
|
98
|
|
-void sp_dns_switch() {
|
99
|
|
- volatile u8 *test_pointer = (u8 *)(0x0203FAB0);
|
100
|
|
- *(test_pointer + 1) = (*(test_pointer + 1) == 3 ? 0 : (*(test_pointer + 1)) + 1);
|
101
|
|
- *test_pointer = 1;
|
102
|
|
-}
|
103
|
|
-
|
104
|
98
|
void sp_init_script() {
|
105
|
99
|
for (u16 i = 0x1000; i < 0x1800; ++i)
|
106
|
100
|
flag_clear(i);
|