Skip to content

Commit

Permalink
地形回復のバグ修正
Browse files Browse the repository at this point in the history
  • Loading branch information
aera-ngmansion committed Jul 15, 2017
1 parent da88d05 commit 6dfb5cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Engine Hacks/_N/_Skills/Kaifuku/KAIFUKU.asm
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
@thumb
;@org $08019f28
mov r2, r0
ldr r1, [r5]
ldrh r1, [r1, #0x26] ;;ユニット0x1000
ldrh r1, [r1, #0x26] ;;ユニット0x1000
lsl r1, r1, #19
bpl classHeal
mov r3, #20
b end
classHeal:
@align 4
ldr r3, [adr] ;回復クラスアドレス
ldr r3, [adr] ;回復兵種アドレス
ldr r1, [r5, #4]
ldrb r1, [r1, #4]
loopHeal
Expand All @@ -27,7 +28,7 @@ nonHeal:
end:
ldr r1, =$08019f34
ldr r1, [r1]
add r0, r0, r1
add r0, r2, r1
ldrb r0, [r0]
lsl r0, r0, #24
asr r0, r0, #24
Expand Down
Binary file modified Engine Hacks/_N/_Skills/Kaifuku/KAIFUKU.gba
Binary file not shown.

0 comments on commit 6dfb5cb

Please sign in to comment.