mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
Fix last special var
This commit is contained in:
parent
bf45b83c65
commit
373d73eb3b
@ -229,7 +229,7 @@
|
||||
"x": 4,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x40C9",
|
||||
"var": "VAR_SCOTT_PETALBURG_ENCOUNTER",
|
||||
"var_value": "0",
|
||||
"script": "PetalburgCity_EventScript_1DC691"
|
||||
},
|
||||
@ -238,7 +238,7 @@
|
||||
"x": 4,
|
||||
"y": 11,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x40C9",
|
||||
"var": "VAR_SCOTT_PETALBURG_ENCOUNTER",
|
||||
"var_value": "0",
|
||||
"script": "PetalburgCity_EventScript_1DC6A7"
|
||||
},
|
||||
@ -247,7 +247,7 @@
|
||||
"x": 4,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x40C9",
|
||||
"var": "VAR_SCOTT_PETALBURG_ENCOUNTER",
|
||||
"var_value": "0",
|
||||
"script": "PetalburgCity_EventScript_1DC6BD"
|
||||
},
|
||||
@ -256,7 +256,7 @@
|
||||
"x": 4,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x40C9",
|
||||
"var": "VAR_SCOTT_PETALBURG_ENCOUNTER",
|
||||
"var_value": "0",
|
||||
"script": "PetalburgCity_EventScript_1DC6D3"
|
||||
}
|
||||
|
@ -572,7 +572,7 @@ PetalburgCity_EventScript_1DC6E9:: @ 81DC6E9
|
||||
call_if_eq PetalburgCity_EventScript_1DC7B2
|
||||
compare VAR_0x8008, 3
|
||||
call_if_eq PetalburgCity_EventScript_1DC7C4
|
||||
setvar VAR_0x40C9, 1
|
||||
setvar VAR_SCOTT_PETALBURG_ENCOUNTER, 1
|
||||
removeobject 9
|
||||
releaseall
|
||||
end
|
||||
|
@ -60,7 +60,7 @@ PetalburgCity_Gym_EventScript_204955:: @ 8204955
|
||||
return
|
||||
|
||||
PetalburgCity_Gym_EventScript_20495D:: @ 820495D
|
||||
setorcopyvar VAR_NEVER_READ_0x8015, 269
|
||||
setorcopyvar VAR_TRAINER_BATTLE_OPPONENT_A, 269
|
||||
specialvar VAR_RESULT, IsTrainerReadyForRematch
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq PetalburgCity_Gym_EventScript_204985
|
||||
|
@ -217,7 +217,7 @@
|
||||
#define VAR_STEVENS_HOUSE_STATE 0x40C6
|
||||
#define VAR_OLDALE_STATE 0x40C7
|
||||
#define VAR_JAGGED_PASS_STATE 0x40C8
|
||||
#define VAR_0x40C9 0x40C9
|
||||
#define VAR_SCOTT_PETALBURG_ENCOUNTER 0x40C9
|
||||
#define VAR_SKY_PILLAR_STATE 0x40CA
|
||||
#define VAR_ROUTE_111_STATE 0x40CB
|
||||
#define VAR_FOSSIL_MANIAC_STATE 0x40CC
|
||||
@ -297,6 +297,6 @@
|
||||
#define VAR_MON_BOX_ID 0x8012
|
||||
#define VAR_MON_BOX_POS 0x8013
|
||||
#define VAR_UNUSED_0x8014 0x8014
|
||||
#define VAR_NEVER_READ_0x8015 0x8015 // Written to, but never read
|
||||
#define VAR_TRAINER_BATTLE_OPPONENT_A 0x8015 // Alias of gTrainerBattleOpponent_A
|
||||
|
||||
#endif // GUARD_CONSTANTS_VARS_H
|
||||
|
Loading…
Reference in New Issue
Block a user