mirror of
https://github.com/zeldaret/tmc
synced 2026-08-18 21:48:21 -04:00
collapse TUs
This commit is contained in:
@@ -1,6 +1,22 @@
|
||||
#include "global.h"
|
||||
#include "functions.h"
|
||||
|
||||
extern void sub_08000152(u32);
|
||||
extern void sub_0807B778(u32, u32);
|
||||
|
||||
void sub_0807B7D8(u32 param_1, u32 param_2, u32 param_3) {
|
||||
if (param_1 == 53) {
|
||||
sub_08000152(53);
|
||||
sub_0807B778(param_2, param_3);
|
||||
sub_0807B778(param_2 + 1, param_3);
|
||||
sub_0807B778(param_2 + -1, param_3);
|
||||
sub_0807B778(param_2 + 64, param_3);
|
||||
sub_0807B778(param_2 + -64, param_3);
|
||||
} else {
|
||||
SetTileType(param_1, param_2, param_3);
|
||||
}
|
||||
}
|
||||
|
||||
void sub_0807B820(u32 param_1) {
|
||||
SetTileType(620, param_1 + -65, 1);
|
||||
SetTileType(627, param_1 + -65, 2);
|
||||
@@ -12,3 +28,28 @@ void sub_0807B820(u32 param_1) {
|
||||
SetTileType(624, param_1, 1);
|
||||
SetTileType(626, param_1 + 1, 1);
|
||||
}
|
||||
|
||||
void sub_0807B8A8(u32 param_1) {
|
||||
SetTileType(636, param_1 + -65, 1);
|
||||
SetTileType(643, param_1 + -65, 2);
|
||||
SetTileType(637, param_1 + -64, 1);
|
||||
SetTileType(644, param_1 + -64, 2);
|
||||
SetTileType(638, param_1 + -63, 1);
|
||||
SetTileType(645, param_1 + -63, 2);
|
||||
SetTileType(639, param_1 + -1, 1);
|
||||
SetTileType(640, param_1, 1);
|
||||
SetTileType(642, param_1 + 1, 1);
|
||||
}
|
||||
|
||||
|
||||
void sub_0807B930(int param_1) {
|
||||
SetTileType(652, param_1 + -65, 1);
|
||||
SetTileType(659, param_1 + -65, 2);
|
||||
SetTileType(653, param_1 + -64, 1);
|
||||
SetTileType(660, param_1 + -64, 2);
|
||||
SetTileType(654, param_1 + -63, 1);
|
||||
SetTileType(661, param_1 + -63, 2);
|
||||
SetTileType(655, param_1 + -1, 1);
|
||||
SetTileType(656, param_1, 1);
|
||||
SetTileType(658, param_1 + 1, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user