diff options
Diffstat (limited to 'engine/events/dratini.asm')
-rw-r--r-- | engine/events/dratini.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/events/dratini.asm b/engine/events/dratini.asm index 83732bef2..a45f01195 100644 --- a/engine/events/dratini.asm +++ b/engine/events/dratini.asm @@ -1,12 +1,12 @@ Special_Dratini: ; 0x8b170 -; if ScriptVar is 0 or 1, change the moveset of the last Dratini in the party. +; if wScriptVar is 0 or 1, change the moveset of the last Dratini in the party. ; 0: give it a special moveset with Extremespeed. ; 1: give it the normal moveset of a level 15 Dratini. - ld a, [ScriptVar] + ld a, [wScriptVar] cp $2 ret nc - ld bc, PartyCount + ld bc, wPartyCount ld a, [bc] ld hl, MON_SPECIES call .GetNthPartyMon @@ -30,7 +30,7 @@ Special_Dratini: ; 0x8b170 .GiveMoveset: push hl - ld a, [ScriptVar] + ld a, [wScriptVar] ld hl, .Movesets ld bc, .Moveset1 - .Moveset0 call AddNTimes @@ -93,7 +93,7 @@ Special_Dratini: ; 0x8b170 ; returns the address of the last Pokémon in the party in hl. ; sets carry if a is 0. - ld de, PartyMon1 + ld de, wPartyMon1 add hl, de and a jr z, .EmptyParty |