Skip to content

Commit

Permalink
自軍以外は索敵時でも有効
Browse files Browse the repository at this point in the history
  • Loading branch information
aera-ngmansion committed Jul 20, 2017
1 parent 580ca17 commit db5790d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions Engine Hacks/_N/_Skills/pass/pass.asm
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,37 @@
strb r3, [r6, #8]
ldr r0, =$0801a1ea
mov pc, r0
Start:
;
;索敵マップなら無効
;索敵マップ無効
;
Start:
ldrb r0, [r4, #11]
lsr r0, r0, #6
bne Jump
ldr r0, =$0202BCF9
ldrb r0, [r0]
cmp r0, #0
bne nonPass
;
;謎のバグ防止
;謎のバグ防止
;
Jump:
mov r0, r13
ldr r1, =$03007d18
cmp r0, r1
beq nonPass
;
;個人スキルチェック
;個人スキルチェック
;
ldr r0, [r4, #0]
ldrh r0, [r0, #38]
lsl r0, r0, #20
bmi ouiPass
;
;兵種スキルチェック
;兵種スキルチェック
;
@align 4
ldr r2, [adr] ;すり抜け兵種ドレス
ldr r2, [adr] ;すり抜け兵種ドレス
ldr r1, [r4, #4]
ldrb r1, [r1, #4]
loopPass:
Expand Down
Binary file modified Engine Hacks/_N/_Skills/pass/pass.gba
Binary file not shown.

0 comments on commit db5790d

Please sign in to comment.