Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SpecialStageHPZ_CheckActivation:
- move.w ($FFFFFAEC).w,d1 ;move subtype to d1
- cmp.w #0,d1 ;check if d1=0
- bne.s SpecialStageHPZ_CheckActivation1 ;if subtype is different, branch to next check
- move.w #1,($FFFFFAF2).w ;write to emerald specific ram to delete
- bra.s HPZemeralddeleteend
- SpecialStageHPZ_CheckActivation1:
- cmp.w #1,d1 ;check if d1=1
- bne.s SpecialStageHPZ_CheckActivation2 ;if subtype is different, branch to next check
- move.w #1,($FFFFFAF4).w ;write to emerald specific ram to delete
- bra.s HPZemeralddeleteend
- SpecialStageHPZ_CheckActivation2:
- cmp.w #2,d1 ;check if d1=2
- bne.s SpecialStageHPZ_CheckActivation3 ;if subtype is different, branch to next check
- move.w #1,($FFFFFAF6).w ;write to emerald specific ram to delete
- bra.s HPZemeralddeleteend
- SpecialStageHPZ_CheckActivation3:
- cmp.w #3,d1 ;check if d1=3
- bne.s SpecialStageHPZ_CheckActivation4 ;if subtype is different, branch to next check
- move.w #1,($FFFFFAF8).w ;write to emerald specific ram to delete
- bra.s HPZemeralddeleteend
- SpecialStageHPZ_CheckActivation4:
- cmp.w #4,d1 ;check if d1=4
- bne.s SpecialStageHPZ_CheckActivation4 ;if subtype is different, branch to next check
- move.w #1,($FFFFFAFA).w ;write to emerald specific ram to delete
- bra.s HPZemeralddeleteend
- SpecialStageHPZ_CheckActivation5:
- cmp.w #5,d1 ;check if d1=5
- bne.s SpecialStageHPZ_CheckActivation4 ;if subtype is different, branch to next check
- move.w #1,($FFFFFAFC).w ;write to emerald specific ram to delete
- bra.s HPZemeralddeleteend
- SpecialStageHPZ_CheckActivation6:
- cmp.w #6,d1 ;check if d1=6
- bne.s SpecialStageHPZ_CheckActivation4 ;if subtype is different, branch to next check
- move.w #1,($FFFFFAFE).w ;write to emerald specific ram to delete
- HPZemeralddeleteend:
Add Comment
Please, Sign In to add comment