PikalaxALT icon

PkrsSyringe

PikalaxALT | PRO | 12/30/15 05:10:10 AM UTC | 0 ⭐ | 4996 👁️ | Never ⏰ | []
Z80 Assembler |

0 B

|

None

|

0 👍

/

0 👎

PkrsSyringe:
    ld b, PARTYMENUACTION_HEALING_ITEM
    call UseItem_SelectMon
    jp c, StatusHealer_ExitMenu
 
    ld a, MON_PKRUS
    GetPartyParamLocation
    ld a, [hl]
    and a
    jr nz, .Fail
.loop
    call Random
    and $f0
    jr z, .loop
    ld b, a
    swap a
    and $3
    inc a
    or b
    ld [hl], a
    ld hl, .GavePokerusText
    jp PrintText
 
.Fail
    jp NoEffectMessage
 
.GavePokerusText
    text_from_ram StringBuffer1
    text " contracted"
    line "#RUS!"
    prompt

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎