Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NOTFRESH
- LutHandlerStart:
- ;Flow
- ;Decrement timer
- ;Check for z or c
- ;If 2 move to next
- ;if 1 move to follow player
- ;if 0 well you shuoldent ever be here if it is zer0
- ;else increment based on type
- ;assume nothing is loaded as we may jump back here. later. can be removed if needed tho
- ld hl,-3
- add hl,sp
- ld a,(hl) ; ld a with flags
- ld b,a ; save in b
- rla \ rla
- dec a ; shift dec
- add a,a \ add a,a ; shift back
- or b ; save back
- jr C,FollowPlayer
- jr z,IncLut
- ld (hl),a ; save back into flags
Advertisement
Add Comment
Please, Sign In to add comment