mirror of https://github.com/zeldaret/tmc.git
16 lines
395 B
PHP
16 lines
395 B
PHP
@ Hyrule Town Inn Emma after renting small room
|
|
SCRIPT_START script_RentSmallRoom
|
|
BeginBlock
|
|
MessageFromTarget TEXT_HAPPY_HEARTH, 0x03
|
|
CallWithArg sub_0807F854, 0x00010032
|
|
EndBlock
|
|
WaitUntilTextboxCloses
|
|
HasRupees 50
|
|
JumpIfNot script_EmmaNotEnoughRupees
|
|
ModRupees -50
|
|
SetLocalFlag 0x0091
|
|
MessageFromTarget TEXT_HAPPY_HEARTH, 0x08
|
|
WaitUntilTextboxCloses
|
|
Call sub_0806C598
|
|
SCRIPT_END
|