Skip to content

Commit

Permalink
Split and document some game asm files
Browse files Browse the repository at this point in the history
  • Loading branch information
JaceCear committed Dec 29, 2024
1 parent c41cc71 commit 497487a
Show file tree
Hide file tree
Showing 32 changed files with 28,670 additions and 28,479 deletions.
4 changes: 2 additions & 2 deletions asm/enemy_buzzer.s
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ CreateEntity_Buzzer: @ 0x0801DC84
lsrs r0, r0, #1
cmp r0, #0
bne _0801DCB6
ldr r0, _0801DDB8 @ =gUnknown_03005160
ldr r0, _0801DDB8 @ =gLoadedSaveGame
ldrb r0, [r0, #0x18]
cmp r0, #0
bne _0801DDA2
Expand Down Expand Up @@ -160,7 +160,7 @@ _0801DDA2:
bx r0
.align 2, 0
_0801DDB4: .4byte gCurrentLevel
_0801DDB8: .4byte gUnknown_03005160
_0801DDB8: .4byte gLoadedSaveGame
_0801DDBC: .4byte Task_BuzzerMain
_0801DDC0: .4byte TaskDestructor_8009670
_0801DDC4: .4byte 0x0300000C
Expand Down
4 changes: 2 additions & 2 deletions asm/enemy_leon.s
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CreateEntity_Leon: @ 0x0806E990
asrs r0, r0, #0x19
cmp r0, #4
bne _0806E9C4
ldr r0, _0806EA8C @ =gUnknown_03005160
ldr r0, _0806EA8C @ =gLoadedSaveGame
ldrb r0, [r0, #0x18]
cmp r0, #0
bne _0806EA76
Expand Down Expand Up @@ -131,7 +131,7 @@ _0806EA76:
bx r0
.align 2, 0
_0806EA88: .4byte gCurrentLevel
_0806EA8C: .4byte gUnknown_03005160
_0806EA8C: .4byte gLoadedSaveGame
_0806EA90: .4byte sub_806EAB8
_0806EA94: .4byte TaskDestructor_8009670
_0806EA98: .4byte 0x0300000C
Expand Down
4 changes: 2 additions & 2 deletions asm/enemy_mirror.s
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CreateEntity_Mirror: @ 0x0806FAB0
asrs r0, r0, #0x19
cmp r0, #5
bne _0806FAE4
ldr r0, _0806FBB0 @ =gUnknown_03005160
ldr r0, _0806FBB0 @ =gLoadedSaveGame
ldrb r0, [r0, #0x18]
cmp r0, #0
bne _0806FB9C
Expand Down Expand Up @@ -134,7 +134,7 @@ _0806FB9C:
bx r0
.align 2, 0
_0806FBAC: .4byte gCurrentLevel
_0806FBB0: .4byte gUnknown_03005160
_0806FBB0: .4byte gLoadedSaveGame
_0806FBB4: .4byte sub_806FBDC
_0806FBB8: .4byte TaskDestructor_8009670
_0806FBBC: .4byte 0x0300000C
Expand Down
4 changes: 2 additions & 2 deletions asm/enemy_pen.s
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CreateEntity_PenMk1: @ 0x08073998
asrs r0, r0, #0x19
cmp r0, #3
bne _080739CC
ldr r0, _08073A94 @ =gUnknown_03005160
ldr r0, _08073A94 @ =gLoadedSaveGame
ldrb r0, [r0, #0x18]
cmp r0, #0
bne _08073A80
Expand Down Expand Up @@ -133,7 +133,7 @@ _08073A80:
bx r0
.align 2, 0
_08073A90: .4byte gCurrentLevel
_08073A94: .4byte gUnknown_03005160
_08073A94: .4byte gLoadedSaveGame
_08073A98: .4byte Task_PenMk1Main
_08073A9C: .4byte TaskDestructor_8009670
_08073AA0: .4byte 0x0300000C
Expand Down
4 changes: 2 additions & 2 deletions asm/enemy_senbon.s
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CreateEntity_Senbon: @ 0x080709A0
asrs r0, r0, #0x19
cmp r0, #1
bne _080709D4
ldr r0, _08070A9C @ =gUnknown_03005160
ldr r0, _08070A9C @ =gLoadedSaveGame
ldrb r0, [r0, #0x18]
cmp r0, #0
bne _08070A86
Expand Down Expand Up @@ -131,7 +131,7 @@ _08070A86:
bx r0
.align 2, 0
_08070A98: .4byte gCurrentLevel
_08070A9C: .4byte gUnknown_03005160
_08070A9C: .4byte gLoadedSaveGame
_08070AA0: .4byte sub_8070ACC
_08070AA4: .4byte TaskDestructor_8009670
_08070AA8: .4byte 0x0300000C
Expand Down
4 changes: 2 additions & 2 deletions asm/enemy_slot.s
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CreateEntity_Slot: @ 0x0806E064
asrs r0, r0, #0x19
cmp r0, #2
bne _0806E098
ldr r0, _0806E164 @ =gUnknown_03005160
ldr r0, _0806E164 @ =gLoadedSaveGame
ldrb r0, [r0, #0x18]
cmp r0, #0
bne _0806E150
Expand Down Expand Up @@ -134,7 +134,7 @@ _0806E150:
bx r0
.align 2, 0
_0806E160: .4byte gCurrentLevel
_0806E164: .4byte gUnknown_03005160
_0806E164: .4byte gLoadedSaveGame
_0806E168: .4byte sub_806E190
_0806E16C: .4byte TaskDestructor_8009670
_0806E170: .4byte 0x0300000C
Expand Down
Loading

0 comments on commit 497487a

Please sign in to comment.