overworld

This commit is contained in:
theo3
2021-12-12 01:48:25 -08:00
parent 02252b52ce
commit 10d0d9e589
251 changed files with 3671 additions and 4701 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ SCRIPT_START script_0800AF44
Call sub_0807DF28
_0807EB28 0x1c01
WaitUntilTextboxCloses
SetLocalFlagByOffset 0x0100, 0x0001
SetLocalFlagByBank 0x0100, 0x0001
Call sub_0807DF50
_0807E878
DoPostScriptAction 0x0006
+1 -1
View File
@@ -3,7 +3,7 @@ SCRIPT_START script_0800AF68
Call sub_0807DF28
_0807EB28 0x1c02
WaitUntilTextboxCloses
SetLocalFlagByOffset 0x0100, 0x0002
SetLocalFlagByBank 0x0100, 0x0002
Call sub_0807DF50
_0807E878
DoPostScriptAction 0x0006
+1 -1
View File
@@ -3,7 +3,7 @@ SCRIPT_START script_0800AF8C
Call sub_0807DF28
_0807EB28 0x1c03
WaitUntilTextboxCloses
SetLocalFlagByOffset 0x0100, 0x0003
SetLocalFlagByBank 0x0100, 0x0003
Call sub_0807DF50
_0807E878
DoPostScriptAction 0x0006
+1 -1
View File
@@ -10,7 +10,7 @@ script_0800AFB2:
Call sub_0807DF28
_0807EB28 0x1c04
WaitUntilTextboxCloses
SetLocalFlagByOffset 0x0100, 0x0004
SetLocalFlagByBank 0x0100, 0x0004
Call sub_0807DF50
_0807E878
DoPostScriptAction 0x0006
+1 -1
View File
@@ -3,7 +3,7 @@ SCRIPT_START script_0800AFE8
Call sub_0807DF28
_0807EB28 0x1c05
WaitUntilTextboxCloses
SetLocalFlagByOffset 0x0100, 0x0005
SetLocalFlagByBank 0x0100, 0x0005
Call sub_0807DF50
_0807E878
DoPostScriptAction 0x0006
+4 -4
View File
@@ -317,11 +317,11 @@ script_0800E4B6:
_0807E864
.ifdef JP
.ifndef DEMO_JP
Call FreezeTime
Call SetPlayerEventPriority
.endif
.else
.ifdef EU
Call FreezeTime
Call SetPlayerEventPriority
.endif
.endif
EndBlock
@@ -341,11 +341,11 @@ script_0800E4B6:
SetLocalFlag 0x007c
.ifdef JP
.ifndef DEMO_JP
Call UnfreezeTime
Call ResetPlayerEventPriority
.endif
.else
.ifdef EU
Call UnfreezeTime
Call ResetPlayerEventPriority
.endif
.endif
script_0800E4FA:
+1 -1
View File
@@ -8,7 +8,7 @@ script_0800EF50:
Call sub_080869A4
JumpIfNot script_0800EF50
_0807E864
CheckLocalFlagByOffset 0x0200, 0x006d
CheckLocalFlagByBank 0x0200, 0x006d
JumpIf script_0800EF82
MessageFromTarget 0x4d01
WaitUntilTextboxCloses
+1 -1
View File
@@ -3,7 +3,7 @@ SCRIPT_START script_08012D18
BeginBlock
CheckGlobalFlag 0x0014
JumpIfNot script_08012D18
CheckLocalFlagByOffset 0x0200, 0x008d
CheckLocalFlagByBank 0x0200, 0x008d
JumpIf script_08012D68
CheckPlayerInRegion 0x0000, 0x01a8, 0x2010
JumpIfNot script_08012D18
+5 -5
View File
@@ -18,15 +18,15 @@ SCRIPT_START script_08016384
HasRoomItemForSale
CheckLocalFlag 0x0067
.ifdef JP
CheckLocalFlagByOffset 0x0100, 0x0069
CheckLocalFlagByBank 0x0100, 0x0069
.else
.ifdef EU
CheckLocalFlagByOffset 0x0100, 0x0069
CheckLocalFlagByBank 0x0100, 0x0069
.else
.ifdef DEMO_JP
CheckLocalFlagByOffset 0x0100, 0x0069 @ TODO deduplicate
CheckLocalFlagByBank 0x0100, 0x0069 @ TODO deduplicate
.else
CheckLocalFlagByOffset 0x0100, 0x006b
CheckLocalFlagByBank 0x0100, 0x006b
.endif
.endif
.endif
@@ -52,7 +52,7 @@ SCRIPT_START script_08016384
_0807E5F8 0x00000001
_0807E610 0x00000002
SetLocalFlag 0x0067
SetLocalFlagByOffset 0x0100, 0x0001
SetLocalFlagByBank 0x0100, 0x0001
ClearLocalFlag 0x0067
SetGlobalFlag 0x0013
ClearGlobalFlag 0x0013