aboutsummaryrefslogtreecommitdiffstats
path: root/engine/game_corner_slots.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
committerdannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
commit5647ca687b92954dcf37a6ea6bfbc9a341c32de4 (patch)
treedde1937a1bfdb3a835f4155e1c2eb8f1aaf86f63 /engine/game_corner_slots.asm
parentMerge pull request #55 from Deokishisu/patch-1 (diff)
downloadpokeyellow-5647ca687b92954dcf37a6ea6bfbc9a341c32de4.tar.gz
pokeyellow-5647ca687b92954dcf37a6ea6bfbc9a341c32de4.tar.xz
pokeyellow-5647ca687b92954dcf37a6ea6bfbc9a341c32de4.zip
Sync with pokered
Diffstat (limited to 'engine/game_corner_slots.asm')
-rwxr-xr-xengine/game_corner_slots.asm54
1 files changed, 0 insertions, 54 deletions
diff --git a/engine/game_corner_slots.asm b/engine/game_corner_slots.asm
deleted file mode 100755
index 3c5b3a10..00000000
--- a/engine/game_corner_slots.asm
+++ /dev/null
@@ -1,54 +0,0 @@
-StartSlotMachine:
- ld a, [wHiddenObjectFunctionArgument]
- cp $fd
- jr z, .printOutOfOrder
- cp $fe
- jr z, .printOutToLunch
- cp $ff
- jr z, .printSomeonesKeys
- callba AbleToPlaySlotsCheck
- ld a, [wCanPlaySlots]
- and a
- ret z
- ld a, [wLuckySlotHiddenObjectIndex]
- ld b, a
- ld a, [wHiddenObjectIndex]
- inc a
- cp b
- jr z, .match
- ld a, 253
- jr .next
-.match
- ld a, 250
-.next
- ld [wSlotMachineSevenAndBarModeChance], a
- ld a, [H_LOADEDROMBANK]
- ld [wSlotMachineSavedROMBank], a
- call PromptUserToPlaySlots
- ret
-.printOutOfOrder
- tx_pre_id GameCornerOutOfOrderText
- jr .printText
-.printOutToLunch
- tx_pre_id GameCornerOutToLunchText
- jr .printText
-.printSomeonesKeys
- tx_pre_id GameCornerSomeonesKeysText
-.printText
- push af
- call EnableAutoTextBoxDrawing
- pop af
- call PrintPredefTextID
- ret
-
-GameCornerOutOfOrderText:
- TX_FAR _GameCornerOutOfOrderText
- db "@"
-
-GameCornerOutToLunchText:
- TX_FAR _GameCornerOutToLunchText
- db "@"
-
-GameCornerSomeonesKeysText:
- TX_FAR _GameCornerSomeonesKeysText
- db "@"