rename bit1 script commands to event

This commit is contained in:
yenatch
2013-09-24 03:48:58 -04:00
parent 8da8dff7cf
commit 3134b26f7b
184 changed files with 1644 additions and 1644 deletions

View File

@@ -15,28 +15,28 @@ WarehouseEntrance_MapScriptHeader: ; 0x7c038
; 0x7c043
UnknownScript_0x7c043: ; 0x7c043
clearbit1 EVENT_SWITCH_1
clearbit1 EVENT_SWITCH_2
clearbit1 EVENT_SWITCH_3
clearbit1 EVENT_EMERGENCY_SWITCH
clearbit1 EVENT_SWITCH_4
clearbit1 EVENT_SWITCH_5
clearbit1 EVENT_SWITCH_6
clearbit1 EVENT_SWITCH_7
clearbit1 EVENT_SWITCH_8
clearbit1 EVENT_SWITCH_9
clearbit1 EVENT_SWITCH_10
clearbit1 EVENT_SWITCH_11
clearbit1 EVENT_SWITCH_12
clearbit1 EVENT_SWITCH_13
clearbit1 EVENT_SWITCH_14
clearevent EVENT_SWITCH_1
clearevent EVENT_SWITCH_2
clearevent EVENT_SWITCH_3
clearevent EVENT_EMERGENCY_SWITCH
clearevent EVENT_SWITCH_4
clearevent EVENT_SWITCH_5
clearevent EVENT_SWITCH_6
clearevent EVENT_SWITCH_7
clearevent EVENT_SWITCH_8
clearevent EVENT_SWITCH_9
clearevent EVENT_SWITCH_10
clearevent EVENT_SWITCH_11
clearevent EVENT_SWITCH_12
clearevent EVENT_SWITCH_13
clearevent EVENT_SWITCH_14
writebyte $0
copyvartobyte UndergroundSwitchPositions
return
; 0x7c076
UnknownScript_0x7c076: ; 0x7c076
checkbit1 EVENT_USED_BASEMENT_KEY
checkevent EVENT_USED_BASEMENT_KEY
iffalse UnknownScript_0x7c07d
return
; 0x7c07d
@@ -290,23 +290,23 @@ UnknownScript_0x7c173: ; 0x7c173
; 0x7c1a9
UnknownScript_0x7c1a9: ; 0x7c1a9
setbit1 $0000
clearbit1 $0001
clearbit1 $0002
setevent $0000
clearevent $0001
clearevent $0002
2jump UnknownScript_0x7c1cd
; 0x7c1b5
UnknownScript_0x7c1b5: ; 0x7c1b5
clearbit1 $0000
setbit1 $0001
clearbit1 $0002
clearevent $0000
setevent $0001
clearevent $0002
2jump UnknownScript_0x7c1cd
; 0x7c1c1
UnknownScript_0x7c1c1: ; 0x7c1c1
clearbit1 $0000
clearbit1 $0001
setbit1 $0002
clearevent $0000
clearevent $0001
setevent $0002
2jump UnknownScript_0x7c1cd
; 0x7c1cd
@@ -324,9 +324,9 @@ UnknownScript_0x7c1cd: ; 0x7c1cd
loadfont
2writetext UnknownText_0x7c6d8
closetext
checkbit1 $0000
checkevent $0000
iftrue UnknownScript_0x7c2bb
checkbit1 $0001
checkevent $0001
iftrue UnknownScript_0x7c2c4
2jump UnknownScript_0x7c2cd
; 0x7c1fc
@@ -382,23 +382,23 @@ UnknownScript_0x7c220: ; 0x7c220
; 0x7c256
UnknownScript_0x7c256: ; 0x7c256
setbit1 $0000
clearbit1 $0001
clearbit1 $0002
setevent $0000
clearevent $0001
clearevent $0002
2jump UnknownScript_0x7c27a
; 0x7c262
UnknownScript_0x7c262: ; 0x7c262
clearbit1 $0000
setbit1 $0001
clearbit1 $0002
clearevent $0000
setevent $0001
clearevent $0002
2jump UnknownScript_0x7c27a
; 0x7c26e
UnknownScript_0x7c26e: ; 0x7c26e
clearbit1 $0000
clearbit1 $0001
setbit1 $0002
clearevent $0000
clearevent $0001
setevent $0002
2jump UnknownScript_0x7c27a
; 0x7c27a
@@ -416,9 +416,9 @@ UnknownScript_0x7c27a: ; 0x7c27a
loadfont
2writetext UnknownText_0x7c82a
closetext
checkbit1 $0000
checkevent $0000
iftrue UnknownScript_0x7c2bb
checkbit1 $0001
checkevent $0001
iftrue UnknownScript_0x7c2c4
2jump UnknownScript_0x7c2cd
; 0x7c2a9
@@ -470,7 +470,7 @@ UnknownScript_0x7c2cd: ; 0x7c2cd
MapWarehouseEntranceSignpost0Script: ; 0x7c2d6
loadfont
checkbit1 EVENT_USED_BASEMENT_KEY
checkevent EVENT_USED_BASEMENT_KEY
iftrue UnknownScript_0x7c2fa
checkitem BASEMENT_KEY
iftrue UnknownScript_0x7c2e8
@@ -488,7 +488,7 @@ UnknownScript_0x7c2e8: ; 0x7c2e8
changeblock $12, $6, $2e
reloadmappart
loadmovesprites
setbit1 EVENT_USED_BASEMENT_KEY
setevent EVENT_USED_BASEMENT_KEY
end
; 0x7c2fa