From 3f1c669c23c9160e086ce1165c5aa9bedb49c45b Mon Sep 17 00:00:00 2001 From: xCrystal Date: Sun, 18 Sep 2016 12:27:17 +0200 Subject: Foul Odor and Stiffen effects --- src/data/effect_commands.asm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/data') diff --git a/src/data/effect_commands.asm b/src/data/effect_commands.asm index 9616ea7..1e9ed69 100644 --- a/src/data/effect_commands.asm +++ b/src/data/effect_commands.asm @@ -2,15 +2,12 @@ EffectCommands: ; 186f7 (6:46f7) ; Each move has a two-byte effect pointer (move's 7th param) that points to one of these structures. ; Similarly, trainer cards have a two-byte pointer (7th param) to one of these structures, which determines the card's function. ; Energy cards also point to one of these, but their data is just $00. -; db CommandId ($01 - $0a) +; db CommandType ($01 - $0a) ; dw Function ; ... ; db $00 -; Apparently every command has a "time", and a function is called multiple times during a turn -; with an argument identifying the command Id. If said command Id is found in the -; current move effect's array, its assigned function is immediately executed. - +; Commands are associated to a time or a scope (CommandType) that determines when their function is executed during the turn. ; Similar move effects of different Pokemon cards all point to a different command list, ; even though in some cases their commands and function pointers match. @@ -64,11 +61,11 @@ GloomPoisonPowderEffectCommands: db $00 GloomFoulOdorEffectCommands: - dbw $03, $4793 + dbw $03, FoulOdorEffect db $00 KakunaStiffenEffectCommands: - dbw $03, $47a0 + dbw $03, KakunaStiffenEffect db $00 KakunaPoisonPowderEffectCommands: @@ -124,7 +121,7 @@ KoffingFoulGasEffectCommands: db $00 MetapodStiffenEffectCommands: - dbw $03, $4836 + dbw $03, MetapodStiffenEffect db $00 MetapodStunSporeEffectCommands: -- cgit v1.2.3