More constants and documentation in slot machines

This commit is contained in:
xCrystal 2017-12-28 19:38:15 +01:00
parent 731311cb15
commit d6507e3882
4 changed files with 287 additions and 165 deletions

View File

@ -6371,13 +6371,13 @@ LoadEnemyMon: ; 3e8eb
jr c, .GenerateDVs ; try again jr c, .GenerateDVs ; try again
.Magikarp: .Magikarp:
; These filters are untranslated ; These filters are untranslated.
; They expect at wMagikarpLength a 2-byte value in mm, ; They expect at wMagikarpLength a 2-byte value in mm,
; but the value is at ft and in (one byte each) ; but the value is in feet and inches (one byte each).
; The first filter is supposed to make very large Magikarp even rarer, ; The first filter is supposed to make very large Magikarp even rarer,
; by targeting those 1600 mm or larger. ; by targeting those 1600 mm or larger.
; After the conversion to feet, they are unable to target any, ; After the conversion to feet, it is unable to target any,
; as the largest possible Magikarp is 5'3'', which reads as 1283. ; as the largest possible Magikarp is 5'3'', which reads as 1283.
ld a, [TempEnemyMonSpecies] ld a, [TempEnemyMonSpecies]
cp MAGIKARP cp MAGIKARP

File diff suppressed because it is too large Load Diff

View File

@ -275,13 +275,13 @@ slot_reel: MACRO
\1SpinRate:: db \1SpinRate:: db
\1OAMAddr:: dw \1OAMAddr:: dw
\1XCoord:: db \1XCoord:: db
\1Slot09:: ds 1 \1ManipCounter:: db
\1Slot0a:: ds 1 \1ManipDelay:: db
\1Slot0b:: ds 1 \1Slot0b:: ds 1
\1Slot0c:: ds 1 \1Slot0c:: ds 1
\1Slot0d:: ds 1 \1Slot0d:: ds 1
\1Slot0e:: ds 1 \1Slot0e:: ds 1
\1Slot0f:: ds 1 \1StopDelay:: db
endm endm
object_struct: MACRO object_struct: MACRO

View File

@ -1320,6 +1320,7 @@ NEXTU ; cf64
; miscellaneous ; miscellaneous
wNrOfBeatenBattleTowerTrainers:: wNrOfBeatenBattleTowerTrainers::
wMomBankDigitCursorPosition:: wMomBankDigitCursorPosition::
wSlotsDelay::
db db
wCurrPocket:: wCurrPocket::
wPrinterQueueLength:: wPrinterQueueLength::
@ -1637,6 +1638,9 @@ StartFlypoint:: db
EndFlypoint:: db EndFlypoint:: db
NEXTU ; d002 NEXTU ; d002
wKeepSevenBiasChance::
; used in the slots to handle the favoring of 7 symbol streaks
; unidentified ; unidentified
wd002:: db wd002:: db
wd003:: db wd003:: db