summaryrefslogtreecommitdiff
path: root/src/rom_8011DC0.c
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-02-26 22:34:42 -0500
committerPhlosioneer <mattmdrr2@gmail.com>2019-02-26 22:34:42 -0500
commit72bb0daccbdcc4db701d05c10c8b968fe7b09c2a (patch)
treec80c40148daa9b92dd39ba6a765b61c4fbf7214d /src/rom_8011DC0.c
parent6cb4c677cdf156d9d78f5f27bf3168882c1447ec (diff)
parent231355f84dccd11329d81d074fa36135cfad4f94 (diff)
Merge branch 'master' into main-menu-state-machine
Diffstat (limited to 'src/rom_8011DC0.c')
-rw-r--r--src/rom_8011DC0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rom_8011DC0.c b/src/rom_8011DC0.c
index 88e0bf4ac..7e9e81e96 100644
--- a/src/rom_8011DC0.c
+++ b/src/rom_8011DC0.c
@@ -1630,7 +1630,7 @@ void sub_8014210(u16 battleFlags)
void sub_8014290(u16 arg0, u16 x, u16 y)
{
- VarSet(VAR_0x4087, arg0);
+ VarSet(VAR_CABLE_CLUB_STATE, arg0);
SetWarpDestination(gSaveBlock1Ptr->location.mapGroup, gSaveBlock1Ptr->location.mapNum, -1, x, y);
SetDynamicWarpWithCoords(0, gSaveBlock1Ptr->location.mapGroup, gSaveBlock1Ptr->location.mapNum, -1, x, y);
WarpIntoMap();
@@ -1639,7 +1639,7 @@ void sub_8014290(u16 arg0, u16 x, u16 y)
void sub_8014304(s8 mapGroup, s8 mapNum, s32 x, s32 y, u16 arg4)
{
gSpecialVar_0x8004 = arg4;
- VarSet(VAR_0x4087, arg4);
+ VarSet(VAR_CABLE_CLUB_STATE, arg4);
gFieldLinkPlayerCount = GetLinkPlayerCount();
gUnknown_03005DB4 = GetMultiplayerId();
SetCableClubWarp();