diff options
| author | ElectroDeoxys <ElectroDeoxys@gmail.com> | 2021-02-03 11:41:26 +0000 |
|---|---|---|
| committer | ElectroDeoxys <ElectroDeoxys@gmail.com> | 2021-02-03 11:50:15 +0000 |
| commit | 91ecded7f6d4727dbd017e3188a4834fe9926f79 (patch) | |
| tree | ea501a09e2a23b015372e0d88a78f138af54f2b0 /STYLE_GUIDE.md | |
| parent | 68b8291b1920bcae99750f4bb97b7c01b73f786c (diff) | |
Change all references of "move" to "attack"
Diffstat (limited to 'STYLE_GUIDE.md')
| -rw-r--r-- | STYLE_GUIDE.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/STYLE_GUIDE.md b/STYLE_GUIDE.md index 4727496..4669e29 100644 --- a/STYLE_GUIDE.md +++ b/STYLE_GUIDE.md @@ -48,7 +48,7 @@ When naming a function, it should be concise but also capture the purpose and co * ``OpenNonTurnHolderDiscardPileScreen`` * ``LoadCardDataToBuffer1_FromCardID`` * ``LoadCardDataToBuffer1_FromDeckIndex`` -* ``CheckIfEnoughEnergiesToMove`` +* ``CheckIfEnoughEnergiesToAttack`` * ``CheckIfEnoughEnergiesOfType`` Sometimes a function is the most top-level function of this kind, so it can be given a very direct name that suggests it, like: @@ -134,13 +134,13 @@ CopyLine: ; 1ea5 (0:1ea5) ``` ``` -; check if a pokemon card has enough energy attached to it in order to use a move +; check if a pokemon card has enough energy attached to it in order to use an attack ; input: ; d = deck index of card (0 to 59) ; e = attack index (0 or 1) ; wAttachedEnergies and wTotalAttachedEnergies ; returns: carry if not enough energy, nc if enough energy. -_CheckIfEnoughEnergiesToMove: ; 48ac (1:48ac) +_CheckIfEnoughEnergiesToAttack: ; 48ac (1:48ac) ``` ``` |
