Rename scripts

This commit is contained in:
octorock
2021-12-26 23:22:16 +01:00
parent 11bb0e7656
commit 2ccf89a1fb
643 changed files with 8481 additions and 7693 deletions
@@ -0,0 +1,26 @@
@ Outside Castle Carpenter
@ Hyrule Town Carpenter
SCRIPT_START script_CarpenterOutsideTown
BeginBlock
Call sub_08067314
DoPostScriptAction 0x000a
_0807EB44 0x0004
SetIntVariable 0x00000000
Call sub_080672B0
EndBlock
script_08009592:
CheckEntityInteractType
JumpIfNot script_08009592
_0807E864
_0807EB74
SetIntVariable 0x00000004
Call sub_080672B0
Call sub_080672C8
WaitUntilTextboxCloses
Wait 0x000f
_0807E878
_0807EB44 0x0004
SetIntVariable 0x00000000
Call sub_080672B0
Jump script_08009592
.2byte 0x0000
@@ -0,0 +1,20 @@
@ Outside Castle Guard
@ also at Lon Lon Ranch
SCRIPT_START script_GuardNorthHyruleField
BeginBlock
_0807EB44 0x0004
_0807E9D4
DoPostScriptAction 0x000a
CallWithArg sub_0807F3D8, 0x00000000
EndBlock
script_08014E2C:
CheckEntityInteractType
JumpIfNot script_08014E2C
_0807E864
_0807EB74
CallWithArg sub_0807F3D8, 0x00000000
Call sub_08064428
WaitUntilTextboxCloses
_0807E878
Jump script_08014E2C
.2byte 0x0000
@@ -0,0 +1,21 @@
@ Outside Castle Mutoh
SCRIPT_START script_MutohOutsideTown
BeginBlock
Call sub_08067100
DoPostScriptAction 0x000a
_0807EB44 0x0004
DoPostScriptAction 0x0000
EndBlock
script_08009512:
CheckEntityInteractType
JumpIfNot script_08009512
_0807E864
DoPostScriptAction 0x0001
_0807EB74
Call sub_080670B4
WaitUntilTextboxCloses
_0807E878
_0807EB44 0x0004
DoPostScriptAction 0x0000
Jump script_08009512
.2byte 0x0000
@@ -0,0 +1,34 @@
@ Outside Caste OBJECT_69 Fix bridge
SCRIPT_START script_Object69FixBridge
BeginBlock
.ifdef JP
SetLocalFlag 0x008c
.else
.ifdef EU
SetLocalFlag 0x008c
.else
.ifdef DEMO_JP
SetLocalFlag 0x008c @ TODO deduplicate
.else
SetLocalFlag 0x008e
.endif
.endif
.endif
_0807E864
MoveEntityToPlayer
CameraTargetEntity
SetEntitySpeed 0x0200
EndBlock
Wait 0x000f
_0807E8E4_2
Call sub_0807F3F8
Wait 0x001e
_0807EDD4 0x00b8, 0x0258
Wait 0x001e
SetRoomFlag 0x0065
Wait 0x0078
_0807EEB4
CameraTargetPlayer
_0807E878
DoPostScriptAction 0x0006
SCRIPT_END