summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2019-01-27 00:11:32 -0600
committerDiegoisawesome <diego@domoreaweso.me>2019-01-27 00:11:32 -0600
commit7a60f36954e9baeab2df64e24ce7fea5a8d2ada1 (patch)
tree5f38d54dd3ab480135286877b1bcc70b7a4ceb93
parent900f294011ea0eb06c48c28b4b4aea51e5cf32b7 (diff)
Clean up variable numbers mistakenly written as decimal
-rw-r--r--data/event_scripts.s20
1 files changed, 10 insertions, 10 deletions
diff --git a/data/event_scripts.s b/data/event_scripts.s
index d52f4f1ba..67dbd9516 100644
--- a/data/event_scripts.s
+++ b/data/event_scripts.s
@@ -1393,13 +1393,13 @@ OldaleTown_PokemonCenter_1F_Movement_271AD0: @ 8271AD0
step_end
Std_ObtainItem:: @ 8271AD3
- giveitem VAR_0x8000, 32769
+ giveitem VAR_0x8000, VAR_0x8001
copyvar VAR_0x8007, VAR_RESULT
call EventScript_271AE3
return
EventScript_271AE3:: @ 8271AE3
- bufferitemnameplural 1, VAR_0x8000, 32769
+ bufferitemnameplural 1, VAR_0x8000, VAR_0x8001
checkitemtype VAR_0x8000
call EventScript_271B08
compare VAR_0x8007, 1
@@ -1498,9 +1498,9 @@ Std_FindItem:: @ 8271BFD
waitse
copyvar VAR_0x8004, VAR_0x8000
copyvar VAR_0x8005, VAR_0x8001
- checkitemspace VAR_0x8000, 32769
+ checkitemspace VAR_0x8000, VAR_0x8001
copyvar VAR_0x8007, VAR_RESULT
- bufferitemnameplural 1, VAR_0x8000, 32769
+ bufferitemnameplural 1, VAR_0x8000, VAR_0x8001
checkitemtype VAR_0x8000
call EventScript_271B08
compare VAR_0x8007, 1
@@ -1512,7 +1512,7 @@ Std_FindItem:: @ 8271BFD
EventScript_271C3A:: @ 8271C3A
removeobject VAR_LAST_TALKED
- giveitem VAR_0x8004, 32773
+ giveitem VAR_0x8004, VAR_0x8005
specialvar VAR_RESULT, sub_81398C0
copyvar VAR_0x8008, VAR_RESULT
compare VAR_0x8008, 1
@@ -1521,7 +1521,7 @@ EventScript_271C3A:: @ 8271C3A
call_if_eq EventScript_271C9B
waitfanfare
waitmessage
- bufferitemnameplural 1, VAR_0x8004, 32773
+ bufferitemnameplural 1, VAR_0x8004, VAR_0x8005
setvar VAR_0x8004, 12
special CallBattlePyramidFunction
compare VAR_RESULT, 1
@@ -1534,7 +1534,7 @@ EventScript_271C86:: @ 8271C86
return
EventScript_271C8F:: @ 8271C8F
- bufferitemnameplural 0, VAR_0x8004, 32773
+ bufferitemnameplural 0, VAR_0x8004, VAR_0x8005
message gUnknown_082731A9
return
@@ -3379,7 +3379,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_2737A0:: @ 82737A0
MossdeepCity_StevensHouse_EventScript_2737A0:: @ 82737A0
Route119_WeatherInstitute_2F_EventScript_2737A0:: @ 82737A0
RustboroCity_DevonCorp_2F_EventScript_2737A0:: @ 82737A0
- bufferboxname 0, 16438
+ bufferboxname 0, VAR_STORAGE_UNKNOWN
bufferspeciesname 1, VAR_TEMP_1
call_if_unset FLAG_SYS_PC_LANETTE, LittlerootTown_ProfessorBirchsLab_EventScript_2737BB
call_if_set FLAG_SYS_PC_LANETTE, LittlerootTown_ProfessorBirchsLab_EventScript_2737E6
@@ -3394,7 +3394,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_2737BB:: @ 82737BB
LittlerootTown_ProfessorBirchsLab_EventScript_2737D4:: @ 82737D4
specialvar VAR_RESULT, get_unknown_box_id
- bufferboxname 2, 32781
+ bufferboxname 2, VAR_RESULT
msgbox gText_PkmnBoxSomeonesPCFull, MSGBOX_DEFAULT
return
@@ -3407,7 +3407,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_2737E6:: @ 82737E6
LittlerootTown_ProfessorBirchsLab_EventScript_2737FF:: @ 82737FF
specialvar VAR_RESULT, get_unknown_box_id
- bufferboxname 2, 32781
+ bufferboxname 2, VAR_RESULT
msgbox gText_PkmnBoxLanettesPCFull, MSGBOX_DEFAULT
return