mirror of https://github.com/zeldaret/tmc.git
16 lines
401 B
PHP
16 lines
401 B
PHP
@ Hyrule Town Inn Emma after renting regular room
|
|
SCRIPT_START script_RentRegularRoom
|
|
BeginBlock
|
|
MessageFromTarget TEXT_HAPPY_HEARTH, 0x04
|
|
CallWithArg sub_0807F854, 0x000100c8
|
|
EndBlock
|
|
WaitUntilTextboxCloses
|
|
HasRupees 200
|
|
JumpIfNot script_EmmaNotEnoughRupees
|
|
ModRupees -200
|
|
SetLocalFlag 0x0091
|
|
MessageFromTarget TEXT_HAPPY_HEARTH, 0x08
|
|
WaitUntilTextboxCloses
|
|
Call sub_0806C588
|
|
SCRIPT_END
|