1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
StartSlotMachine: ; 37e2d (d:7e2d)
ld a, [wTrainerSpriteOffset]
cp $fd
jr z, .printOutOfOrder
cp $fe
jr z, .printOutToLunch
cp $ff
jr z, .printSomeonesKeys
callba AbleToPlaySlotsCheck
ld a, [wTrainerSpriteOffset]
and a
ret z
ld a, [wUnknownSlotVar]
ld b, a
ld a, [wTrainerFacingDirection]
inc a
cp b
jr z, .asm_37e58
ld a, $fd
jr .asm_37e5a
.asm_37e58
ld a, $fa
.asm_37e5a
ld [wcc5b], a
ld a, [H_LOADEDROMBANK]
ld [wcc5e], a
call PromptUserToPlaySlots
ret
.printOutOfOrder
ld a, $28
jr .printText
.printOutToLunch
ld a, $29
jr .printText
.printSomeonesKeys
ld a, $2a
.printText
push af
call EnableAutoTextBoxDrawing
pop af
call PrintPredefTextID
ret
GameCornerOutOfOrderText: ; 37e79 (d:7e79)
TX_FAR _GameCornerOutOfOrderText
db "@"
GameCornerOutToLunchText: ; 37e7e (d:7e7e)
TX_FAR _GameCornerOutToLunchText
db "@"
GameCornerSomeonesKeysText: ; 37e83 (d:7e83)
TX_FAR _GameCornerSomeonesKeysText
db "@"
|