Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2020-03-23 04:11:40

Kamy41
Member
Registered: 2019-01-09
Post 16/20

(Pokered) Fix Acid Armor animation

Hello :)

I wish to make a question..I'm working on a ROM of Pokered with some fixes, including in moves. For example I tried to make Acid Armor RESETABLE, so the pokemon shows again once disappeared, but I don't understand how to edit the script of AnimationSlideMonDownAndHide..
Adding the animation SE_SHOW_MON_PIC under Slide_Mon_Down_And_Hide in Data>Animation doesn't work... So I think I have to edit this script.

Any help is very appreciated

Thank you :)

Here's the script:

AnimationSlideMonDownAndHide:
; Slides the mon's sprite down and disappears. Used in Acid Armor.
    ld a, $1
    ld c, $2
.loop
    push bc
    push af
    call AnimationHideMonPic
    pop af
    push af
    call GetTileIDList
    call GetMonSpriteTileMapPointerFromRowCount
    call CopyPicTiles
    ld c, 8
    call DelayFrames
    pop af
    inc a
    pop bc
    dec c
    jr nz, .loop
    call AnimationHideMonPic
    ld hl, wTempPic
    ld bc, $0310
    xor a
    call FillMemory
        jp CopyTempPicToMonPic

Offline

#2 2020-03-26 00:09:26

Kamy41
Member
Registered: 2019-01-09
Post 17/20

Re: (Pokered) Fix Acid Armor animation

It doesn't matter, I resolved editing the script as it follows, and addding a DELAY ANIMATION  and SHOW MON on Acid Armor anim in Data->Animation..Thank you anyway :)

AnimationSlideMonDownAndHide:
; Slides the mon's sprite down and disappears. Used in Acid Armor.
    ld a, $1
    ld c, $2
.loop
    push bc
    push af
    call AnimationHideMonPic
    pop af
    push af
    call GetTileIDList
    call GetMonSpriteTileMapPointerFromRowCount
    call CopyPicTiles
    ld c, 8
    call DelayFrames
    pop af
    inc a
    pop bc
    dec c
    jr nz, .loop
    call AnimationHideMonPic
    ret

Last edited by Kamy41 (2020-03-26 00:10:21)

Offline

Board footer

Powered by FluxBB