mirror of https://github.com/zeldaret/tmc.git
36 lines
895 B
PHP
36 lines
895 B
PHP
@ Hyrule Town Emma
|
|
SCRIPT_START script_Emma
|
|
BeginBlock
|
|
_0807E9D4
|
|
DoPostScriptAction 0x000a
|
|
SetAnimationState 0x0000
|
|
EndBlock
|
|
script_0800E832:
|
|
CheckEntityInteractType
|
|
JumpIfNot script_0800E832
|
|
SetPlayerIdle
|
|
SetAnimationState 0x0004
|
|
BeginBlock
|
|
MessageFromTarget TEXT_HAPPY_HEARTH, 0x01
|
|
CallWithArg sub_0807F854, 0x00010032
|
|
CallWithArg sub_0807F854, 0x000200c8
|
|
CallWithArg sub_0807F854, 0x00030190
|
|
EndBlock
|
|
WaitUntilTextboxCloses
|
|
_0807EB38
|
|
JumpTable script_0800E910, script_RentSmallRoom, script_RentRegularRoom, script_0800E872
|
|
script_0800E872: @ Rent large room
|
|
BeginBlock
|
|
MessageFromTarget TEXT_HAPPY_HEARTH, 0x05
|
|
CallWithArg sub_0807F854, 0x00010190
|
|
EndBlock
|
|
WaitUntilTextboxCloses
|
|
HasRupees 400
|
|
JumpIfNot script_EmmaNotEnoughRupees
|
|
ModRupees -400
|
|
SetLocalFlag 0x0091
|
|
MessageFromTarget TEXT_HAPPY_HEARTH, 0x08
|
|
WaitUntilTextboxCloses
|
|
Call sub_0806C578
|
|
SCRIPT_END
|