mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-05 21:25:24 -05:00
38 lines
707 B
PHP
38 lines
707 B
PHP
Route1_MapScripts:: @ 8167EFD
|
|
.byte 0
|
|
|
|
Route1_EventScript_167EFE:: @ 8167EFE
|
|
lock
|
|
faceplayer
|
|
checkflag FLAG_0x230
|
|
goto_if_eq EventScript_167F48
|
|
msgbox gUnknown_818329D
|
|
textcolor 3
|
|
checkitemspace ITEM_POTION, 1
|
|
compare_var_to_value VAR_RESULT, 0
|
|
goto_if_eq EventScript_1A6BF9
|
|
getitemname 1, ITEM_POTION
|
|
playfanfare MUS_FANFA1
|
|
message Text_1A51F6
|
|
waitmessage
|
|
waitfanfare
|
|
additem ITEM_POTION, 1
|
|
msgbox gUnknown_8183387
|
|
call EventScript_1A6675
|
|
setflag FLAG_0x230
|
|
release
|
|
end
|
|
|
|
EventScript_167F48:: @ 8167F48
|
|
msgbox gUnknown_8183347
|
|
release
|
|
end
|
|
|
|
Route1_EventScript_167F52:: @ 8167F52
|
|
msgbox gUnknown_81833B9, 2
|
|
end
|
|
|
|
Route1_EventScript_167F5B:: @ 8167F5B
|
|
msgbox gUnknown_818343A, 3
|
|
end
|