Local labels starting with capital letters are now decorated with a trailing colon; remove trailing whitespace; globally correct line endings to UNIX style
This commit is contained in:
@@ -26,7 +26,7 @@ YoungsterScript_0x7117d:
|
||||
CeladonVendingMachine:
|
||||
opentext
|
||||
writetext CeladonVendingText
|
||||
.Start
|
||||
.Start:
|
||||
special PlaceMoneyTopRight
|
||||
loadmenudata .MenuData
|
||||
verticalmenu
|
||||
@@ -37,7 +37,7 @@ CeladonVendingMachine:
|
||||
closetext
|
||||
end
|
||||
|
||||
.FreshWater
|
||||
.FreshWater:
|
||||
checkmoney $0, 200
|
||||
if_equal $2, .NotEnoughMoney
|
||||
giveitem FRESH_WATER
|
||||
@@ -46,7 +46,7 @@ CeladonVendingMachine:
|
||||
itemtotext FRESH_WATER, $0
|
||||
jump .VendItem
|
||||
|
||||
.SodaPop
|
||||
.SodaPop:
|
||||
checkmoney $0, 300
|
||||
if_equal $2, .NotEnoughMoney
|
||||
giveitem SODA_POP
|
||||
@@ -55,7 +55,7 @@ CeladonVendingMachine:
|
||||
itemtotext SODA_POP, $0
|
||||
jump .VendItem
|
||||
|
||||
.Lemonade
|
||||
.Lemonade:
|
||||
checkmoney $0, 350
|
||||
if_equal $2, .NotEnoughMoney
|
||||
giveitem LEMONADE
|
||||
@@ -64,7 +64,7 @@ CeladonVendingMachine:
|
||||
itemtotext LEMONADE, $0
|
||||
jump .VendItem
|
||||
|
||||
.VendItem
|
||||
.VendItem:
|
||||
pause 10
|
||||
playsound SFX_ENTER_DOOR
|
||||
writetext CeladonClangText
|
||||
@@ -72,24 +72,24 @@ CeladonVendingMachine:
|
||||
itemnotify
|
||||
jump .Start
|
||||
|
||||
.NotEnoughMoney
|
||||
.NotEnoughMoney:
|
||||
writetext CeladonVendingNoMoneyText
|
||||
waitbutton
|
||||
jump .Start
|
||||
|
||||
.NotEnoughSpace
|
||||
.NotEnoughSpace:
|
||||
writetext CeladonVendingNoSpaceText
|
||||
waitbutton
|
||||
jump .Start
|
||||
|
||||
.MenuData
|
||||
.MenuData:
|
||||
db $40 ; flags
|
||||
db 02, 00 ; start coords
|
||||
db 11, 19 ; end coords
|
||||
dw .MenuData2
|
||||
db 1 ; default option
|
||||
|
||||
.MenuData2
|
||||
.MenuData2:
|
||||
db $80 ; flags
|
||||
db 4 ; items
|
||||
db "FRESH WATER ¥200@"
|
||||
|
Reference in New Issue
Block a user