diff options
author | luckytyphlosion <alan.rj.huang@gmail.com> | 2015-10-29 14:23:30 -0400 |
---|---|---|
committer | luckytyphlosion <alan.rj.huang@gmail.com> | 2015-10-29 14:23:30 -0400 |
commit | cb414f1480e9117e5d6ee0ab5cb81903e83cde9a (patch) | |
tree | e44bd6299c61335a9a0476db57b565aadcd0b4d7 /scripts/silphco7.asm | |
parent | 2ea331ebb341505df1cd8429b140c52e345a5af4 (diff) |
overworld item & movement code, cable club code, remove more instances of W_, add PIKAHAPPY_TRADE
Also make replace.sh take args
Diffstat (limited to 'scripts/silphco7.asm')
-rwxr-xr-x | scripts/silphco7.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/silphco7.asm b/scripts/silphco7.asm index 5333e07f..d535c04b 100755 --- a/scripts/silphco7.asm +++ b/scripts/silphco7.asm @@ -184,7 +184,7 @@ SilphCo7Script3: ; 51c82 (14:5c82) ld de, SilphCo7Text_51ecd call SaveEndBattleTextPointers ld a, OPP_SONY2 - ld [W_CUROPPONENT], a + ld [wCurOpponent], a ld a, [W_RIVALSTARTER] cp STARTER2 jr nz, .asm_51cb6 @@ -203,7 +203,7 @@ SilphCo7Script3: ; 51c82 (14:5c82) jp SilphCo7Text_51c10 SilphCo7Script4: ; 51cc8 (14:5cc8) - ld a, [W_ISINBATTLE] + ld a, [wIsInBattle] cp $ff jp z, SilphCo7Text_51c0c ld a, $f0 |