diff options
| author | camthesaxman <cameronghall@cox.net> | 2018-01-06 12:28:12 -0600 | 
|---|---|---|
| committer | camthesaxman <cameronghall@cox.net> | 2018-01-06 12:28:12 -0600 | 
| commit | 680d3fd7b980578024226eccffe2e01072826227 (patch) | |
| tree | 45bd58a6df683e25685a2a6bd9ff2d4c5116dcf5 /data/scripts/maps/Route116.inc | |
| parent | b3551bc2f328c286c6ecc45ea288665d46b44260 (diff) | |
| parent | 7bf330e9f2b048a9b3d7882c80c9aa413c55484a (diff) | |
Merge branch 'master' of https://github.com/pret/pokeruby
Diffstat (limited to 'data/scripts/maps/Route116.inc')
| -rw-r--r-- | data/scripts/maps/Route116.inc | 28 | 
1 files changed, 12 insertions, 16 deletions
| diff --git a/data/scripts/maps/Route116.inc b/data/scripts/maps/Route116.inc index 4e08705cf..eea14e25d 100644 --- a/data/scripts/maps/Route116.inc +++ b/data/scripts/maps/Route116.inc @@ -3,8 +3,7 @@ Route116_MapScripts:: @ 8150A31  	.byte 0  Route116_MapScript1_150A37:: @ 8150A37 -	checkflag FLAG_RECOVERED_DEVON_GOODS -	call_if 1, Route116_EventScript_150A41 +	call_if_set FLAG_RECOVERED_DEVON_GOODS, Route116_EventScript_150A41  	end  Route116_EventScript_150A41:: @ 8150A41 @@ -14,10 +13,8 @@ Route116_EventScript_150A41:: @ 8150A41  Route116_EventScript_150A49:: @ 8150A49  	lock  	faceplayer -	checkflag FLAG_RECOVERED_DEVON_GOODS -	goto_if_eq Route116_EventScript_150A67 -	checkflag FLAG_DEVON_GOODS_STOLEN -	goto_if_eq Route116_EventScript_150A71 +	goto_if_set FLAG_RECOVERED_DEVON_GOODS, Route116_EventScript_150A67 +	goto_if_set FLAG_DEVON_GOODS_STOLEN, Route116_EventScript_150A71  	msgbox Route116_Text_1703CF, 4  	release  	end @@ -35,8 +32,7 @@ Route116_EventScript_150A71:: @ 8150A71  Route116_EventScript_150A7B:: @ 8150A7B  	lock  	faceplayer -	checkflag FLAG_MET_DEVON_EMPLOYEE -	goto_if_eq Route116_EventScript_150B04 +	goto_if_set FLAG_MET_DEVON_EMPLOYEE, Route116_EventScript_150B04  	msgbox Route116_Text_1705AE, 4  	goto Route116_EventScript_150A94  	end @@ -49,13 +45,13 @@ Route116_EventScript_150A94:: @ 8150A94  	msgbox Route116_Text_1707B8, 4  	closemessage  	compare FACING, 2 -	call_if 1, Route116_EventScript_150AEE +	call_if_eq Route116_EventScript_150AEE  	compare FACING, 1 -	call_if 1, Route116_EventScript_150AEE +	call_if_eq Route116_EventScript_150AEE  	compare FACING, 3 -	call_if 1, Route116_EventScript_150AEE +	call_if_eq Route116_EventScript_150AEE  	compare FACING, 4 -	call_if 1, Route116_EventScript_150AF9 +	call_if_eq Route116_EventScript_150AF9  	removeobject LAST_TALKED  	clearflag FLAG_HIDE_EMPLOYEE_DEVON_CORP_3F  	setflag FLAG_RECEIVED_REPEAT_BALL @@ -182,13 +178,13 @@ Route116_EventScript_150BF4:: @ 8150BF4  Route116_EventScript_150C03:: @ 8150C03  	delay 20  	compare FACING, 2 -	call_if 1, Route116_EventScript_150C37 +	call_if_eq Route116_EventScript_150C37  	compare FACING, 1 -	call_if 1, Route116_EventScript_150C37 +	call_if_eq Route116_EventScript_150C37  	compare FACING, 3 -	call_if 1, Route116_EventScript_150C37 +	call_if_eq Route116_EventScript_150C37  	compare FACING, 4 -	call_if 1, Route116_EventScript_150C42 +	call_if_eq Route116_EventScript_150C42  	removeobject LAST_TALKED  	release  	end | 
