forked from coderwilson/FFX_TAS_Python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
t_check_rng.py
37 lines (32 loc) · 967 Bytes
/
t_check_rng.py
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
# currently unused file, should be removed if abandoned
import time
import memory.main
import rng_track
memory.main.start()
read_vals = False
"""
print("------------------")
if read_vals:
memory.main.print_manip_info()
else:
print("Here goes nothing!")
print("------------------")
while not memory.main.next_drop_rng_13(1):
memory.main.advance_rng_13()
print("Mark 1")
while memory.main.next_chance_rng_12():
memory.main.advance_rng_12()
print("Mark 2")
while memory.main.next_chance_rng_10():
memory.main.advance_rng_10()
print("------------------")
print("Should now drop NE armor.")
print("------------------")
"""
to_drop = rng_track.item_to_be_dropped(enemy="yunalesca")[0]
while to_drop.equipment_type() == 0:
print("Weapon, advancing.")
memory.main.advance_rng_index(index=12)
to_drop = rng_track.item_to_be_dropped(enemy="yunalesca")[0]
print("Advance complete.")
time.sleep(3)