diff options
author | xCrystal <rgr.crystal@gmail.com> | 2016-09-18 12:27:17 +0200 |
---|---|---|
committer | xCrystal <rgr.crystal@gmail.com> | 2016-09-18 12:27:17 +0200 |
commit | 3f1c669c23c9160e086ce1165c5aa9bedb49c45b (patch) | |
tree | 827204b86b503cd25b4149a54ab4140cb4f646cc /src/data/effect_commands.asm | |
parent | 2163db9ef29abe6507a1da4c8e77fe8d3fd77df2 (diff) |
Foul Odor and Stiffen effects
Diffstat (limited to 'src/data/effect_commands.asm')
-rw-r--r-- | src/data/effect_commands.asm | 13 |
1 files changed, 5 insertions, 8 deletions
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: |