mirror of
https://github.com/zeldaret/tmc
synced 2026-09-03 18:23:34 -04:00
Extract KeyValuePairs
This commit is contained in:
@@ -15,8 +15,6 @@
|
||||
u32 sub_0805BFC4(u32, u32);
|
||||
void sub_0805C02C(BombableWallManager*);
|
||||
|
||||
extern u32 sub_080B1AE0(u16, u8);
|
||||
|
||||
u32 getArchwayType(void);
|
||||
void BombableWallManager_Init(BombableWallManager*);
|
||||
void BombableWallManager_Action1(BombableWallManager*);
|
||||
@@ -47,7 +45,7 @@ void BombableWallManager_Init(BombableWallManager* this) {
|
||||
}
|
||||
|
||||
void BombableWallManager_Action1(BombableWallManager* this) {
|
||||
if (sub_080B1AE0(this->tile, this->field_0x35) != 0x2e) {
|
||||
if (GetVvvAtMetaTilePos(this->tile, this->field_0x35) != 0x2e) {
|
||||
super->action = 2;
|
||||
super->timer = 90;
|
||||
sub_0805C02C(this);
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
#include "room.h"
|
||||
#include "sound.h"
|
||||
|
||||
extern u32 sub_080B1AC8(u16, u16, u8);
|
||||
|
||||
bool32 PortalReadyForMinish(void);
|
||||
|
||||
void MinishPortalManager_Main(MinishPortalManager* this) {
|
||||
@@ -43,7 +41,7 @@ void MinishPortalManager_Main(MinishPortalManager* this) {
|
||||
gArea.portal_mode = 3;
|
||||
}
|
||||
}
|
||||
if (sub_080B1AC8(this->unk_38, this->unk_3a, super->timer) == 0x3d) {
|
||||
if (GetVvvAtRoomCoords(this->unk_38, this->unk_3a, super->timer) == 0x3d) {
|
||||
CreateMagicSparkles(this->unk_38 + gRoomControls.origin_x, this->unk_3a + gRoomControls.origin_y,
|
||||
super->timer);
|
||||
if (super->subtimer == 0) {
|
||||
|
||||
Reference in New Issue
Block a user