diff options
| author | mid-kid <esteve.varela@gmail.com> | 2019-11-08 22:03:08 +0100 |
|---|---|---|
| committer | mid-kid <esteve.varela@gmail.com> | 2019-11-18 18:21:57 +0100 |
| commit | 77803f571fed52bfce19b60ddafd98019c113e99 (patch) | |
| tree | a6bcf7adacb1c0ea69eb9bb6dc6011641e3fd8a6 /mobile | |
| parent | 176257ea6f49597203887e610b03807901ba586e (diff) | |
Fix some constants around wLinkMode
Diffstat (limited to 'mobile')
| -rw-r--r-- | mobile/mobile_45_sprite_engine.asm | 2 | ||||
| -rw-r--r-- | mobile/mobile_46.asm | 2 | ||||
| -rw-r--r-- | mobile/mobile_5f.asm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mobile/mobile_45_sprite_engine.asm b/mobile/mobile_45_sprite_engine.asm index e2863efc6..fe9b68517 100644 --- a/mobile/mobile_45_sprite_engine.asm +++ b/mobile/mobile_45_sprite_engine.asm @@ -691,7 +691,7 @@ Function1163c0: ldh [rSVBK], a farcall ReloadMapPart ld a, [wLinkMode] - cp $4 + cp LINK_MOBILE jr z, .asm_11642a ld a, $8 ld [wMusicFade], a diff --git a/mobile/mobile_46.asm b/mobile/mobile_46.asm index 9354e4704..95d53bded 100644 --- a/mobile/mobile_46.asm +++ b/mobile/mobile_46.asm @@ -7322,7 +7322,7 @@ Function11b7e5: farcall Function17d1f1 ld a, $1 ld [wForceEvolution], a - ld a, $2 + ld a, LINK_TRADECENTER ld [wLinkMode], a farcall EvolvePokemon xor a diff --git a/mobile/mobile_5f.asm b/mobile/mobile_5f.asm index 2350cd0c4..3fe6ce3b8 100644 --- a/mobile/mobile_5f.asm +++ b/mobile/mobile_5f.asm @@ -295,7 +295,7 @@ Function17d0f3: farcall Function17d1f1 ld a, $1 ld [wForceEvolution], a - ld a, $2 + ld a, LINK_TRADECENTER ld [wLinkMode], a farcall EvolvePokemon xor a |
