diff options
author | aaaaaa123456789 <aaaaaa123456789@acidch.at> | 2019-01-27 02:20:35 -0300 |
---|---|---|
committer | aaaaaa123456789 <aaaaaa123456789@acidch.at> | 2019-01-27 02:20:35 -0300 |
commit | 241a89d3827e6ea224ca242384db76c6e6f91350 (patch) | |
tree | 9d46159b2f8f910b6f2d1d87a419f1b4ed8c4699 | |
parent | adc2958fb38675e76501a6b6987b7ae11682ed56 (diff) |
Fix the code a bit (call+ret → jp) — we don't need to be teaching bad practices to newbies on the code we introduce!
-rw-r--r-- | Remove-Pokémon-sprite-animations.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Remove-Pokémon-sprite-animations.md b/Remove-Pokémon-sprite-animations.md index b741b9e..1077f4d 100644 --- a/Remove-Pokémon-sprite-animations.md +++ b/Remove-Pokémon-sprite-animations.md @@ -208,8 +208,8 @@ Edit [engine/gfx/trademon_frontpic.asm](../blob/master/engine/gfx/trademon_front - ld d, $0 - ld e, ANIM_MON_TRADE - predef AnimateFrontpic -+ call PlayMonCry - ret +- ret ++ jp PlayMonCry ``` Edit [engine/movie/evolution_animation.asm](../blob/master/engine/movie/evolution_animation.asm): @@ -382,8 +382,8 @@ Edit [mobile/mobile_42.asm](../blob/master/mobile/mobile_42.asm): - ld d, $0 - ld e, ANIM_MON_TRADE - predef AnimateFrontpic -+ call PlayMonCry - ret +- ret ++ jp PlayMonCry Function108229: ld [wCurPartySpecies], a |