Idk if my code will work but its wayy shorter..
Remove All Items In House (Select+B):
1.1:
Code:
94000130 FFF90000
023FF090 012FFF11
E0000000 00000024
E28F2001 E12FFF12
4A044C03 52224804
D5FC3802 00004770
021E5970 0000FFF1
0000122C 00000000
023FF090 E3520003
D2000000 00000000
1.0:
Code:
94000130 FFF90000
023FF090 012FFF11
E0000000 00000024
E28F2001 E12FFF12
4A044C03 52224804
D5FC3802 00004770
021E53F0 0000FFF1
0000122C 00000000
023FF090 E3520003
D2000000 00000000
It may/may not work since when going to another room you add (I think 0x450) and continue incrementing by 0x2
Anyway, heres the asm source too:
Code:
First Slot 1.0: 0x21E53F0
First Slot 1.1: 0x21E5970
Last Slot 1.0: 0x21E661C
Last Slot 1.1: 0x21E6B9C
021E5970[#35543408]
021E6B9C[#35548060]
Difference: 0x122C[#4652]
ASM Source:
@Convert To Thumb
add r2,pc,#1
bx r2
.thumb
ldr r4, HouseSlot
ldrh r2, Clear
ldrh r0,=0x122C
HouseLoop:
strh r2, [r4,r0]
sub r0, r0, #0x2
bpl HouseLoop
bx lr
.arm
HouseSlot:
.word 0x21E5970
Clear:
.hword 0xFFF1