MCPcopy Create free account

hub / github.com/asottile/nintendo-microcontrollers / functions

Functions408 in github.com/asottile/nintendo-microcontrollers

↓ 490 callersFunctiondo
(*actions: Action)
scripts/engine.py:235
↓ 118 callersFunctionmatch_px
(point: Point, *colors: Color)
scripts/engine.py:142
↓ 113 callersFunctionmatch_text
( text: str, top_left: Point, bottom_right: Point, *, invert: bool, )
scripts/engine.py:219
↓ 64 callersFunctionall_match
(*matchers: Matcher)
scripts/engine.py:130
↓ 47 callersFunctionregion_colorish
( top_left: Point, bottom_right: Point, hsv_low: tuple[int, int, int], hsv_hig
scripts/thrids.py:22
↓ 43 callersFunction_press
(ser: serial.Serial, s: str, duration: float = .05)
scripts/swsh/auto_raid_reset.py:42
↓ 39 callersFunctionmake_vid
()
scripts/engine.py:21
↓ 39 callersFunctionrun
( *, vid: cv2.VideoCapture, ser: serial.Serial, initial: str, states:
scripts/engine.py:305
↓ 38 callersMethodnorm
(self, dims: tuple[int, int, int])
scripts/engine.py:91
↓ 31 callersFunction_press
(ser: serial.Serial, s: str, *, duration: float = .05)
scripts/home/home_release.py:11
↓ 31 callersFunctionget_text
( frame: numpy.ndarray, top_left: Point, bottom_right: Point, *, inver
scripts/engine.py:197
↓ 29 callersFunctiongetframe
(vid: cv2.VideoCapture)
scripts/engine.py:29
↓ 26 callersFunction_press
(ser: serial.Serial, s: str, duration: float = .05)
scripts/swsh/date_cycle.py:13
↓ 20 callersMethodafter
(self, t: float)
scripts/engine.py:268
↓ 19 callersFunction_wait_and_render
(vid: cv2.VideoCapture, t: float)
scripts/swsh/auto_raid_reset.py:80
↓ 18 callersFunctionlook
(*, x: int, y: int)
scripts/arceus/std_cm.py:216
↓ 18 callersFunctionrot
(deg: float)
scripts/arceus/std_cm.py:208
↓ 15 callersFunction_wait_and_render
(vid: cv2.VideoCapture, t: float)
scripts/swsh/sinistea.py:31
↓ 15 callersMethoddetermine
(self, name: str)
scripts/arceus/std_cm.py:146
↓ 12 callersFunctionalarm
(name: str, *, quiet: bool)
scripts/switch.py:81
↓ 10 callersFunction_wait_and_render
(vid: cv2.VideoCapture, t: float)
scripts/swsh/regi_reset.py:31
↓ 9 callersFunction_getframe
(vid: cv2.VideoCapture)
scripts/bdsp/arceus_reset.py:23
↓ 9 callersFunction_press
(ser: serial.Serial, s: str, duration: float = .1)
scripts/swsh/regi_reset.py:15
↓ 9 callersFunction_wait_and_render
(vid: cv2.VideoCapture, t: float)
scripts/bdsp/arceus_reset.py:31
↓ 9 callersFunctionalarm
(name: str)
scripts/thrids.py:64
↓ 8 callersFunction_press
(ser: serial.Serial, s: str, duration: float = .1)
scripts/bdsp/arceus_reset.py:15
↓ 8 callersMethodskip
(self, start: str, end: str)
scripts/swsh/_mrb_date_skip.py:66
↓ 8 callersFunctionvoltage
hw/3ds-touch/main.cpp:36
↓ 7 callersFunction_getframe
(vid: cv2.VideoCapture)
scripts/swsh/sinistea.py:23
↓ 7 callersFunction_press
(ser: serial.Serial, s: str, duration: float = .05)
scripts/swsh/revive_fossils.py:11
↓ 7 callersFunctionany_match
(*matchers: Matcher)
scripts/engine.py:136
↓ 7 callersFunctiondialog_shiny_check
( begin: str, end: str, alarm: str, *, cutoff: float = 1., )
scripts/swsh/_dialog_shiny_check.py:26
↓ 6 callersFunction_rects
( hsv: numpy.ndarray, low: tuple[int, int, int], high: tuple[int, int, int], )
scripts/arceus/std_cm.py:113
↓ 6 callersFunction_save
(name: str, frame: numpy.ndarray, *, success: bool)
scripts/arceus/std_cm.py:75
↓ 6 callersFunctionbootup
(begin: str, end: str)
scripts/swsh/_bootup.py:23
↓ 6 callersFunctionstars
(n: int)
scripts/swsh/mrb_reset.py:52
↓ 6 callersFunctiontessapi_int
()
scripts/engine.py:170
↓ 5 callersFunction_best
( crop: numpy.ndarray, candidates: list[tuple[str, numpy.ndarray]], )
scripts/sv/_raid.py:172
↓ 5 callersFunction_getframe
(vid: cv2.VideoCapture)
scripts/swsh/regi_reset.py:23
↓ 5 callersFunction_state
(tl: Point, br: Point, n: int, s: str, e: str)
scripts/switch.py:110
↓ 5 callersFunctionbootup
(start: str, success: str, fail: str)
scripts/sv/_bootup.py:17
↓ 5 callersFunctionclock
(dt: datetime.datetime, name: str, end: str)
scripts/switch.py:109
↓ 5 callersFunctionorient
(direction: str)
scripts/arceus/wormadam_sand.py:36
↓ 4 callersFunction_await_pixel
( ser: serial.Serial, vid: cv2.VideoCapture, *, x: int, y: int,
scripts/swsh/regi_reset.py:45
↓ 4 callersFunction_imgs
(d: str)
scripts/sv/_raid.py:118
↓ 4 callersFunctionattack_position
(frame: numpy.ndarray)
scripts/sv/_raid.py:238
↓ 4 callersFunctionavg
(p1: tuple[int, int], p2: tuple[int, int])
scripts/arceus/std.py:111
↓ 4 callersMethoddenorm
(self, dims: tuple[int, int, int])
scripts/engine.py:97
↓ 4 callersFunctionget_int
( frame: numpy.ndarray, tl: Point, br: Point, *, invert: bool,
scripts/swsh/da.py:50
↓ 4 callersFunctionmove_box
(start: str, end: str, direction: str)
scripts/sv/_move_box.py:15
↓ 4 callersFunctionorient
(direction: str)
scripts/arceus/wormadam_trash.py:38
↓ 4 callersFunctionpress
(s: str, t: float)
scripts/b2w2/shaky_touch.py:32
↓ 4 callersFunctionto_boxes
(start: str, end: str)
scripts/sv/_to_boxes.py:15
↓ 4 callersFunctionvoltage
hw/joycon/main.cpp:28
↓ 3 callersFunction_alarm
(ser: serial.Serial, vid: cv2.VideoCapture)
scripts/swsh/sinistea.py:37
↓ 3 callersFunction_alarm
(ser: serial.Serial, vid: cv2.VideoCapture)
scripts/swsh/regi_reset.py:37
↓ 3 callersFunction_alarm
(ser: serial.Serial, vid: cv2.VideoCapture)
scripts/bdsp/arceus_reset.py:37
↓ 3 callersFunction_await_not_pixel
( ser: serial.Serial, vid: cv2.VideoCapture, *, x: int, y: int,
scripts/swsh/regi_reset.py:62
↓ 3 callersFunction_await_pixel
( ser: serial.Serial, vid: cv2.VideoCapture, *, x: int, y: int,
scripts/bdsp/arceus_reset.py:45
↓ 3 callersFunction_color_near
(pixel: numpy.ndarray, expected: tuple[int, int, int])
scripts/bdsp/arceus_reset.py:79
↓ 3 callersFunction_getframe
(vid: cv2.VideoCapture)
scripts/swsh/auto_raid_reset.py:26
↓ 3 callersFunction_info
()
scripts/swsh/da.py:164
↓ 3 callersFunction_poke_like
(tops: list[Rect], bottoms: list[Rect])
scripts/arceus/std_cm.py:133
↓ 3 callersFunctionbattle
(start: str, end: str)
scripts/arceus/wormadam_sand.py:42
↓ 3 callersFunctionbattle
(start: str, after_battle: str, end: str)
scripts/arceus/wormadam_trash.py:44
↓ 3 callersMethodequals
(self, n: int)
scripts/engine.py:292
↓ 3 callersFunctionget_text_rotated
( frame: numpy.ndarray, tl: Point, br: Point, *, invert: bool, )
scripts/thrids.py:45
↓ 3 callersFunctionraid_type
(frame: numpy.ndarray)
scripts/sv/_raid.py:150
↓ 3 callersFunctionrequested
(n: int)
scripts/swsh/mrb_reset.py:57
↓ 3 callersFunctionsave
(name: str, frame: numpy.ndarray)
scripts/sv/dolliv_sandwich.py:67
↓ 3 callersFunctionstick
( s: Literal['<', '>'], *, x: int, y: int, duration: float = .1, )
scripts/switch.py:66
↓ 3 callersFunctiontap
(s: str)
scripts/hgss/re.py:43
↓ 2 callersFunction_await_pixel
( ser: serial.Serial, vid: cv2.VideoCapture, *, x: int, y: int,
scripts/swsh/sinistea.py:61
↓ 2 callersFunction_bootup
(start: str, end: str)
scripts/rs/jirachi.py:27
↓ 2 callersFunction_extract_type
( im: numpy.ndarray, dims: tuple[int, int, int], )
scripts/sv/_raid.py:128
↓ 2 callersFunction_is_clean
()
scripts/sv/reset_outbreaks.py:37
↓ 2 callersFunction_open_date_panel
(ser: serial.Serial)
scripts/swsh/auto_raid_reset.py:50
↓ 2 callersFunction_poke_mask
(crop: numpy.ndarray)
scripts/sv/_raid.py:193
↓ 2 callersFunction_press
(ser: serial.Serial, s: str, duration: float = .05)
scripts/swsh/sinistea.py:15
↓ 2 callersFunction_release
()
scripts/sv/release.py:32
↓ 2 callersFunction_return_to_game_from_date_panel
(ser: serial.Serial)
scripts/swsh/auto_raid_reset.py:73
↓ 2 callersFunction_sprites
(size: tuple[int, int])
scripts/sv/_raid.py:155
↓ 2 callersFunctiona_for
(n: float)
scripts/b2w2/shaky_touch.py:57
↓ 2 callersFunctionarceus_flying
(turn: int)
scripts/sv/raid_specific.py:47
↓ 2 callersFunctionbootup
(start: str, end: str)
scripts/colosseum/_bootup.py:12
↓ 2 callersFunctioncapture
(name: str)
scripts/arceus/std_cm.py:84
↓ 2 callersFunctioncrop
(frame: numpy.ndarray)
scripts/b2w2/shaky.py:48
↓ 2 callersFunctioncrop
(frame: numpy.ndarray)
scripts/b2w2/shaky_touch.py:74
↓ 2 callersFunctionget_type
(tl: Point, br: Point)
scripts/swsh/da.py:332
↓ 2 callersFunctiongetframe
()
scripts/debug_screen.py:20
↓ 2 callersFunctionis_shiny
(frame: object)
scripts/xy/fish.py:60
↓ 2 callersFunctionis_shiny
(frame: object)
scripts/xy/re.py:88
↓ 2 callersFunctionmatch_px_exact
(px: Point, c: Color)
scripts/engine.py:153
↓ 2 callersFunctionnear_color
(pixel: numpy.ndarray, expected: tuple[int, int, int])
scripts/swsh/auto_raid_reset.py:34
↓ 2 callersFunctionpress
(s: str, t: float)
scripts/b2w2/shaky.py:31
↓ 2 callersFunctionpress
(s: str)
scripts/za/zone20.py:33
↓ 2 callersFunctionreq
(url: str)
scripts/sv/_download_sprites.py:67
↓ 2 callersFunctionserial_read_blocking
hw/switch/main.cpp:286
↓ 2 callersFunctiont
()
serial_debug.py:14
↓ 2 callersFunctiontess_text_u8
( img: numpy.ndarray, *, tessapi: tesserocr.PyTessBaseAPI | None = None, )
scripts/engine.py:180
next →1–100 of 408, ranked by callers