# Battle Result Layer Trace Review

- status: `target-result-layer-static-grounded`
- target script: `0x00454558..0x00454634`
- runtime result rows: `0`

## Conclusions

- `a6 -> 0x433f0e`가 payload hit unit을 고르고 target+0x6d/+0x6e에 결과를 만드는 정적 경로와 맞물린다.
- `0xc2`는 공격자 action VM 안에 있지만, 실제 데미지 표시와 피격 프레임 유지는 target result object script에서 별도로 진행된다.
- `0x00454578`에는 actor sideFlags(+0x62) bit 0x20 / 0x08 조건분기가 있다. 후속 result display/helper 분석에서 0x20은 full miss, 0x08은 guard/glancing chip-result 표시 경로로 승격됐다.
- 0xc2 consumer의 +0x10 alt operand 경로와 palette flash/fade child script가 critical presentation으로 승격된다.

## Target Tail Usage

| tail VA | count | frames | families | statuses | damage |
| --- | ---: | --- | --- | --- | --- |

## Target Script Blocks

| start | label | frames | WLK | helpers | meaning |
| --- | --- | --- | --- | --- | --- |
| `0x00454558` | idle-frame0-loop | `[0]` | - | `[]` | 대기 프레임 0을 유지하는 루프 |
| `0x00454560` | idle-jump-entry | `[0]` | - | `[]` | 런타임 첫 피격 전/단발 피격에서 cursor가 머무는 진입점 |
| `0x00454578` | result-branch | `[4]` | - | `[2]` | 피격 결과 플래그 0x20/0x08 분기. 0x20은 full miss, 0x08은 guard/glancing chip result로 승격 |
| `0x00454594` | branch-0x20-full-miss | `[0]` | WLK id 12 | `[5]` | 0x20 full-miss 표시 경로: effect WLK id 12 + helper 0x05 |
| `0x004545ac` | branch-0x08-guard-glancing | `[0]` | WLK id 11 | `[22]` | 0x08 guard/glancing chip-result 표시 경로: effect WLK id 11 + helper 0x16 |
| `0x004545c4` | common-result-prelude | `[]` | - | `[]` | 공통 피격 반응 전처리/플래그 조작 |
| `0x004545d0` | hit-frame4-loop | `[4]` | - | `[7]` | 피격 프레임 4 유지/흔들림 루프. 반복타 런타임 결과가 주로 여기에 찍힘 |

## Runtime Hits

| phase | hit | damage ms | damage | target frame | target VA | WLK | sound delta |
| --- | ---: | ---: | ---: | ---: | --- | --- | ---: |

## Next Steps

- critical actor+0x62 bit 0x10 -> `0xc2` byte+3 -> WLK id 14 -> palette flash/fade child script 경로는 확정됐다. 남은 것은 브라우저 runner에서 VM tick을 wall-clock ms로 환산하는 미세 타이밍이다.
- 상태이상 성공 샘플이 있으면 payload unit byte7(status) -> target+0x6c -> target result branch/WLK 여부를 분리할 수 있다.
- 브라우저 runner는 full miss/guard-glancing-chip/critical result presentation을 분리해도 된다. MISS는 WLK id 12/helper 0x05, guard/glancing은 WLK id 11/helper 0x16, critical은 WLK id 14/palette flash로 분리한다.
